Last active
March 30, 2016 08:22
-
-
Save msjaiswal/9c321bca794843d249cc to your computer and use it in GitHub Desktop.
A .vimrc file to get you going
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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