From ac29677e8b0dd0b6ab05fc3b13a1524ee024a467 Mon Sep 17 00:00:00 2001 From: Ache Date: Thu, 9 Jun 2016 19:03:22 +0200 Subject: Set wd to the current wd with cd --- plugin/perso.vim | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/plugin/perso.vim b/plugin/perso.vim index 0577db7..23974ca 100755 --- a/plugin/perso.vim +++ b/plugin/perso.vim @@ -59,7 +59,6 @@ inoremap #de #define nnoremap รจรจ__ :set pastem`o``:set nopaste nmap :TagbarToggle -nmap :NERDTreeToggle ca tn tabnew ca tc tabc @@ -86,3 +85,7 @@ noremap ,cu :silent s/^\V=escape(b:comment_leader,'\/')< noremap :silent s/^/=escape(b:comment_leader,'\/')/:nohlsearch noremap c :silent s/^\V=escape(b:comment_leader,'\/')//e:nohlsearch +nnoremap cd :cd %:p:h + +"set spell spelllang=fr + -- cgit v1.2.3