Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- " Common options used for code editing
- " Set colorscheme for code editing
- if has('gui_running')
- colorscheme desert
- endif
- " Indentation style
- setlocal tabstop=4 "width of hard tabs
- setlocal softtabstop=4 "width of soft tabs
- setlocal shiftwidth=4 "width of auto indent and >> and <<
- " Set text width
- setlocal textwidth=79
- if has('gui_running')
- setlocal colorcolumn=+1 "highlight column at textwidth+1
- endif
- " Display line numbers and set columns to fit
- if has('gui_running')
- setlocal number
- setlocal numberwidth=4
- if &columns < 84
- set columns=84
- endif
- endif
Advertisement
Add Comment
Please, Sign In to add comment