nerdtree install line

This commit is contained in:
KeeganForelight 2022-07-08 12:16:56 -04:00
parent 03712b8efa
commit b3f320bef5
2 changed files with 5 additions and 2 deletions

View File

@ -9,7 +9,7 @@
- [git submodule update --init --recursive, Installing submodules] - [git submodule update --init --recursive, Installing submodules]
- link: - link:
~/.dotfiles: '' # ~/.dotfiles: ''
~/.vimrc: vimrc ~/.vimrc: vimrc
~/.zshrc: ~/.zshrc:
force: true force: true
@ -20,5 +20,6 @@
~/.oh-my-zsh/custom/themes/powerlevel10k.zsh-theme: oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme ~/.oh-my-zsh/custom/themes/powerlevel10k.zsh-theme: oh-my-zsh/custom/themes/powerlevel10k/powerlevel10k.zsh-theme
~/.vim/colors/hybrid.vim: vim/vim-hybrid/colors/hybrid.vim ~/.vim/colors/hybrid.vim: vim/vim-hybrid/colors/hybrid.vim
~/.vim/colors/onehalfdark.vim: vim/onehalf/vim/colors/onehalfdark.vim ~/.vim/colors/onehalfdark.vim: vim/onehalf/vim/colors/onehalfdark.vim
~/.vim/pack/man/start/nerdtree: vim/pack/man/start/nerdtree
~/.tmux.conf: tmux.conf ~/.tmux.conf: tmux.conf

4
vimrc
View File

@ -23,9 +23,11 @@ let g:go_highlight_extra_types=1
" nerdtree settings " nerdtree settings
let NERDTreeHighlightCursorLine=1 let NERDTreeHighlightCursorLine=1
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
" nerdtree binds " nerdtree binds
nnoremap <C-n> :NERDTree<CR> nnoremap <C-n> :NERDTree<CR>
nnoremap <C-t> :NERDTreeToggle<CR> nnoremap <C-t> :NERDTreeToggle<CR>
nnoremap <C-f> :NERDTreeFind<CR> nnoremap <C-f> :NERDTreeFocus<CR>