Skip to content

Instantly share code, notes, and snippets.

@cynecx
Created April 19, 2016 21:41
Show Gist options
  • Select an option

  • Save cynecx/4acf0a20b75926c1436315c4202a95e1 to your computer and use it in GitHub Desktop.

Select an option

Save cynecx/4acf0a20b75926c1436315c4202a95e1 to your computer and use it in GitHub Desktop.
My crappy .vimrc
set nocompatible
set history=500
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'VundleVim/Vundle.vim'
Plugin 'scrooloose/nerdtree'
Plugin 'bling/vim-bufferline'
Plugin 'bling/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'Yggdroot/indentLine'
Plugin 'elzr/vim-json'
call vundle#end()
filetype plugin on
filetype indent on
set encoding=utf-8
set fileencoding=utf-8
set fileencodings=utf-8
set hidden
set showmode
set showcmd
set modeline
set backspace=indent,eol,start
set expandtab
set smarttab
set tabstop=2
set softtabstop=2
set shiftwidth=2
set autoindent
set smartindent
set wrap
set linebreak
set foldcolumn=2
set foldmethod=syntax
set foldlevelstart=99
autocmd FileType html setlocal shiftwidth=2 tabstop=2 softtabstop=2
set title
set laststatus=2
set wildmenu
set ruler
set number
set mouse=a
set showmatch
set scrolloff=7
set ignorecase
set smartcase
set hlsearch
set incsearch
set magic
set noerrorbells
set novisualbell
set whichwrap+=<,>,h,l,[,]
noremap <Up> gk
noremap <Down> gj
inoremap <Up> <C-o>gk
inoremap <Down> <C-o>gj
let g:vim_json_syntax_conceal=0
syntax on
set timeoutlen=1000 ttimeoutlen=0
let g:airline_theme = 'powerlineish'
let g:airline#extensions#tabline#enabled = 1
let g:airline_powerline_fonts = 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment