aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
authorTeddy Wing2015-07-21 15:43:32 -0400
committerTeddy Wing2015-07-21 15:43:32 -0400
commit6752ebe34e1e53373fb7895e7a177272a90abdc0 (patch)
tree66092ddb542715abddac3d569df83a74cb211d0a /vimrc
parentd611677c077d8f7b3cda3d18f0d42eae1e61518d (diff)
downloaddotvim-6752ebe34e1e53373fb7895e7a177272a90abdc0.tar.bz2
vimrc: Add Netrw mappings for :Explore and its siblings
Typing `:E` is not difficult, and while `:Sex` and `:Vex` were not great to type, they were okay. What really tipped me over the edge was `:Rex`. And since I use Netrw more frequently these days, it's finally annoying enough that I want some more efficient mappings for these commands.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 1c5c1f8..01de3b2 100644
--- a/vimrc
+++ b/vimrc
@@ -318,6 +318,9 @@
" * Turn on splitright
" * Add <leader>bb mapping to pick a buffer to open in the current window
"
+" 2015.07.21:
+" * Add mappings for Netrw :Explore, :Sexplore, :Vexplore, and :Rexplore
+"
" Pathogen
@@ -505,6 +508,11 @@ let g:netrw_liststyle = 3 " Use Netrw's tree-style listing
let g:netrw_winsize = '' " Use default window size
let g:netrw_sort_options = 'i' " Case-insensitive sort
+nnoremap <leader>ff :Explore<cr>
+nnoremap <leader>fs :Sexplore<cr>
+nnoremap <leader>fv :Vexplore<cr>
+nnoremap <leader>fr :Rexplore<cr>
+
" Auditory
let g:loaded_auditory = 1