Created
October 1, 2015 06:19
-
-
Save zankard/fe1e6b4acfcdf2617f8c to your computer and use it in GitHub Desktop.
.vimrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" let Vundle manage Vundle, required | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'morhetz/gruvbox' | |
Plugin 'scrooloose/nerdtree' | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
" To ignore plugin indent changes, instead use: | |
"filetype plugin on | |
" | |
" Brief help | |
" :PluginList - lists configured plugins | |
" :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate | |
" :PluginSearch foo - searches for foo; append `!` to refresh local cache | |
" :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal | |
" | |
" see :h vundle for more details or wiki for FAQ | |
" Put your non-Plugin stuff after this line | |
colorscheme gruvbox | |
set background=dark | |
map <C-n> :NERDTreeToggle<CR> | |
filetype indent plugin on | |
" Enable syntax highlight | |
syntax on | |
" Better comamand completion | |
set wildmenu | |
" Show partial commands in the last line of screen | |
set showcmd | |
set hlsearch | |
" Use case insensitive search, except when using capital letters | |
set ignorecase | |
set ignorecase | |
set smartcase | |
set backspace=indent,eol,start | |
" When opening a new line and no filetype-specifc indenting is enabled, keep | |
" the same indent as the line you're currently on. | |
set autoindent | |
" Redraw at center of window | |
nmap <space> zz | |
set nostartofline | |
set ruler | |
set laststatus=2 | |
set cmdheight=2 | |
" Display line numbers on the left | |
set number | |
" Indentation settings for using 4 spaces instead of tabs. | |
" Do not change 'tabstop' from its default value of 8 with this setup. | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab | |
set list |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment