Last active
November 20, 2018 13:53
-
-
Save Timi7007/20d79c9dd290405a15c9b3388b2e7f44 to your computer and use it in GitHub Desktop.
My basic .vimrc
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
" Turn syntax highlighting on | |
syntax on | |
" Default colors | |
" (it sucks to read comments) | |
"colo default | |
" Default colors on SUSE | |
" (pretty awesome, i love the light-blue comments) | |
"colo ron | |
" Colors of choice | |
" (much like ron but flags are just better) | |
colo elflord | |
" Allow saving of files as root by using w!! when having forgot to start vim using sudo. | |
cmap w!! w !sudo tee > /dev/null % | |
" Disable case-sensitive search and enable case-sensitive search if a character in the search-string is uppercase. | |
set ignorecase | |
set smartcase | |
" Show line numbers | |
"set nu | |
" Turn off visual mode | |
set mouse-=a | |
" Set current dir as working dir | |
set autochdir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In case your backspace key doesn't work https://stackoverflow.com/questions/11560201 might help.