aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-11-17 00:18:52 -0500
committerMitch Riedstra <mitch@riedstra.us>2018-11-17 00:18:52 -0500
commit4a17da460143359f29ec1f6c5bb6812d82759cda (patch)
treec1e748d7c558b982f38f5f72db653c4615a98fda
parentf261ab25a738aad9accb6c274cc865671e1e6b89 (diff)
downloadvim-cfg-4a17da460143359f29ec1f6c5bb6812d82759cda.tar.gz
vim-cfg-4a17da460143359f29ec1f6c5bb6812d82759cda.tar.xz
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
-rw-r--r--inc/rebinds.vim2
-rw-r--r--init.vim26
-rwxr-xr-xsetup.sh44
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 <Right> <NOP>
inoremap <Up> <NOP>
inoremap <Down> <NOP>
-map <C-n> :NERDTreeToggle<CR>
+map <C-n> :Lex<CR>
" To enable/disable the autocomplete dropdown
nmap <leader> [ :AcpDisable<CR>
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