Added netrw config
This commit is contained in:
parent
7de5fde929
commit
33a366cc4a
1 changed files with 9 additions and 0 deletions
9
init.vim
9
init.vim
|
@ -30,6 +30,12 @@ set autoindent
|
|||
set path+=**
|
||||
set wildignore+=**/node_modules/**
|
||||
|
||||
" set netrw preferred style to tree
|
||||
let g:netrw_liststyle = 3
|
||||
|
||||
" remove netrw top banner
|
||||
let g:netrw_banner = 0
|
||||
|
||||
" ADDITIONAL COMMANDS
|
||||
|
||||
inoremap <S-tab> <C-d>
|
||||
|
@ -107,6 +113,9 @@ nnoremap <Leader>R :source ~/.config/nvim/init.vim<CR>
|
|||
" show Vim's true competitor with: Leader r c m
|
||||
nnoremap <Leader>rcm :!open https://youtu.be/jn40Ugz0vuk<CR><CR>
|
||||
|
||||
" open netrw in directory of current file
|
||||
nnoremap <Leader>e :Ex<CR>
|
||||
|
||||
" COLORSCHEME
|
||||
|
||||
" set colorscheme to onedark.im for nvim and airline
|
||||
|
|
Reference in a new issue