diff --git a/.vimrc b/.vimrc index 51cade1..6754e03 100644 --- a/.vimrc +++ b/.vimrc @@ -41,6 +41,19 @@ set laststatus=2 let g:airline_powerline_fonts = 1 let g:airline_theme='dark' +" Make vim default to the plus register (system clipboard) when yanking etc. +set clipboard=unnamedplus + +" Shows the command I am typing. I really wish this could be in airline but don't think it can +set showcmd + +" Disable Scroll wheel +:map +:map + +" Set :w!! to save with sudo +cmap w!! w !sudo tee % + fun! Start() " Don't run if: we have commandline arguments, we don't have an empty " buffer, if we've not invoked as vim or gvim, or if we'e start in insert mode