nvim: keymap to move to begin/end of line in command line mode
This commit is contained in:
parent
93770849ce
commit
eedb9b8e2e
1 changed files with 3 additions and 1 deletions
|
@ -48,9 +48,11 @@ map('v', '<c-a-k>', [[:move '<-2<cr>gv=gv]], { silent = true })
|
|||
map('i', '<c-a-j>', [[<esc>:move .+1<cr>==gi]], { silent = true })
|
||||
map('i', '<c-a-k>', [[<esc>:move .-2<cr>==gi]], { silent = true })
|
||||
|
||||
-- move to begin/end of line in insert mode
|
||||
-- move to begin/end of line in insert & command line mode
|
||||
map('i', '<c-a>', '<c-o>^')
|
||||
map('i', '<c-e>', '<c-o>$')
|
||||
map('c', '<c-a>', '<Home>')
|
||||
map('c', '<c-e>', '<End>')
|
||||
|
||||
-- navigate items in quickfix list
|
||||
map('n', '<leader>j', '<cmd>cnext<cr>',{ silent = true })
|
||||
|
|
Loading…
Add table
Reference in a new issue