add mapping for tabs

This commit is contained in:
juan 2022-05-09 11:23:42 +08:00
parent 455eae1522
commit 931400b709
Signed by: juan
GPG Key ID: 5C1E5093C74F1DC7

View File

@ -15,6 +15,7 @@ vim.api.nvim_set_keymap('', '<A-K>', '<C-w>K', {})
vim.api.nvim_set_keymap('', '<A-L>', '<C-w>L', {}) vim.api.nvim_set_keymap('', '<A-L>', '<C-w>L', {})
vim.api.nvim_set_keymap('', '<A->>', '<C-w>>', {}) vim.api.nvim_set_keymap('', '<A->>', '<C-w>>', {})
vim.api.nvim_set_keymap('', '<A-<>', '<C-w><', {}) vim.api.nvim_set_keymap('', '<A-<>', '<C-w><', {})
vim.api.nvim_set_keymap('', '<A-T>', '<C-w>T', {})
-- undo to the last , . or ! -- undo to the last , . or !
vim.api.nvim_set_keymap('i', ',', ',<c-g>u', {noremap = true}) vim.api.nvim_set_keymap('i', ',', ',<c-g>u', {noremap = true})
vim.api.nvim_set_keymap('i', '.', '.<c-g>u', {noremap = true}) vim.api.nvim_set_keymap('i', '.', '.<c-g>u', {noremap = true})