Skip to content

Instantly share code, notes, and snippets.

@diorahman
Created January 14, 2016 00:00
Show Gist options
  • Save diorahman/51948c27ada7da89ea04 to your computer and use it in GitHub Desktop.
Save diorahman/51948c27ada7da89ea04 to your computer and use it in GitHub Desktop.
execute pathogen#infect()
set nocompatible
set number
set ruler
set ignorecase
set smartcase
set wrap
set linebreak
set autoindent
set noswapfile
set incsearch
set encoding=utf-8
filetype plugin indent on
let mapleader = ","
set tabstop=4
set shiftwidth=4
set softtabstop=4
set expandtab
let g:airline#extensions#tabline#enabled=1
let g:airline#extensions#tabline#fnamemod=':t'
let g:airline#extensions#tabline#right_sep=' '
let g:airline#extensions#tabline#left_sep=' '
let g:airline#extensions#tabline#left_alt_sep=' '
let g:airline_theme='bubblegum'
syntax on
autocmd FileType c,cc,cpp,cmake,python,ruby,java,javascript,yaml,json,erlang,erl,clj,clojure autocmd BufWritePre <buffer> :%s/\s\+$//e
nmap <silent> <A-Up> :wincmd k<CR>
nmap <silent> <A-Down> :wincmd j<CR>
nmap <silent> <A-Left> :wincmd h<CR>
nmap <silent> <A-Right> :wincmd l<CR>
:map <C-T> <Esc>:tabnew<CR>
let g:syntastic_javascript_checkers=['jscs']
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment