master
Jonathan Hodgson 8 years ago
parent e07f3686f0
commit bc8786f156
  1. 13
      .vimrc

@ -33,6 +33,19 @@ set laststatus=2
let g:airline_powerline_fonts = 1 let g:airline_powerline_fonts = 1
let g:airline_theme='dark' 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() fun! Start()
" Don't run if: we have commandline arguments, we don't have an empty " 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 " buffer, if we've not invoked as vim or gvim, or if we'e start in insert mode

Loading…
Cancel
Save