Revert "nvim: keymap to move to begin/end of line in command line mode"
This reverts commit eedb9b8e2e
.
I hadn't noticed that <c-e> works by default already in command mode and
<c-b> moves the cursor to the beginning of the line. I'll use the
default key bindings.
This commit is contained in:
parent
eedb9b8e2e
commit
88fe23f878
1 changed files with 1 additions and 3 deletions
|
@ -48,11 +48,9 @@ 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-j>', [[<esc>:move .+1<cr>==gi]], { silent = true })
|
||||||
map('i', '<c-a-k>', [[<esc>:move .-2<cr>==gi]], { silent = true })
|
map('i', '<c-a-k>', [[<esc>:move .-2<cr>==gi]], { silent = true })
|
||||||
|
|
||||||
-- move to begin/end of line in insert & command line mode
|
-- move to begin/end of line in insert mode
|
||||||
map('i', '<c-a>', '<c-o>^')
|
map('i', '<c-a>', '<c-o>^')
|
||||||
map('i', '<c-e>', '<c-o>$')
|
map('i', '<c-e>', '<c-o>$')
|
||||||
map('c', '<c-a>', '<Home>')
|
|
||||||
map('c', '<c-e>', '<End>')
|
|
||||||
|
|
||||||
-- navigate items in quickfix list
|
-- navigate items in quickfix list
|
||||||
map('n', '<leader>j', '<cmd>cnext<cr>',{ silent = true })
|
map('n', '<leader>j', '<cmd>cnext<cr>',{ silent = true })
|
||||||
|
|
Loading…
Add table
Reference in a new issue