Created
May 2, 2016 12:42
-
-
Save rahulshivsharan/e6948deba7df5e6906d0a970cf62e320 to your computer and use it in GitHub Desktop.
.vimrc for using Vundle pluggin, to manage pluggins of vim
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 t_Co=256 | |
set nocompatible " 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 'tmhedberg/SimpylFold' | |
Plugin 'vim-scripts/indentpython.vim' | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'jistr/vim-nerdtree-tabs' | |
Plugin 'jnurmine/Zenburn' | |
Plugin 'altercation/vim-colors-solarized' | |
Plugin 'flazz/vim-colorschemes' | |
Plugin 'wincent/command-t' | |
Plugin 'bling/vim-airline' | |
Plugin 'bling/vim-bufferline' | |
" Add all your plugins here (note older versions of Vundle used Bundle instead of Plugin) | |
" All of your Plugins must be added before the following line | |
call vundle#end() " required | |
filetype plugin indent on " required | |
map <C-n> :NERDTreeToggle<CR> | |
map <C-t> :NERDTreeTabsToggle<CR> | |
let NERDTreeIgnore=['\.pyc$', '\~$'] "ignore files in NERDTree | |
let g:nerdtree_tabs_open_on_console_startup=0 | |
"if has('gui_running') | |
" set background=dark | |
" colorscheme solarized | |
"else | |
" colorscheme zenburn | |
"endif | |
"call togglebg#map("<F5>") | |
syntax enable | |
set background=light | |
colorscheme herald | |
set rtp+=~/.fzf | |
map <C-m> :FZF<CR> | |
let g:airline_powerline_fonts=1 | |
let g:airline#extensions#tabline#enabled=1 | |
let g:airline#extensions#tabline#left_sep=' ' | |
let g:airline#extensions#tabline#left_alt_sep='|' | |
let g:bufferline_echo=1 | |
let g:bufferline_active_buffer_left='[' | |
let g:bufferline_active_buffer_right=']' | |
let g:bufferline_modified='+' | |
let g:bufferline_show_bufnr=1 | |
"default, no rotate, no scrolling | |
"let g:bufferline_rotate = 0 | |
"scrolling with fixed current buffer position | |
let g:bufferline_rotate = 1 | |
"scrolling without fixed current buffer position | |
"let g:bufferline_rotate = 2 | |
let g:bufferline_fixed_index = 1 "always second (default) | |
let g:bufferline_active_highlight = 'StatusLine' | |
let g:bufferline_inactive_highlight = 'StatusLineNC' | |
let g:bufferline_echo = 0 | |
autocmd VimEnter * | |
\ let &statusline='%{bufferline#refresh_status()}' | |
\ .bufferline#get_status_string() | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment