Jonathan Hodgson 8 years ago
commit d36f6f6fd3
  1. 13
      .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 <ScrollWheelUp> <nop>
:map <ScrollWheelDown> <nop>
" 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

Loading…
Cancel
Save