vim-pandoc / vim-pandoc-legacy

[UNSUPPORTED/use vim-pandoc/vim-pandoc] vim bundle for pandoc users
143 stars 23 forks source link

Disable remapping of j,k,etc. #77

Closed michamos closed 11 years ago

michamos commented 11 years ago

When using the default softwrapping mode, vim-pandoc remaps j,k & some other keys to gj, gk, etc. in order for the motions to use the displayed lines instead of the physical lines. This makes motion less surprising and I have similar mappings in my vimrc.

However, I do not believe that this kind of mapping should be defined in a plugin:

Hence, I suggest to remove these mappings, and instead document that such mappings can be very useful. If you insist on having those mappings by default, could you at least add a global variable to disable them easily?

bgw commented 11 years ago

+1. This doesn't make much sense to have in the plugin.

dsanson commented 11 years ago

Agreed! This is a hangover from when I first threw this plugin together, and was a complete vim noob.