Commit 70f4998f authored by Nelso Jost's avatar Nelso Jost
Browse files

ADD: master README.md

parent d53839df
# VIM Setup
Here is my collection of VIM plugins, settings and knowlegde acquired over time. Vim is fast and powerful, ranging from a simple text editor to a full fledged IDE. Also it can be made beginner friendly as I tried here.
If you are a total beginner, lesson 1 on Vim are switching between NORMAL and INSERT modes. When you open a file you are at NORMAL mode (look at the status bar). In this mode, letters are shortcuts for functions so don't try to type them! Before editing press `<Space>` (or the default `<i>`) to enter INSERT mode. `<Esc>` brings you back to NORMAL mode.
## Key Mappings
What follows is a summarized list of the most important key mappins you should know.
> NOTE: Keys surrounded by `[]` only works on NORMAL mode.
### Editing
**Keystroke** | **Description**
--- | ---
`[Space]` | Enters INSERT mode (`|Esc|` go back to NORMAL mode)
`<Ctrl+Z>` | Infinite Undo (history files at ~/.vim/undo); `<Ctrl+Y>` for redo
`<Ctrl+S>` | Save current buffer changes and return to NORMAL mode
`[q]` | Delete/close current buffer saving its changes before
`<Ctrk+Up/Down>` | Jump cursor 5 lines up or down
`<Ctrl+PageUp/PageDown>` | Alternate between buffers (forget tabs!)
### Plugins
**Keystroke** | **Description**
--- | ---
`<Ctrl+P>` | Perform fuzzy search under current dir (hit enter to open result on a new buffer)
`<Ctrl+O>` | Perform fuzzy search on current file tags
`<F2>` | Toggle tagbar split
`<F3>` | Toggle file tree split
`<F11>` | Select previous color scheme (do not save)
`<F12>` | Select previous color scheme (do not save)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment