ypresto / atom-vim-mode-plus

vim-mode improved

Home Page:https://atom.io/packages/vim-mode-plus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vim-mode-plus Build Status

vim-mode improved.

Whats this?

Started as fork project at 2015.8.1, originally for doing some refactoring experiment.
After doing lots of refactoring, I started to add new feature.
So I decided to release this package to get feedback from broad user.

Thanks

My work is greatly owing to former achievement done by original vim-mode developers and many of its contributors.
As you can see in commit history, this project is originally started by forking official vim-mode.

Important Note

  • You need to disable vim-mode first. You can't use both simultaneously.
  • Following packages for vim-mode doesn't work in vim-mode-plus. Why? Because service API name is different. It's easy to add support I believe. Please report to each project.
  • Scope for CSS selector and keymap is different from vim-mode, not compatible.
  • Internal code base is very different. Thus, issue, PRs should be directly sent to vim-mode-plus. DONT report vim-mode-plus's issue or PRs to official vim-mode.

FAQ

Why fork? why not directly contribute to official vim-mode.

  • Changes are too big.
  • Some features are too experimental to merge official vim-mode.

ex-mode?

  • Currently not. Refer #52.

Want to suppress autocomplete-plus's auto suggestion except insert-mode.

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"
  ]

Wiki

Keymap

Some of the keymap is not set by default, check following link for reference.

Helper packages

Here is the list of my packages which provide more vim-like experience.
Why I don't builtin these feature? Its because it take time and some feature is useful for non-vim user.

  • cursor-history provides c-i, c-o to go/back cursor position history.
  • open-this provides gf to open file under cursor.
  • clip-history Not exist in pure Vim, provides clip-board history you can pop yanked text until you get result you want.

References

About

vim-mode improved

https://atom.io/packages/vim-mode-plus

License:MIT License


Languages

Language:CoffeeScript 98.4%Language:CSS 1.6%