Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/revtel/.vim

vim setup for revtel
https://github.com/revtel/.vim

python react vim

Last synced: 6 days ago
JSON representation

vim setup for revtel

Awesome Lists containing this project

README

        

# .Vim

![](https://i.imgur.com/tusckyr.png)

.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](#getting-started)
- [Key Binding](#key-binding)
- [Directory Structure](#directory-structure)
- [Contributors](#contributors)
- [Contact Us](#contact-us)

## 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](mailto:[email protected])