summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/binds.lua
diff options
context:
space:
mode:
authorAdam <56338480+adastx@users.noreply.github.com>2021-10-10 10:12:13 +0200
committerAdam <56338480+adastx@users.noreply.github.com>2021-10-10 10:12:13 +0200
commit0800a24c80f6dc1e3a3891e8796df2321a204493 (patch)
treec0998e793ac8c7e793a22adc7dcd8434ea814831 /.config/nvim/lua/binds.lua
parent569aa10545fe98314c486a4606d75cb96ceecb8f (diff)
vim added terminal exit binding
Diffstat (limited to '.config/nvim/lua/binds.lua')
-rw-r--r--.config/nvim/lua/binds.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/.config/nvim/lua/binds.lua b/.config/nvim/lua/binds.lua
index 8d43c03..181391e 100644
--- a/.config/nvim/lua/binds.lua
+++ b/.config/nvim/lua/binds.lua
@@ -9,6 +9,7 @@ map('n', '<C-L>', ':nohl<CR><C-L>', opts)
map('n', 'n', 'nzzzv', opts)
map('n', 'N', 'Nzzzv', opts)
map('i', 'kj', '<Esc>', opts)
+map('t', 'kj', '<C-\\><C-n>', { noremap = true })
map('i', ',', ',<c-g>u', opts)
map('i', '.', '.<c-g>u', opts)