vim fugitive - Map Vim shortcut for Diffget -
I am shortcut mapping: diffget // 2 and: diffget // 3 and: GEORITE! So far on Mac, I have to merge easy:
Maps & lt; D-2 & gt; : Diffget // 2 & lt; CR & gt; Maps & lt; D-3 & gt; : Diffget // 3 & lt; CR & gt; Map & lt; D-0 & gt; : Gwrite & LT; CR & gt; But unfortunately, they do not work. Any ideas?
The definition of your mapping looks fine (you like : noremap However, as is normal, remapping of the right hand is not necessary, and can cause problems.) In particular the console wim, all key combinations can not be used Some key combinations, such as Ctrl + non-alphabet can not be mapped, and Ctrl + letters vs. The Ctrl + shift + letter can not be separated. (Sorry, I do not know much about Mac.) This is a known pain point, and vim_dev and #vim are the topics of various discussions on the IRC channel. Or in command line mode, try typing the key combination if nothing happens / is inserted, then you can not use that key combination.
Comments
Post a Comment