From 3e9bb6a8df407ca4a62ba8e24be6e129ba9b0ee1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki-Chudyk?= Date: Sun, 15 May 2016 22:16:29 +0200 Subject: [PATCH] save all files when running tests in vim --- .vimrc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.vimrc b/.vimrc index 1880a281..7f9f1139 100755 --- a/.vimrc +++ b/.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 p :set paste! nmap h :set hlsearch! -nmap t :w :Make test +nmap t :wa :Make test " navigate buffers by ctrl-b nmap :bprevious @@ -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