Different NerdTree workaround
This commit is contained in:
parent
d102cbbfa7
commit
24e628ffc0
2 changed files with 3 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
||||||
let $FZF_DEFAULT_COMMAND='rg --files --follow --hidden -g "!{node_modules/*,.git/*,.styles/*,static/*}"'
|
let $FZF_DEFAULT_COMMAND='rg --files --follow --hidden -g "!{node_modules/*,.git/*,.styles/*,static/*}"'
|
||||||
|
|
||||||
|
source $HOME/.config/nvim/coq.vim
|
||||||
source $HOME/.config/nvim/plug/plug.vim
|
source $HOME/.config/nvim/plug/plug.vim
|
||||||
source $HOME/.config/nvim/plugs.vim
|
source $HOME/.config/nvim/plugs.vim
|
||||||
|
|
||||||
|
@ -10,11 +11,7 @@ syntax on
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
" Nice navigaton shortcuts
|
" Nice navigaton shortcuts
|
||||||
"
|
map <C-n> :NERDTreeToggle<CR>
|
||||||
" currently have to do :resize after NERDTree since it can leave content in
|
|
||||||
" the bottom panel; see https://github.com/preservim/nerdtree/issues/1321 for
|
|
||||||
" details.
|
|
||||||
map <C-n> :NERDTreeToggle<CR>:resize<CR>
|
|
||||||
map <C-f> :Files<CR>
|
map <C-f> :Files<CR>
|
||||||
map <C-g> :Rg<CR>
|
map <C-g> :Rg<CR>
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@ call plug#begin('~/.local/.shared/nvim/plugged')
|
||||||
|
|
||||||
" File navigation
|
" File navigation
|
||||||
Plug 'scrooloose/nerdtree'
|
Plug 'scrooloose/nerdtree'
|
||||||
|
let g:NERDTreeMinimalMenu=1
|
||||||
|
|
||||||
" Fuzzy file finding is great
|
" Fuzzy file finding is great
|
||||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||||
|
|
Loading…
Reference in a new issue