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
|
" file settings
|
||||||
set encoding=utf-8
|
set encoding=utf-8
|
||||||
|
|
||||||
" plugins
|
|
||||||
execute pathogen#infect()
|
|
||||||
filetype plugin indent on
|
|
||||||
|
|
||||||
" key mappings
|
" key mappings
|
||||||
let mapleader = ","
|
let mapleader = ","
|
||||||
nmap <leader>p :set paste!<CR>
|
nmap <leader>p :set paste!<CR>
|
||||||
nmap <leader>h :set hlsearch!<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
|
" navigate buffers by ctrl-b
|
||||||
nmap <C-b> :bprevious<CR>
|
nmap <C-b> :bprevious<CR>
|
||||||
|
@ -48,6 +44,10 @@ set softtabstop=4
|
||||||
set shiftwidth=4
|
set shiftwidth=4
|
||||||
set expandtab
|
set expandtab
|
||||||
|
|
||||||
|
" plugins
|
||||||
|
execute pathogen#infect()
|
||||||
|
filetype plugin indent on
|
||||||
|
|
||||||
" colours [need pathogen]
|
" colours [need pathogen]
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
syntax enable
|
syntax enable
|
||||||
|
|
Loading…
Reference in a new issue