iago-lito / vim-visualMarks

mark and retrieve selections in Vim
GNU General Public License v2.0
20 stars 6 forks source link

Default mappings overwrite the builtin < keybinding #13

Closed cvtsi2sd closed 7 years ago

cvtsi2sd commented 7 years ago

The < binding is already taken in normal mode in Vim for de-indenting stuff, which I guess is quite used around; in particular, it's really annoying that << is broken.

Currently, the only way to restore the default behavior seems to do an numap < after the plugin loaded (and then nmap to map it to something else); IMHO it would be nicer to provide some parameter to set the default binding.

cvtsi2sd commented 7 years ago

Sorry, my bad, I didn't see that you check if there's already a mapping to <Plug>VisualMarksGetVisualMark before adding it.