Skip to content

Latest commit

 

History

History
151 lines (118 loc) · 3.14 KB

README.md

File metadata and controls

151 lines (118 loc) · 3.14 KB

.Vim

.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.

Outline

Getting Started

  # zsh
  $ git clone https://github.com/revtel/.vim.git  
  $ echo "so $HOME/.vim/.vimrc" > $HOME/.vimrc
  $ vim
  # vim editor 
  :PlugInstall

Key Binding

  • 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

Directory Structure

.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

Contributors


Richie Hsieh

Chien Hsiao

Guy Chien

Contact Us

Revtel Tech