Instantly share code, notes, and snippets.

@msjaiswal /.vimrc
Last active Mar 30, 2016

Embed
What would you like to do?
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