Created
July 30, 2019 07:43
-
-
Save katrinafyi/7713adeb24d3146c0a4f04bd33d21d9b to your computer and use it in GitHub Desktop.
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
" Neil's (minimal) vimrc | |
" Copy this file to your home directory and rename it `.vimrc` (no file | |
" extension). Feel free to look up what any of the lines mean, and/or add | |
" extra bits. | |
" AESTHETIC THINGS | |
" set vim to use colours more friendly with putty's dark background | |
set background=dark | |
" fancy colourscheme in colour | |
"color desert | |
" line numbers | |
set number | |
" prevent vim from highlighting things after you've searched them | |
set nohlsearch | |
" INDENTATION THINGS | |
set smarttab | |
set expandtab | |
set softtabstop=4 | |
set shiftwidth=4 | |
set tabstop=4 | |
set smartindent | |
set cindent | |
highlight ExtraWhitespace ctermbg=red guibg=red | |
match ExtraWhitespace /\s\+$/ | |
" LINE LENGTH BAR | |
set colorcolumn=80 | |
highlight ColorColumn ctermbg=12 | |
set ruler | |
set showcmd | |
" MOUSE INTERACTION | |
" (uncomment this if you want to use the mouse in vim) | |
" set mouse=a | |
" | |
set backup | |
set backupdir=~/.backup// | |
set writebackup | |
set backupcopy=yes | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment