Cleanup and new plugins
This commit is contained in:
parent
d4593cea51
commit
1cf1d5f484
1 changed files with 31 additions and 32 deletions
49
vim/.vimrc
49
vim/.vimrc
|
|
@ -30,7 +30,7 @@
|
||||||
Plug 'sainnhe/vim-color-forest-night'
|
Plug 'sainnhe/vim-color-forest-night'
|
||||||
Plug 'justinmk/vim-sneak'
|
Plug 'justinmk/vim-sneak'
|
||||||
Plug 'axvr/zepl.vim'
|
Plug 'axvr/zepl.vim'
|
||||||
Plug 'kovisoft/slimv'
|
" Plug 'kovisoft/slimv'
|
||||||
Plug 'tpope/vim-vinegar'
|
Plug 'tpope/vim-vinegar'
|
||||||
Plug 'preservim/nerdtree'
|
Plug 'preservim/nerdtree'
|
||||||
Plug 'vimwiki/vimwiki'
|
Plug 'vimwiki/vimwiki'
|
||||||
|
|
@ -39,29 +39,24 @@
|
||||||
Plug 'junegunn/gv.vim'
|
Plug 'junegunn/gv.vim'
|
||||||
Plug 'rbong/vim-flog'
|
Plug 'rbong/vim-flog'
|
||||||
Plug 'tpope/vim-unimpaired'
|
Plug 'tpope/vim-unimpaired'
|
||||||
|
" Clojure
|
||||||
|
Plug 'guns/vim-clojure-static' " syntax
|
||||||
|
Plug 'tpope/vim-fireplace'
|
||||||
|
Plug 'guns/vim-sexp'
|
||||||
|
Plug 'tpope/vim-sexp-mappings-for-regular-people'
|
||||||
|
Plug 'dylanaraps/wal.vim'
|
||||||
|
" Plug 'tpope/vim-salve'
|
||||||
|
" cljfold
|
||||||
|
|
||||||
" Todo:
|
" " Todo:
|
||||||
" GV
|
" "
|
||||||
" Gundo (or undotree?)
|
|
||||||
" Emmett
|
|
||||||
" Fugitive
|
|
||||||
" Vimwiki
|
|
||||||
" Plug 'ryanss/vim-hackernews'
|
|
||||||
" Plug 'mbbill/undotree' or Plug 'sjl/gundo.vim'
|
|
||||||
" Plug 'tpope/vim-projectionist'
|
|
||||||
" Plug 'mileszs/ack.vim'
|
|
||||||
" Plug 'vim-pandoc/vim-pandoc'
|
|
||||||
" Plug 'alfredodeza/pytest.vim'
|
|
||||||
" Plug 'docker/docker'
|
|
||||||
" Plug vim-scripts/indentpython.vim
|
|
||||||
"
|
|
||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" appearance {{{
|
" appearance {{{
|
||||||
colorscheme zenburn
|
" colorscheme zenburn
|
||||||
" colorscheme wal
|
colorscheme wal
|
||||||
syntax on " Enable syntax
|
syntax on " Enable syntax
|
||||||
set encoding=utf-8 " Keep utf-8 encoding
|
set encoding=utf-8 " Keep utf-8 encoding
|
||||||
set scrolloff=2 " Keep at least 3 lines above and below cursor
|
set scrolloff=2 " Keep at least 3 lines above and below cursor
|
||||||
|
|
@ -202,11 +197,18 @@
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" slimv{{{
|
" slimv{{{
|
||||||
let g:slimv_repl_split=2
|
" let g:slimv_repl_split=2
|
||||||
let g:slimv_repl_split_size=10
|
" let g:slimv_repl_split_size=10
|
||||||
"
|
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
|
|
||||||
|
" clojure {{{
|
||||||
|
" TODO: make only work in clojure files
|
||||||
|
nnoremap <leader>e :Eval<CR> " eval form
|
||||||
|
nnoremap <leader>E :%Eval<CR> " eval file
|
||||||
|
" }}}
|
||||||
|
|
||||||
" split pane navigation {{{
|
" split pane navigation {{{
|
||||||
" Map vertical split to \ w, switch to it, open explorer, prompt for filename
|
" Map vertical split to \ w, switch to it, open explorer, prompt for filename
|
||||||
" TODO: make new window prompt use fzf
|
" TODO: make new window prompt use fzf
|
||||||
|
|
@ -304,14 +306,11 @@
|
||||||
"}}}
|
"}}}
|
||||||
|
|
||||||
" git commands {{{
|
" git commands {{{
|
||||||
" TODO: map fugitive commands
|
|
||||||
" TODO: check out gv etc
|
|
||||||
" TODO: bind hunk committing
|
|
||||||
" Gitgutter hunk view
|
|
||||||
nmap ghv <Plug>(GitGutterPreviewHunk)
|
nmap ghv <Plug>(GitGutterPreviewHunk)
|
||||||
nmap ghn <Plug>(GitGutterNextHunk)
|
nmap ghn <Plug>(GitGutterNextHunk)
|
||||||
nmap ghp <Plug>(GitGutterPrevHunk)
|
nmap ghp <Plug>(GitGutterPrevHunk)
|
||||||
nmap ghf <Plug>(GitGutterFold)
|
nmap ghf <Plug>(GitGutterFold)
|
||||||
|
nmap ghs <Plug>(GitGutterStageHunk)
|
||||||
" Controls fugitive diff split direction
|
" Controls fugitive diff split direction
|
||||||
set diffopt=vertical
|
set diffopt=vertical
|
||||||
"}}}
|
"}}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue