Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/revtel/.vim
- Owner: revtel
- License: mit
- Created: 2020-12-18T15:31:45.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2021-02-23T13:31:12.000Z (over 3 years ago)
- Last Synced: 2023-03-04T00:19:26.127Z (over 1 year ago)
- Topics: python, react, vim
- Language: Vim script
- Homepage:
- Size: 117 KB
- Stars: 13
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
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 ActionKey | Action
--- | ---
`RR` | trigger code action
`RN` | trigger rename
`--` | comment the current line the cursor on
`FF` | format code (include javascript(eslint,prettier) , python(autopep8))
NavigationKey | 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 )
OthersKey | Action
--- | ---
`ctrl + o`| toggle nerdtree (like vscode explore)
`space`| enter easymotion mode
- visual mode
Code ActionKey | Action
--- | ---
`--`| comment multiple lines what you selected
- insert mode
Code ActionKey | 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])