Skip to content

Instantly share code, notes, and snippets.

@msjaiswal
Last active March 30, 2016 08:22
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 msjaiswal/9c321bca794843d249cc to your computer and use it in GitHub Desktop.
Save msjaiswal/9c321bca794843d249cc to your computer and use it in GitHub Desktop.
A .vimrc file to get you going
syntax on
set clipboard=unnamed
set autoindent
set ft=crontab
filetype on
set ruler
set hlsearch
set incsearch
" Set filename as title
let &titlestring = @%
set title
set tabstop=2 softtabstop=2 shiftwidth=2 expandtab
set backspace=start,indent,eol
set autoindent
set smartindent
set autowrite
set diffopt=iwhite
" No backup
set nobackup
set nowb
set noswapfile
"colorscheme desert
highlight ErrorMsg guibg=White guifg=Red
if &diff
colorscheme desert
endif
set wrapscan
set wrap
set textwidth=0
set matchpairs+=<:>
set wildmode=list:longest
:nmap <C-J> gT
:nmap <C-K> gt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment