# HG changeset patch # User zegervdv # Date 1415129899 -3600 # Node ID e4c677e2acde59e15928cbb70337bc506bbb4974 # Parent a464a70206629d89977eac5d3e1537218bfc8ba4 Fix slow mapping with space diff -r a464a7020662 -r e4c677e2acde vimrc --- a/vimrc Tue Nov 04 20:38:06 2014 +0100 +++ b/vimrc Tue Nov 04 20:38:19 2014 +0100 @@ -57,6 +57,8 @@ set ttyfast set lazyredraw +set ttimeoutlen=10 +" Set the timeout to a minimum set diffopt+=iwhite set tags=.git/tags @@ -117,7 +119,8 @@ \ endif " Set leader to space -let mapleader = "\" +" let mapleader = " " +map " See long lines as line breaks map j gj @@ -483,8 +486,8 @@ nnoremap o :Unite outline nnoremap t :Unite tag nnoremap :Unite -start-insert buffer file_rec/async -nnoremap h :Unite ssh://Hurricane/STM-Quadcopter/source -nnoremap i :Unite ssh://imac-van-zeger.local/Documents +" nnoremap h :Unite ssh://Hurricane/STM-Quadcopter/source +" nnoremap i :Unite ssh://imac-van-zeger.local/Documents " }}} " Unite Build {{{ " TODO: Create builders eg Latex, Vagrant? @@ -616,6 +619,7 @@ " }}} " Vimux {{{ let g:VimuxUseNearest = 1 +nnoremap s :w autocmd FileType python nnoremap s :w:call VimuxRunCommand('%run -i ' . expand('%')) autocmd FileType ruby nnoremap s :w:call VimuxRunCommand('rake spec') autocmd FileType c nnoremap s :w:call VimuxRunCommand('make')