summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAche <ache@ache.one>2016-06-09 19:03:22 +0200
committerAche <ache@ache.one>2016-06-09 19:03:22 +0200
commitac29677e8b0dd0b6ab05fc3b13a1524ee024a467 (patch)
tree498cdd5ab5a893ab655770f28c100440a1342af2
parentRemplace plugin comment (diff)
Set wd to the current wd with cd
-rwxr-xr-xplugin/perso.vim5
1 files changed, 4 insertions, 1 deletions
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 <silent>èè__ :set paste<CR>m`o<Esc>``:set nopaste<CR>
nmap <C-X> :TagbarToggle<CR>
-nmap <C-C> :NERDTreeToggle<CR>
ca tn tabnew
ca tc tabc
@@ -86,3 +85,7 @@ noremap <silent> ,cu :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<
noremap <silent> <c-c><c-c> :<C-B>silent <C-E>s/^/<C-R>=escape(b:comment_leader,'\/')<CR>/<CR>:nohlsearch<CR>
noremap <silent> <c-c>c :<C-B>silent <C-E>s/^\V<C-R>=escape(b:comment_leader,'\/')<CR>//e<CR>:nohlsearch<CR>
+nnoremap cd :cd %:p:h<CR>
+
+"set spell spelllang=fr
+