diff options
author | David Luevano Alvarado <david@luevano.xyz> | 2023-12-26 21:27:07 -0600 |
---|---|---|
committer | David Luevano Alvarado <david@luevano.xyz> | 2023-12-26 21:27:07 -0600 |
commit | 6be7eadac14b7366b45cc9cec4d322e9205477f7 (patch) | |
tree | 5c2f93947bb711de6bdc8e8092bf3e3ddbf0fcdd /lua/config | |
parent | 5003540c1ebfa04c784d619fb25dcdc80bfaa3c6 (diff) |
fix: <CMD> needs <CR>, use : instead
Diffstat (limited to 'lua/config')
-rw-r--r-- | lua/config/keymap.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lua/config/keymap.lua b/lua/config/keymap.lua index 81b4498..cc771fd 100644 --- a/lua/config/keymap.lua +++ b/lua/config/keymap.lua @@ -23,7 +23,8 @@ vim.keymap.set('n', '<C-right>', '<CMD>vertical resize +5<CR>', { desc = 'Split: -- Tab navigation vim.keymap.set('n', '<leader>tn', '<CMD>tabnew<CR>', { desc = '[T]ab: [n]ew' }) -vim.keymap.set('n', '<leader>te', '<CMD>tabedit<Space>', { desc = '[T]ab: [e]dit'}) +-- TODO: need to decide how to handle <CMD> vs : +vim.keymap.set('n', '<leader>te', ':tabedit<Space>', { desc = '[T]ab: [e]dit'}) vim.keymap.set('n', '<leader>td', '<CMD>tabclose<CR>', { desc = '[T]ab: [d]elete'}) vim.keymap.set('n', '<leader>tl', '<CMD>tabnext<CR>', { desc = 'Tab: next'}) vim.keymap.set('n', '<leader>th', '<CMD>tabprev<CR>', { desc = 'Tab: prev'}) |