Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/joom/vim-starter

Quick starter kit for Vim beginners.
https://github.com/joom/vim-starter

vim vim-beginners viml

Last synced: 3 months ago
JSON representation

Quick starter kit for Vim beginners.

Awesome Lists containing this project

README

        

vim-starter
===========

Quick starter kit for Vim beginners, including features from modern editors that you might miss when you switch to Vim.

## Installation

After you backup your `~/.vimrc` file and `~/.vim/` folder (this is not important if you haven't used Vim before), you can install this by running this bash line, press enter if you see any error messages:

```bash
echo "runtime vimrc" > ~/.vimrc && mkdir ~/.vim && cd ~/.vim && git clone https://github.com/joom/vim-starter.git . && git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim && vim +PluginInstall
```

You're all set! Enjoy!

## Shortcuts

`` is defined as the `\` key by default. `C-x` means Control + x and `M-x` means Meta-x. (*alt* or *option* in modern keyboards) `S-x` means Shift-x.

* `y`: Copy to system clipboard
* `d`: Cut to system clipboard
* `p`: Paste below, from system clipboard
* `P`: Paste above, from system clipboard
* ``: Toggle paste mode. (Not important if you're using the shortcuts above.)
* ``: Reload Vim settings
* `n`: New empty tab.
* `x`: Remove search highlight.
* `]`: Open/Close NERDTree
* `[` : Navigate between split views
* ``: Buffer list (Normal Mode)
* `C-p`: Fuzzy finder
* ``` ``: Swap the positions of the open splits
* `w`: Next sub-word in a camel cased word
* `b`: Previous sub-word in a camel cased word
* `e`: End of sub-word in a camel cased word
* `C-n`: Add the next occurrence of the selection to the multiple cursor selection

Other functions should work as expected. You can define key mappings for your own usage by editing the file `~/.vim/vimrc`, and you are certainly encouraged to do so. That's how you can get the most out of Vim.

If you're looking for a quick tutorial to learn Vim, "[Learn Vim Progressively](http://yannesposito.com/Scratch/en/blog/Learn-Vim-Progressively/)" is a great one.

If copying and pasting with the system clipboard are not working properly, check [this page](http://vim.wikia.com/wiki/Accessing_the_system_clipboard).

## Screenshots

![Screenshot 1](http://i.imgur.com/qEkXK9m.png)

![Screenshot 2](http://i.imgur.com/Elg4TrB.png)

![Screenshot 3](http://i.imgur.com/MSiFlU6.png)