From 4a17da460143359f29ec1f6c5bb6812d82759cda Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sat, 17 Nov 2018 00:18:52 -0500 Subject: Remove NERDTree. Use :Lex instead. Add a few themes. Switch off syntax highlight line numbering and listchars by default. Set airline theme to be monochrome --- inc/rebinds.vim | 2 +- init.vim | 26 ++++++++++++++++++++++++-- setup.sh | 44 +++++++++++++++++++++++++------------------- 3 files changed, 50 insertions(+), 22 deletions(-) diff --git a/inc/rebinds.vim b/inc/rebinds.vim index 4debb51..65dfc0e 100644 --- a/inc/rebinds.vim +++ b/inc/rebinds.vim @@ -4,7 +4,7 @@ inoremap inoremap inoremap -map :NERDTreeToggle +map :Lex " To enable/disable the autocomplete dropdown nmap [ :AcpDisable diff --git a/init.vim b/init.vim index 9c7a982..d07b9e1 100644 --- a/init.vim +++ b/init.vim @@ -11,7 +11,29 @@ source ~/.vim/inc/ctrlp.vim filetype plugin on set omnifunc=syntaxcomplete#Complete +" Stolen from the help page: +" +" One typical way to use the netrw tree display is to: > +" +" vim . +" (use i until a tree display shows) +" navigate to a file +" v (edit as desired in vertically split window) +" ctrl-w h (to return to the netrw listing) +" P (edit newly selected file in the previous window) +" ctrl-w h (to return to the netrw listing) +" P (edit newly selected file in the previous window) +let g:netrw_liststyle=3 -set list +set nonu +set termguicolors +set background=dark +syntax off +let g:airline_theme="monochrome" -colorscheme distinguished +" colorscheme distinguished +" colorscheme solarized +" set background=light +" set background=dark +" colorscheme dracula +"colorscheme orbital diff --git a/setup.sh b/setup.sh index d23729e..919e777 100755 --- a/setup.sh +++ b/setup.sh @@ -14,36 +14,42 @@ clone() { fi cd $WD } -DIR="bundle/nerdtree" -URL="https://github.com/scrooloose/nerdtree.git" -clone -DIR="bundle/vim-autocomplpop" -URL="https://git.riedstra.us/vim/vim-autocomplpop.git" +DIR="bundle/ag.vim" +URL="https://github.com/rking/ag.vim.git" clone -DIR="bundle/vim-airline" -URL="https://github.com/vim-airline/vim-airline.git" +DIR="bundle/ctrlp.vim" +URL="https://github.com/ctrlpvim/ctrlp.vim" clone DIR="bundle/emmet-vim" URL="https://github.com/mattn/emmet-vim.git" clone -DIR="bundle/jinja2-syntax" -URL="https://github.com/Glench/Vim-Jinja2-Syntax.git" -clone -DIR="bundle/vim-distinguished" -URL="https://github.com/Lokaltog/vim-distinguished.git" +DIR="bundle/l9" +URL="https://git.riedstra.us/mitch/vim-l9.git" clone DIR="bundle/vim-airline-themes" URL="https://github.com/vim-airline/vim-airline-themes/" clone -DIR="bundle/ag.vim" -URL="https://github.com/rking/ag.vim.git" -clone -DIR="bundle/ctrlp.vim" -URL="https://github.com/ctrlpvim/ctrlp.vim" +DIR="bundle/vim-airline" +URL="https://github.com/vim-airline/vim-airline.git" clone -DIR="bundle/l9" -URL="https://git.riedstra.us/vim/vim-l9.git" +DIR="bundle/vim-autocomplpop" +URL="https://git.riedstra.us/mitch/vim-autocomplpop.git" clone DIR="bundle/vim-go" URL="https://github.com/fatih/vim-go.git" clone +DIR="themes/distinguished" +URL="https://github.com/Lokaltog/vim-distinguished.git" +clone +DIR="themes/solarized" +URL="https://github.com/altercation/vim-colors-solarized" +clone +DIR="themes/256noir" +URL="https://github.com/andreasvc/vim-256noir" +clone +DIR="themes/orbital" +URL="https://github.com/fcpg/vim-orbital" +clone +DIR="themes/dracula" +URL="https://github.com/dracula/vim.git" +clone -- cgit v1.2.3