summaryrefslogtreecommitdiff
path: root/nvim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim')
-rw-r--r--nvim/init.vim13
1 files changed, 13 insertions, 0 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 44671da..ddca121 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -21,3 +21,16 @@ let mapleader = ","
" Clear search highlighting with double Esc
nnoremap <Esc><Esc> :nohlsearch<CR>
+
+"
+" Netrw: the built-in file explorer
+"
+
+" Hide the banner
+let g:netrw_banner = 0
+
+" The size of the Netrw window in percentage when it splits
+let g:netrw_winsize = 30
+
+" Toggle the file explorer
+map <Leader><Leader> :Lexplore<CR>