.vim is committed to creating a comfortable vim development environment for Python and React developers currently. If you are the developer mentioned above, welcome to submit a pull request to contribute, let us embrace vim together.
# zsh
$ git clone https://github.com/revtel/.vim.git
$ echo "so $HOME/.vim/.vimrc" > $HOME/.vimrc
$ vim
# vim editor
:PlugInstall
-
normal mode
Code Action
Key Action RR
trigger code action RN
trigger rename --
comment the current line the cursor on FF
format code (include javascript(eslint,prettier) , python(autopep8)) Navigation
Key Action gd
go to definition gr
go find references sn
go to next error or warning sp
go to previous error or warning g.
go to next cursor position g,
go to previous cursor position F4
toggle RltvNmbr ctrl + l
go next buffer ctrl + k
go previous buffer ctrl + p
toggle ctrlP ( like vscode go anywhere ) Others
Key Action ctrl + o
toggle nerdtree (like vscode explore) space
enter easymotion mode -
visual mode
Code Action
Key Action --
comment multiple lines what you selected -
insert mode
Code Action
Key Action ctrl + e
trigger emmet expand
.vim
├── CHANGELOG.md
├── README.md
├── autoload
│ ├── RltvNmbr.vim
│ └── plug.vim
└── plugin
├── RltvNmbr.vim
├── RltvNmbrPlugin.vim
├── airline.vim
├── ale.vim
├── bufferline.vim
├── ctrlp.vim
├── easymotion.vim
├── gitgutter.vim
├── nerdcommenter.vim
└── nerdtree.vim
Richie Hsieh
|
Chien Hsiao
|
Guy Chien
|