summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAudric Schiltknecht <storm@chemicalstorm.org>2012-10-10 22:37:31 +0200
committerAudric Schiltknecht <storm@chemicalstorm.org>2012-10-10 22:37:31 +0200
commit1748e0ba6b5b128730f6792a7444235df0732679 (patch)
tree9fa00c39257a5122c76ebdf43943d63016cce2eb
parentc54cbff69091a3dfc030c44166dbefb0bace585f (diff)
downloaddotfiles-1748e0ba6b5b128730f6792a7444235df0732679.tar.gz
dotfiles-1748e0ba6b5b128730f6792a7444235df0732679.tar.bz2
dotfiles-1748e0ba6b5b128730f6792a7444235df0732679.zip
Import nerdtree plugin
-rw-r--r--.gitmodules3
m---------vim/.vim/bundle/nerdtree0
-rw-r--r--vim/.vim/memory.txt2
-rw-r--r--vim/.vim/shortkeys.vim4
-rwxr-xr-xvim/add-plugin.sh2
5 files changed, 9 insertions, 2 deletions
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
+Subproject bf79e223aefe0665bcc62b5dcc4c2c23c6f23fc
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 @@
<F6> : Nettoie le fichier
<F7> :
<F8> :
- <F9> :
+ <F9> : Explorateur de fichiers
<F10> : 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 <F5> <Esc>:call DisplayChar()<CR>
map <F6> <Esc>:call ClearCode()<CR>
imap <F6> <Esc>:call ClearCode()<CR>
+" Activation/DĂ©sactivation de la fenĂȘtre d'exploration des fichiers
+map <F9> <Esc>:NERDTreeToggle<CR>
+imap <F9> <Esc>:NERDTreeToggle<CR>
+
" Affichage des lignes trop longues
map <F10> <Esc>:call HlTooLarge()<CR>
imap <F10> <Esc>:call HlTooLarge()<CR>
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