feat(mappings): visual mapping for >/<
- Inspired by https://github.com/Nuclear-Squid/dotFiles/blob/master/nvim/init.lua#L169-L170
This commit is contained in:
parent
c15198b661
commit
86a58e267e
@ -64,3 +64,6 @@ keymap({ 'n', 'v' }, '<C-l>', ':set hlsearch!<CR>', { silent = true, noremap = t
|
||||
-- [[ Some standard behaviour changes ]]
|
||||
-- Y is mapped to y$, remap to yg_
|
||||
keymap('n', 'Y', 'yg_', {noremap = true, silent = true, desc = '[Y]ank the line' })
|
||||
-- {>,<} preserve the selection
|
||||
keymap('v', '>', '>gv', {noremap = true, silent = true})
|
||||
keymap('v', '<', '>gv', {noremap = true, silent = true})
|
||||
|
Loading…
x
Reference in New Issue
Block a user