From c269e1de9839fd56ef91c29acff65eccc76d7653 Mon Sep 17 00:00:00 2001 From: Ahsan Habib Date: Tue, 7 Jan 2025 08:41:05 +0600 Subject: [PATCH] reset esc key for neovim terminal and reconfigure foot --- .config/foot/foot.ini | 23 ++++++++++++---------- .config/nvim/lua/grimmvim/core/keymaps.lua | 1 + 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/.config/foot/foot.ini b/.config/foot/foot.ini index 639c5ca..d4eca8e 100644 --- a/.config/foot/foot.ini +++ b/.config/foot/foot.ini @@ -1,5 +1,18 @@ term=xterm-256color +[main] +font=JetBrainsMono Nerd Font Mono:size=15.5:weight=medium +font-bold=JetBrainsMono Nerd Font Mono:size=15.5:weight=extrabold +font-italic=JetBrainsMono Nerd Font Mono:size=15.5:slant:italic +font-bold-italic=JetBrainsMono Nerd Font Mono:size=15.5:weight=extrabold:slant:italic +letter-spacing=0px +horizontal-letter-offset=0 +vertical-letter-offset=0 +pad=2x2 center + +[cursor] +color=222222 a89984 + [colors] background=222222 foreground=fff4d2 @@ -22,16 +35,6 @@ bright5=d3869b bright6=8ec07c bright7=fff4d2 -[main] -font=JetBrainsMono Nerd Font Mono:size=15.5:weight=medium -font-bold=JetBrainsMono Nerd Font Mono:size=15.5:weight=extrabold -font-italic=JetBrainsMono Nerd Font Mono:size=15.5:slant:italic -font-bold-italic=JetBrainsMono Nerd Font Mono:size=15.5:weight=extrabold:slant:italic -letter-spacing=0px -horizontal-letter-offset=0 -vertical-letter-offset=0 -pad=2x2 - [scrollback] lines=20000 indicator-position=none diff --git a/.config/nvim/lua/grimmvim/core/keymaps.lua b/.config/nvim/lua/grimmvim/core/keymaps.lua index 96139d1..1d98d21 100644 --- a/.config/nvim/lua/grimmvim/core/keymaps.lua +++ b/.config/nvim/lua/grimmvim/core/keymaps.lua @@ -38,6 +38,7 @@ map("v", "K", ":m '<-2gv=gv", { desc = "Up In Visual", noremap = true, silen -- remapping escape key map({ "i", "v" }, "kj", "", { desc = "Escape", noremap = true, silent = true }) +map("t", "", "", { desc = "Escape Term Mode", noremap = true, silent = true }) -- Indenting map("v", "<", "