From dc6c8cd776156a459fae5faf39462aa3e028ff92 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Thu, 20 Nov 2014 14:53:21 +0000 Subject: nothing much --- vim/vimrc | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'vim/vimrc') diff --git a/vim/vimrc b/vim/vimrc index 210e70b..27d5516 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -1,4 +1,4 @@ -" Required by Vundle +"" Required by Vundle set nocompatible filetype off set rtp+=~/.vim/bundle/vundle/ @@ -111,7 +111,7 @@ set incsearch set noswapfile set nowritebackup set undofile -set undodir=/home/urbain/.vimundo/ +set undodir=/home/urbain/.vim/vimundo/ " Layout window set nonumber @@ -169,23 +169,21 @@ autocmd! BufNewFile,BufRead,BufWrite * :call UpdateColorscheme() "" Custom mappings -" Definition of leader and localleader +" Leader maps let mapleader = "\\" let maplocalleader = "-" - -" Leader maps nmap -nmap p -nmap t + +" General +nnoremap te :tabedit +nnoremap tn :tabnew +nnoremap to :tabonly +nnoremap w :w +nnoremap q :q! nnoremap h :set hlsearch! nnoremap n :set relativenumber! -nnoremap q :q! nnoremap sv :source ~/.vim/vimrc nnoremap sc :source % -nnoremap w :w -nnoremap te :tabedit -nnoremap tn :tabnew -nnoremap to :tabonly " Other maps nnoremap o -- cgit v1.2.3