Skip to content

Instantly share code, notes, and snippets.

@Timi7007
Last active November 20, 2018 13:53
Show Gist options
  • Save Timi7007/20d79c9dd290405a15c9b3388b2e7f44 to your computer and use it in GitHub Desktop.
Save Timi7007/20d79c9dd290405a15c9b3388b2e7f44 to your computer and use it in GitHub Desktop.
My basic .vimrc
" 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
@Timi7007
Copy link
Author

In case your backspace key doesn't work https://stackoverflow.com/questions/11560201 might help.

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