Add clojure, web dev, git undo, and resolved vimrc's

This commit is contained in:
Ian Keane 2020-07-20 09:10:30 -04:00
parent 1cf1d5f484
commit b7f437d22e
2 changed files with 56 additions and 23 deletions

View file

@ -45,7 +45,10 @@
Plug 'guns/vim-sexp'
Plug 'tpope/vim-sexp-mappings-for-regular-people'
Plug 'dylanaraps/wal.vim'
Plug 'alvan/vim-closetag'
Plug 'mattn/emmet-vim'
" Plug 'tpope/vim-salve'
Plug 'chrisbra/colorizer'
" cljfold
" " Todo:
@ -107,6 +110,7 @@
set lazyredraw " Redraw only when necessary
set updatetime=100 " Make updates happen faster (gitgutter)
set splitright " Make split to right by default
set splitbelow
set winheight=30 " Soft minimum window height (active)
"set winminheight=10 " Hard minimum window height (inactive)
set winwidth=85 " Window width for current window
@ -202,6 +206,19 @@
"}}}
" {{{ web dev
autocmd FileType html set softtabstop=2
autocmd FileType html set ts=2
autocmd FileType html set shiftwidth=2
autocmd FileType css set softtabstop=2
autocmd FileType css set ts=2
autocmd FileType html set shiftwidth=2
" Emmet tab size
let g:user_emmet_settings = {
\ 'indentation' : ' '
\}
" }}}
" clojure {{{
" TODO: make only work in clojure files
@ -313,6 +330,7 @@
nmap ghs <Plug>(GitGutterStageHunk)
" Controls fugitive diff split direction
set diffopt=vertical
command! Gundo !git reset --soft HEAD~1
"}}}
" fold search {{{