feat(vim bindings): Add shortcuts for pane management and Lazy.nvim
This commit is contained in:
parent
f02cdb1f1e
commit
034bda98d2
@ -14,6 +14,11 @@ map('', '<leader>j', ':wincmd j<CR>')
|
||||
map('', '<leader>k', ':wincmd k<CR>')
|
||||
map('', '<leader>l', ':wincmd l<CR>')
|
||||
|
||||
-- Create splits and tabs
|
||||
map('', '<leader>v', ':vsp<CR>')
|
||||
map('', '<leader>b', ':sp<CR>')
|
||||
map('', '<leader>W', ':tabnew<CR>')
|
||||
|
||||
-- Move to tab using lead key plus number
|
||||
map('', '<leader>1', '1gt')
|
||||
map('', '<leader>2', '2gt')
|
||||
@ -46,4 +51,7 @@ vim.keymap.set('', '<leader>w', function()
|
||||
end)
|
||||
|
||||
-- Format markdown tables
|
||||
map('', '<leader>t', ":TableFormat")
|
||||
map('', '<leader>t', ":TableFormat<CR>")
|
||||
|
||||
-- Open lazy.nvim menu
|
||||
map('', '<leader>lh', ":Lazy home<CR>")
|
||||
|
Loading…
Reference in New Issue
Block a user