Skip to content

Commit

Permalink
reset esc key for neovim terminal and reconfigure foot
Browse files Browse the repository at this point in the history
  • Loading branch information
bibjaw99 committed Jan 7, 2025
1 parent 9481d31 commit c269e1d
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .config/foot/foot.ini
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
1 change: 1 addition & 0 deletions .config/nvim/lua/grimmvim/core/keymaps.lua
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ map("v", "K", ":m '<-2<CR>gv=gv", { desc = "Up In Visual", noremap = true, silen

-- remapping escape key
map({ "i", "v" }, "kj", "<Esc>", { desc = "Escape", noremap = true, silent = true })
map("t", "<Esc><Esc>", "<C-\\><C-N>", { desc = "Escape Term Mode", noremap = true, silent = true })

-- Indenting
map("v", "<", "<gv", { desc = "Indent >", noremap = true, silent = false })
Expand Down

0 comments on commit c269e1d

Please sign in to comment.