comparison vimrc @ 140:e037d9b797eb

Fix colors and clipboad in vim and tmux
author zegervdv <zegervdv@me.com>
date Wed, 08 Oct 2014 23:27:50 +0200
parents ff0f692ad70c
children 6b108f5f26fc
comparison
equal deleted inserted replaced
139:0958749f45f0 140:e037d9b797eb
97 au BufNewFile,BufRead,BufEnter *.tex setlocal spell spelllang=en_gb 97 au BufNewFile,BufRead,BufEnter *.tex setlocal spell spelllang=en_gb
98 au BufNewFile,BufRead,BufEnter *.tex setlocal textwidth=0 98 au BufNewFile,BufRead,BufEnter *.tex setlocal textwidth=0
99 au BufNewFile,BufRead,BufEnter *.txt setlocal spell spelllang=en_gb 99 au BufNewFile,BufRead,BufEnter *.txt setlocal spell spelllang=en_gb
100 au BufNewFile,BufRead,BufEnter *.txt setlocal textwidth=0 100 au BufNewFile,BufRead,BufEnter *.txt setlocal textwidth=0
101 101
102 highlight SpellBad ctermbg=256 ctermfg=210
103 highlight SpellLocal ctermbg=240 ctermfg=010
102 104
103 " When editing a file, always jump to the last known cursor position. 105 " When editing a file, always jump to the last known cursor position.
104 " Don't do it for commit messages, when the position is invalid, or when 106 " Don't do it for commit messages, when the position is invalid, or when
105 " inside an event handler (happens when dropping a file on gvim). 107 " inside an event handler (happens when dropping a file on gvim).
106 autocmd BufReadPost * 108 autocmd BufReadPost *
478 nnoremap <leader>e :VimFilerExplorer<CR> 480 nnoremap <leader>e :VimFilerExplorer<CR>
479 let g:vimfiler_ignore_pattern = '\%(.o\|.bin\|.elf\|.un\~\|.swp\)$' 481 let g:vimfiler_ignore_pattern = '\%(.o\|.bin\|.elf\|.un\~\|.swp\)$'
480 " }}} 482 " }}}
481 " Vim - Rspec {{{ 483 " Vim - Rspec {{{
482 map <leader>t :call RunCurrentSpecFile()<CR> 484 map <leader>t :call RunCurrentSpecFile()<CR>
483 map <leader>s :call RunNearestSpec()<CR> 485 " map <leader>s :call RunNearestSpec()<CR>
484 map <leader>l :call RunLastSpec()<CR> 486 " map <leader>l :call RunLastSpec()<CR>
485 map <leader>r :call RunAllSpecs()<CR> 487 " map <leader>r :call RunAllSpecs()<CR>
486 " }}} 488 " }}}
487 " Cucumber {{{ 489 " Cucumber {{{
488 map <leader>f :call RunAllFeatures()<CR> 490 map <leader>f :call RunAllFeatures()<CR>
489 map <leader>k :call RunCurrentFeature()<CR> 491 map <leader>k :call RunCurrentFeature()<CR>
490 " }}} 492 " }}}