summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2021-01-28 15:19:46 +0100
committerTobias Klauser <tklauser@distanz.ch>2021-01-28 15:22:19 +0100
commit2926484071b60b1ffafaac77608caa83c87793c3 (patch)
treeebb58f468a7aedd731fcd631642aaee2c66d245d
parent1953ce84c83f6d782ed6f3deeca6fe4162de05b2 (diff)
.vimrc: add shortcuts for :Files and :NERDTreeFind
-rw-r--r--.vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 9d325d5..c43cc82 100644
--- a/.vimrc
+++ b/.vimrc
@@ -117,6 +117,9 @@ map <F10> <ESC>:! make<CR>
map! <C-x><SPACE> &nbsp;
+map <C-p> :Files<CR>
+map <C-f> :NERDTreeFind<CR>
+
" Remove all trailing whitespaces in file
map <leader>w :%s/\s\+$//<CR>^
map! <leader>w <ESC>:%s/\s\+$//<CR>