diff options
author | Luca Matei Pintilie <luca@lucamatei.com> | 2023-06-06 16:17:22 +0000 |
---|---|---|
committer | Luca Matei Pintilie <luca@lucamatei.com> | 2023-06-06 16:17:22 +0000 |
commit | f770e0b87df633d48581d464dd88af4c0b3e8eb6 (patch) | |
tree | 84c73a2a392f7727e93d4a1e264ad92ef787bd58 /.config | |
parent | 12975650821cdab4ad30f9eb9ee4fe9704baa8cd (diff) | |
download | dotfiles-f770e0b87df633d48581d464dd88af4c0b3e8eb6.tar dotfiles-f770e0b87df633d48581d464dd88af4c0b3e8eb6.tar.gz dotfiles-f770e0b87df633d48581d464dd88af4c0b3e8eb6.tar.bz2 dotfiles-f770e0b87df633d48581d464dd88af4c0b3e8eb6.tar.lz dotfiles-f770e0b87df633d48581d464dd88af4c0b3e8eb6.tar.xz dotfiles-f770e0b87df633d48581d464dd88af4c0b3e8eb6.tar.zst dotfiles-f770e0b87df633d48581d464dd88af4c0b3e8eb6.zip |
Neovim: add escape keybind for terminal
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/keybinds.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/lua/keybinds.lua b/.config/nvim/lua/keybinds.lua index f4040c2..5d94697 100644 --- a/.config/nvim/lua/keybinds.lua +++ b/.config/nvim/lua/keybinds.lua @@ -42,6 +42,7 @@ vim.keymap.set({ "n"; "o"; "x" }, "W", function() spider.motion("w") end) vim.keymap.set({ "n"; "o"; "x" }, "E", function() spider.motion("e") end) vim.keymap.set({ "n"; "o"; "x" }, "B", function() spider.motion("b") end) vim.keymap.set({ "n"; "o"; "x" }, "gE", function() spider.motion("ge") end) +vim.keymap.set({ "t" }, "<ESC>", "<C-\\><C-n>") vim.opt.whichwrap = "<,>,h,l,[,]" |