Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dpakach/vim-conf

Vim configuration file for python, javascript and basic web development
https://github.com/dpakach/vim-conf

Last synced: 27 days ago
JSON representation

Vim configuration file for python, javascript and basic web development

Awesome Lists containing this project

README

        

# vim-conf

Vim configuration file with lots of improved features and mappings that will help you be productive while coding.

## Basic settings
- Leader key - " , " (comma)
- ColorScheme - GruvBox

### Plugins Used
- Plugin Manager - [Vundle](https://github.com/VundleVim/Vundle.vim)
- Syntax Checking - [Syntastic](https://github.com/vim-syntastic/syntastic)
- Files - [NerdTree](https://github.com/scrooloose/nerdtree)
- Color Scheme - [GruvBox](https://github.com/morhetz/gruvbox)
- Code Formatting - [Preetier](https://github.com/prettier/vim-prettier)
- Graphical Undo - [Gundo](https://github.com/sjl/gundo.vim)
- Searching - [Ag](https://github.com/rking/ag.vim)
- Code Completion - [YouCompleteMe](https://valloric.github.io/YouCompleteMe/)
- PEP8 - [Flake8](https://github.com/nvie/vim-flake8)
- Status Line - [airline vim](https://github.com/vim-airline/vim-airline)
- Git - [Fugitive](https://github.com/tpope/vim-fugitive)
- Emmet - [Emmet vim](https://github.com/mattn/emmet-vim)
#### others
- [Auto Pairs](https://github.com/jiangmiao/auto-pairs)

### Shortcuts
- `` - Show whitespace characters(eol, space, trail, etc.)
- `` - Toggle code folding
- `s` - Save session
- `a` - Call Ag (silver searcher for searching)
- `t` - Nerdtree toggle
- `u` - Gundo toggle
- `n` - Toggle Relative line number
- `w` - Strip trailing whitespaces
- `z/` - Toggle Highlight all occurences of word currently under cursor

## Installation

- Install git

Get the specific package for your system from [here](https://git-scm.com/downloads) and install

- Install vundle

`git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim`

- Now clone this file

`git clone https://github.com/dpakach/vim-conf ~/vim-conf && ln -s ~/vim-conf/.vimrc ~/.vimrc`

- Install all the plugins

To install all the plugins used in this .vimrc file:
- open your terminal
- open vim by typing typing `vim` and pressing enter
you might get some errors at first, ignore them for now
- run `:PluginInstall` in vim
- to run form terminal type `vim +PluginInstall +qall`

Or run the following command after installing git
``` bash
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim && git clone https://github.com/dpakach/vim-conf ~/vim-conf && ln -s ~/vim-conf/.vimrc ~/.vimrc && vim +PluginInstall +qall
```