vim-mode improved.
insert-mode
.(want set imdisable
equivalent in pure-Vim).Install using Atoms package installer
apm install vim-mode-plus
These features are very powerful, especially for the power user. Read the following documents to learn how to use them.
My work is greatly owing to former achievements of the original vim-mode developers and many of its contributors.
As you can see in the commit history, this project was originally started by forking official vim-mode.
The great design to achieve Vim operation by composing operator with target (motion, text-object) on top of operationStack still lives in vim-mode-plus now.
I don't think I can find this idea by myself from nothing.
Sincerely, I feel I couldn't do anything without the original vim-mode.
Fork of vim-mode. Started on 2015.8.1.
incrementalSearch
setting (disabled by default).y
, gU
) by stayOnYank
, stayOnOperate
setting. (disabled by default)move-up-to-edge
, move-down-to-edge
. (Mapped to [
and ]
, Aggressive decision.)change-surround-any-pair
operator, inner-any-pair
text-object) to detect pair automatically.setCursorToStartOfChangeOnUndoRedo
(enabled by default. Atom's default is end of change).yank-pending
, delete-pending
. #215Search Q&A label on issues.
Some behaviors are intentionally have different default behaviors. See DifferencesFromPureVim for details.
Not freezing, it's just VERY slow.
You can workaround by disabling some keymap. See #214.
Set suppressActivationForEditorClasses
autocomplete-plus's config to following value.
vim-mode-plus.normal-mode, vim-mode-plus.visual-mode, vim-mode-plus.operator-pending-mode, vim-mode-plus.insert-mode.replace
If you want to directly edit config.cson
, here it is.
"autocomplete-plus":
suppressActivationForEditorClasses: [
"vim-mode-plus.normal-mode"
"vim-mode-plus.visual-mode"
"vim-mode-plus.operator-pending-mode"
"vim-mode-plus.insert-mode.replace"
]
This is because of the syntax-theme you are using. See this tips on Wiki.
No default keymaps are provided. If you want, install vim-mode-plus-keymaps-for-surround
Set Characters To Add Space On Surround
. from vim-mode-plus's setting.
insert-mode
.(want set imdisable
equivalent in pure-Vim).Now in-eval phase for this experimental feature.
From vim-mode-plus's settings-view set autoDisableInputMethodWhenLeavingInsertMode
to true
(default false
).
This feature doesn't actually disable IME, its' just set readonly
attribute to editor's hidden input element.
It should work for most IME but some Chinese IME still type multibyte character even in readonly
input.
For detail, see this discussion.
vim-mode-plus has many advanced, experimental features but most of them have no default keymap.
If you want to use the full power of vim-mode-plus, see and experiment with each keymap, command in following links.
Below is list of my packages which provide more vim-like experience.
Why I don't build in these features? Because it takes more time and some features are useful for non-vim user.
keymap.cson
.operator, the true power of Vim by kana.
True power of Vim is Operator and TextObject.
List of text-object as vim plugin
vim-mode-plus builtin textobj for function, fold, entire, comment, indent, line, and any-pair(super set of many pair text-obj)