save all files when running tests in vim
This commit is contained in:
parent
850cd8671e
commit
3e9bb6a8df
1 changed files with 5 additions and 5 deletions
10
.vimrc
10
.vimrc
|
@ -11,15 +11,11 @@ set hidden
|
|||
" file settings
|
||||
set encoding=utf-8
|
||||
|
||||
" plugins
|
||||
execute pathogen#infect()
|
||||
filetype plugin indent on
|
||||
|
||||
" key mappings
|
||||
let mapleader = ","
|
||||
nmap <leader>p :set paste!<CR>
|
||||
nmap <leader>h :set hlsearch!<CR>
|
||||
nmap <leader>t :w <bar> :Make test<CR>
|
||||
nmap <leader>t :wa <bar> :Make test<CR>
|
||||
|
||||
" navigate buffers by ctrl-b
|
||||
nmap <C-b> :bprevious<CR>
|
||||
|
@ -48,6 +44,10 @@ set softtabstop=4
|
|||
set shiftwidth=4
|
||||
set expandtab
|
||||
|
||||
" plugins
|
||||
execute pathogen#infect()
|
||||
filetype plugin indent on
|
||||
|
||||
" colours [need pathogen]
|
||||
set t_Co=256
|
||||
syntax enable
|
||||
|
|
Loading…
Reference in a new issue