From bc8786f1561abba3720893b92e0a9b333a49cf5c Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Wed, 18 Jan 2017 17:34:15 +0000 Subject: [PATCH] holder --- .vimrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.vimrc b/.vimrc index a5ac2fb..65be17b 100644 --- a/.vimrc +++ b/.vimrc @@ -33,6 +33,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