From b3f320bef5d35e91e9b99d2c5dbf21d84ace3fba Mon Sep 17 00:00:00 2001 From: KeeganForelight Date: Fri, 8 Jul 2022 12:16:56 -0400 Subject: [PATCH 1/2] nerdtree install line --- install.conf.yaml | 3 ++- vimrc | 4 +++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/install.conf.yaml b/install.conf.yaml index 8001826..7e15be8 100644 --- a/install.conf.yaml +++ b/install.conf.yaml @@ -9,7 +9,7 @@ - [git submodule update --init --recursive, Installing submodules] - link: - ~/.dotfiles: '' +# ~/.dotfiles: '' ~/.vimrc: vimrc ~/.zshrc: force: true @@ -20,5 +20,6 @@ ~/.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/onehalfdark.vim: vim/onehalf/vim/colors/onehalfdark.vim + ~/.vim/pack/man/start/nerdtree: vim/pack/man/start/nerdtree ~/.tmux.conf: tmux.conf diff --git a/vimrc b/vimrc index 093ff89..d4c3fd9 100644 --- a/vimrc +++ b/vimrc @@ -23,9 +23,11 @@ let g:go_highlight_extra_types=1 " nerdtree settings let NERDTreeHighlightCursorLine=1 +autocmd StdinReadPre * let s:std_in=1 +autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif " nerdtree binds nnoremap :NERDTree nnoremap :NERDTreeToggle -nnoremap :NERDTreeFind +nnoremap :NERDTreeFocus From 9147eddc36c12e1aa008d3e55792c7b766d04a38 Mon Sep 17 00:00:00 2001 From: KeeganForelight Date: Fri, 8 Jul 2022 12:28:29 -0400 Subject: [PATCH 2/2] nerdtree install line --- .gitmodules | 3 --- 1 file changed, 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index d6e0f75..1bfc82c 100644 --- a/.gitmodules +++ b/.gitmodules @@ -17,9 +17,6 @@ [submodule "vim/vim-hybrid"] path = vim/vim-hybrid url = https://github.com/w0ng/vim-hybrid.git -[submodule "vim/pack/man/nerdtree"] - path = vim/pack/man/nerdtree - url = https://github.com/preservim/nerdtree.git [submodule "vim/pack/man/start/nerdtree"] path = vim/pack/man/start/nerdtree url = https://github.com/preservim/nerdtree.git