Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/maxcnunes/dotvim


https://github.com/maxcnunes/dotvim

Last synced: about 1 month ago
JSON representation

Awesome Lists containing this project

README

        

dotvim
==========

My Current Vim Configurations

## Installing VIM + MacVIM on OSX

In case you don't have yet VIM and MacVIM installed. The easiest way is using [Homebrew](http://brew.sh/).

```bash
brew install macvim --override-system-vim
```

## Configuring VIM

Clone this repository into your home directory as ~/.vim and then install the plugins. Such as:

```bash
git clone [email protected]:maxcnunes/dotvim.git ~/.vim
ln -s ~/.vim/vimrc ~/.vimrc
mkdir -p ~/.vim/{.backup,.swap,.undo}
```

In order to keep simple installing and updating plugins. Lets clone [Vundle](https://github.com/gmarik/Vundle.vim) and use it to install all plugins:

```bash
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall
```

# Silver Searcher

Since is used [Silver Searcher](https://github.com/ggreer/the_silver_searcher) for faster search is necessary also have installed the Silver Searcher in your machine:

```bash
brew install the_silver_searcher
```

# Saving with Ctrl+s

To allow Ctrl+S works on ZSH have to include this alias on `.zshrc`:

```bash
alias vim="stty stop '' -ixoff -ixon; vim"
```

## References

Based on few existig vim configuration projects:

- [astrails/dotvim](https://github.com/astrails/dotvim)
- [lucascaton/vimfiles](https://github.com/lucascaton/vimfiles)
- [vinitkumar/.vim](https://github.com/vinitkumar/.vim)
- [tony/vim-config](https://github.com/tony/vim-config)