Last active
June 5, 2018 22:26
-
-
Save raviprakashgiri/e98b581b978b2fc150ced8d818bbd9fd to your computer and use it in GitHub Desktop.
pretty vimrc profile
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
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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just copy and paste the above snippet in your ~/.vimrc file under your user directory.