diff options
author | Teddy Wing | 2015-07-21 15:43:32 -0400 |
---|---|---|
committer | Teddy Wing | 2015-07-21 15:43:32 -0400 |
commit | 6752ebe34e1e53373fb7895e7a177272a90abdc0 (patch) | |
tree | 66092ddb542715abddac3d569df83a74cb211d0a | |
parent | d611677c077d8f7b3cda3d18f0d42eae1e61518d (diff) | |
download | dotvim-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.
-rw-r--r-- | vimrc | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |