Awesome
My Minimalist Vim Setup
I started to think that I have to publish this repository. Someday I will probably move around that I have to use someone else’s computer.
It will be convenient for me if I can just clone this repository to build a Vim editor with the same features and settings as my Vim editor in my home.
Plugins Used
- Better White-Spaces
- Bullets
- CTRL+P
- Close Tag
- Commentary
- Cycle
- EditorConfig
- Last Place
- Lexima
- Nerd Tree Unfocus
- Nerd Tree Visual Selection
- Nerd Tree
- Repeat
- Simple Complete
- Surround
- Taboo
- Unimpaired
Theme Used
Custom sunburst theme modified from https://github.com/sickill/vim-sunburst
Custom Key Maps
Insert
None.
Normal
Keys | Function |
---|---|
<kbd>⇧</kbd> <kbd>u</kbd> | Redo. |
<kbd>⌥</kbd> <kbd>j</kbd> | Move line down. |
<kbd>⌥</kbd> <kbd>k</kbd> | Move line up. |
<kbd>⌥</kbd> <kbd>↑</kbd> | Move line up. |
<kbd>⌥</kbd> <kbd>↓</kbd> | Move line down. |
<kbd>⎈</kbd> <kbd>a</kbd> | Cycle tokens such as false with true . |
<kbd>⎈</kbd> <kbd>b</kbd> | Toggle file tree visibility. |
<kbd>⎈</kbd> <kbd>d</kbd> | Close current window/split. |
<kbd>⎈</kbd> <kbd>h</kbd> | Move to the left split if any. |
<kbd>⎈</kbd> <kbd>j</kbd> | Move to the down split if any. |
<kbd>⎈</kbd> <kbd>k</kbd> | Move to the up split if any. |
<kbd>⎈</kbd> <kbd>l</kbd> | Move to the right split if any. |
<kbd>⎈</kbd> <kbd>p</kbd> | Find files. |
<kbd>⎈</kbd> <kbd>r</kbd> | Refresh the screen and remove all search marker if any. |
<kbd>⎈</kbd> <kbd>t</kbd> | Toggle terminal mode. |
<kbd>⎈</kbd> <kbd>x</kbd> | Cycle tokens such as false with true . |
<kbd>⎈</kbd> <kbd>←</kbd> | Move to the left split if any. |
<kbd>⎈</kbd> <kbd>↑</kbd> | Move to the up split if any. |
<kbd>⎈</kbd> <kbd>→</kbd> | Move to the right split if any. |
<kbd>⎈</kbd> <kbd>↓</kbd> | Move to the down split if any. |
<kbd>⎈</kbd> <kbd>⇧</kbd> <kbd>e</kbd> | Focus to the file tree. |
Visual
Keys | Function |
---|---|
<kbd>v</kbd> | Select all with visual mode. |
<kbd>⌥</kbd> <kbd>j</kbd> | Move line down. |
<kbd>⌥</kbd> <kbd>k</kbd> | Move line up. |
<kbd>⌥</kbd> <kbd>↑</kbd> | Move line up. |
<kbd>⌥</kbd> <kbd>↓</kbd> | Move line down. |
<kbd>⎈</kbd> <kbd>←</kbd> | Sort-reverse words. |
<kbd>⎈</kbd> <kbd>↑</kbd> | Sort-reverse lines. |
<kbd>⎈</kbd> <kbd>→</kbd> | Sort words. |
<kbd>⎈</kbd> <kbd>↓</kbd> | Sort lines. |
Visual-Line
Keys | Function |
---|---|
<kbd>V</kbd> | Select all with visual-line mode. |
<kbd>⌥</kbd> <kbd>j</kbd> | Move line down. |
<kbd>⌥</kbd> <kbd>k</kbd> | Move line up. |
<kbd>⌥</kbd> <kbd>↑</kbd> | Move line up. |
<kbd>⌥</kbd> <kbd>↓</kbd> | Move line down. |
I am very open to all opinions and suggestions since I am a new Vim user here. However, I am currently don’t accept pull requests on this repository, with the consideration that the contents of this repository are very personal. You can build your own Vim editor using this repository as a base to start with.