diff --git a/lua/mappings.lua b/lua/mappings.lua index f9a093b..23a8df7 100644 --- a/lua/mappings.lua +++ b/lua/mappings.lua @@ -63,7 +63,7 @@ keymap({ 'n', 'v' }, '', ':set hlsearch!', { 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' }) +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 }) +keymap('v', '<', '