diff --git a/.config/vim/vimrc.d/40-keys.vim b/.config/vim/vimrc.d/40-keys.vim index d472753..a28fddb 100644 --- a/.config/vim/vimrc.d/40-keys.vim +++ b/.config/vim/vimrc.d/40-keys.vim @@ -386,6 +386,12 @@ endfunction vmap j call ExpandVisualSelection(1) vmap k call ExpandVisualSelection(-1) +" TODO: Also map h and l that expand the visual selection over a range of lines +" as far as all the lines are identical +" +" In the above example with a visual block selection including only the +" dashes: l would now expand the selection to also include the +" `TODO: ` after (or more if `...` continues to be the same on all lines) let g:macro_type_mappings = { \ '': '_',