Skip to content

Instantly share code, notes, and snippets.

@raviprakashgiri
Last active June 5, 2018 22:26
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 raviprakashgiri/e98b581b978b2fc150ced8d818bbd9fd to your computer and use it in GitHub Desktop.
Save raviprakashgiri/e98b581b978b2fc150ced8d818bbd9fd to your computer and use it in GitHub Desktop.
pretty vimrc profile
set encoding=utf-8
set fileencodings=utf-8,cp950
set guifont=monospace\ 14
syntax on
set nocompatible
" set ai
set shiftwidth=2
" set tabstop=4 " tab
" set softtabstop=4
" set expandtab " space tab
set ruler
set backspace=2 " insert backspace
set ic
set ru
set hlsearch
set incsearch
set smartindent " smartindent
set confirm
set history=100
set nu
" highlight Comment ctermfg=cyan
" set background=dark
" High light unwanted spaces in end of line
highlight ExtraWhitespace ctermbg=darkred guibg=darkcyan
autocmd BufEnter * if &ft != 'help' | match ExtraWhitespace /\s\+$/ | endif
autocmd BufEnter * if &ft == 'help' | match none /\s\+$/ | endif
" set cursorline
" set laststatus=2
" set statusline=%4*%<\%m%<[%f\%r%h%w]\ [%{&ff},%{&fileencoding},%Y]%=\[Position=%l,%v,%p%%]
" colorscheme torte
@raviprakashgiri
Copy link
Author

raviprakashgiri commented Oct 16, 2017

Just copy and paste the above snippet in your ~/.vimrc file under your user directory.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment