-
Notifications
You must be signed in to change notification settings - Fork 108
DifferencesFromPureVim
t9md edited this page Apr 9, 2017
·
8 revisions
Paste following setting to your config.cson.
See flight-manual for how to open your config.cson.
"vim-mode-plus":
keymapUnderscoreToReplaceWithRegister: false
keymapCCToChangeSmartWord: false
keymapSemicolonToInnerAnyPairInOperatorPendingMode: false
keymapSemicolonToInnerAnyPairInVisualMode: false
useClipboardAsDefaultRegister: false
updateRegisterOnChangeOrSubstitute: true
clearMultipleCursorsOnEscapeInsertMode: true
stayOnTransformString: false
stayOnDelete: false
stayOnYank: false
keepColumnOnSelectTextObject: false
moveToFirstCharacterOnVerticalMotion: true
incrementalSearch: false
highlightSearch: false- In vim
startoflineistrueby default.- When
true, move cursor to start of first character for specific commands. - When
false, try to keep same column for specific commands.
- When
The affected commands
- vim:
startoflineaffects following commands-
ctrl-d,ctrl-u,ctrl-b,ctrl-f,G,H,M,L,gg,d,<<,>>
-
- vmp:
moveToFirstCharacterOnVerticalMotionaffect motion command only.-
ctrl-d,ctrl-u,ctrl-b,ctrl-f,G,H,M,L,gg - So how to set for
d,<<,>>?- For
d:stayOnDeleteconfig is available, settingfalseis equal tostartofline=true. - For
<<,>>:stayOnTransformStringconfig is available, settingfalseis equal tostartofline=true.
- For
-
This command increment number within the selected text with count(default 1) step.
- vmp: do not increment first number.
- vim: increment first number.
So in the following text
1 1 1 1
- vmp:
V g ctrl-amake text to1 2 3 4 - vim:
V g ctrl-amake text to2 3 4 5
This difference is intentional breaking change.