-
-
Save jdnc/252cf4c66bf4a3853182216f570db6f6 to your computer and use it in GitHub Desktop.
Tweaked vim configuration
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 backspace=indent,eol,start | |
set nocompatible " be iMproved, required | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=/Users/xyz/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') | |
" The following are examples of different formats supported. | |
" Keep Plugin commands between vundle#begin/end. | |
" let Vundle manage Vundle, required | |
Plugin 'VundleVim/Vundle.vim' | |
Plugin 'majutsushi/tagbar' | |
Plugin 'morhetz/gruvbox' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'scrooloose/syntastic' "Syntax checking hacks for vim, displays errors on left after save | |
Plugin 'luochen1990/rainbow' | |
Plugin 'terryma/vim-multiple-cursors' "Submlime multiple text selection | |
Plugin 'Raimondi/delimitMate' "Auto add dual quotes, parenthesis, brackets, etc. | |
Plugin 'mkitt/tabline.vim' | |
Plugin 'bling/vim-airline' | |
" 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 | |
nmap <F8> :TagbarToggle<CR> | |
nmap <F10> :NERDTreeToggle<CR> | |
nmap <C-d> :sh<CR> | |
" emacs binding for begin and end | |
cnoremap <c-a> <home> | |
cnoremap <c-e> <end> | |
" Keep search matches in the middle of the window. | |
nnoremap n nzzzv | |
nnoremap N Nzzzv | |
set background=dark | |
colorscheme gruvbox | |
let g:rainbow_active = 1 | |
:syntax on | |
:set laststatus=2 | |
:set statusline=%F | |
:set cursorline | |
:set tags+=$OSCAR_HOME/tags | |
:set number | |
"Use spaces instead of tabs | |
set tabstop=2 softtabstop=2 expandtab shiftwidth=2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment