From 1748e0ba6b5b128730f6792a7444235df0732679 Mon Sep 17 00:00:00 2001 From: Audric Schiltknecht Date: Wed, 10 Oct 2012 22:37:31 +0200 Subject: Import nerdtree plugin --- .gitmodules | 3 +++ vim/.vim/bundle/nerdtree | 1 + vim/.vim/memory.txt | 2 +- vim/.vim/shortkeys.vim | 4 ++++ vim/add-plugin.sh | 2 +- 5 files changed, 10 insertions(+), 2 deletions(-) create mode 160000 vim/.vim/bundle/nerdtree diff --git a/.gitmodules b/.gitmodules index 7ebb7a7..142d833 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,6 @@ [submodule "vim/.vim/bundle/fugitive"] path = vim/.vim/bundle/fugitive url = https://github.com/tpope/vim-fugitive.git +[submodule "vim/.vim/bundle/nerdtree"] + path = vim/.vim/bundle/nerdtree + url = https://github.com/scrooloose/nerdtree.git diff --git a/vim/.vim/bundle/nerdtree b/vim/.vim/bundle/nerdtree new file mode 160000 index 0000000..bf79e22 --- /dev/null +++ b/vim/.vim/bundle/nerdtree @@ -0,0 +1 @@ +Subproject commit bf79e223aefe0665bcc62b5dcc4c2c23c6f23fc5 diff --git a/vim/.vim/memory.txt b/vim/.vim/memory.txt index 980e773..c6c9b48 100644 --- a/vim/.vim/memory.txt +++ b/vim/.vim/memory.txt @@ -8,7 +8,7 @@ : Nettoie le fichier : : - : + : Explorateur de fichiers : Afficher les lignes trop longues Onglets : diff --git a/vim/.vim/shortkeys.vim b/vim/.vim/shortkeys.vim index 38ea222..f693e2a 100644 --- a/vim/.vim/shortkeys.vim +++ b/vim/.vim/shortkeys.vim @@ -30,6 +30,10 @@ imap :call DisplayChar() map :call ClearCode() imap :call ClearCode() +" Activation/DĂ©sactivation de la fenĂȘtre d'exploration des fichiers +map :NERDTreeToggle +imap :NERDTreeToggle + " Affichage des lignes trop longues map :call HlTooLarge() imap :call HlTooLarge() diff --git a/vim/add-plugin.sh b/vim/add-plugin.sh index 58d26b3..05588d0 100755 --- a/vim/add-plugin.sh +++ b/vim/add-plugin.sh @@ -1,4 +1,4 @@ -#!/bin/bash -x +#!/bin/bash # adds a new vim plugin from a git repository -- cgit v1.2.3-70-g09d2