Skip to content

Instantly share code, notes, and snippets.

@GudarJs
Created September 28, 2017 05:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save GudarJs/43a9ebbfad7eb9d1494e564a85ceff61 to your computer and use it in GitHub Desktop.
Save GudarJs/43a9ebbfad7eb9d1494e564a85ceff61 to your computer and use it in GitHub Desktop.
My vim configuration file
set nocompatible
filetype off
syntax enable
set number
set history=30
set cursorline
set lazyredraw
set showmatch
set incsearch
set hlsearch
set noshowmode
set noru
set laststatus=0
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
" Custom plugins goes here
Plugin 'Lokaltog/vim-powerline'
Plugin 'scrooloose/nerdtree'
Plugin 'kien/ctrlp.vim'
Plugin 'vim-scripts/AutoComplPop'
Plugin 'editorconfig/editorconfig-vim'
Plugin 'Valloric/YouCompleteMe'
Plugin 'vim-gitgutter'
Plugin 'scrooloose/nerdcommenter'
" Themes
Plugin 'vim-scripts/moria'
" Language support
Plugin 'plasticboy/vim-markdown'
Plugin 'othree/javascript-libraries-syntax.vim'
Plugin 'valloric/MatchTagAlways'
Plugin 'python-mode/python-mode'
" Framework support
Plugin 'mjbrownie/vim-htmldjango_omnicomplete'
call vundle#end()
filetype plugin indent on
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif
map <C-n> :NERDTreeToggle<CR>
set laststatus=2
set encoding=utf-8
set t_Co=256
let g:Powerline_symbols = 'fancy'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment