From 6752ebe34e1e53373fb7895e7a177272a90abdc0 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 21 Jul 2015 15:43:32 -0400 Subject: 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. --- vimrc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'vimrc') diff --git a/vimrc b/vimrc index 1c5c1f8..01de3b2 100644 --- a/vimrc +++ b/vimrc @@ -318,6 +318,9 @@ " * Turn on splitright " * Add 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 ff :Explore +nnoremap fs :Sexplore +nnoremap fv :Vexplore +nnoremap fr :Rexplore + " Auditory let g:loaded_auditory = 1 -- cgit v1.2.3