set mouse-=a set belloff=all set title set ruler syntax on set tabstop=4 set shiftwidth=4 set softtabstop=4 set expandtab set autoindent inoremap set hlsearch set incsearch nnoremap e :e =expand('%:p:h') . '/' nnoremap g :execute \ "grep! -nIR --exclude-dir=.git \ --exclude=*.orig \ --exclude=.*.swp \ --exclude=*.rej \ --exclude=*~ " \ . shellescape("\\<" . expand("") . "\\>") \ . " .":copen set backspace=indent,eol,start autocmd FileType cpp set nu autocmd FileType python compiler pylint autocmd FileType python set nu autocmd FileType rust set nu autocmd FileType json set tabstop=2 autocmd FileType json set shiftwidth=2 autocmd FileType json set softtabstop=2 autocmd FileType javascript set nu autocmd FileType javascript set tabstop=2 autocmd FileType javascript set shiftwidth=2 autocmd FileType javascript set softtabstop=2 autocmd FileType yaml set tabstop=2 autocmd FileType yaml set shiftwidth=2 autocmd FileType yaml set softtabstop=2 autocmd FileType html set tabstop=2 autocmd FileType html set shiftwidth=2 autocmd FileType html set softtabstop=2 autocmd FileType make set noexpandtab autocmd FileType make set tabstop=8 autocmd FileType make set shiftwidth=8 autocmd FileType make set softtabstop=8