Learning fugitive and other things
This commit is contained in:
parent
ddae5aed03
commit
c728f365ac
|
@ -88,6 +88,7 @@ in
|
|||
vim-surround
|
||||
vim-fugitive
|
||||
vim-signify
|
||||
fzf-checkout-vim
|
||||
#nvim-colorizer
|
||||
vim-devicons
|
||||
# testing
|
||||
|
@ -185,25 +186,39 @@ in
|
|||
let g:rainbow_active = 0
|
||||
autocmd BufReadPost,BufNewFile c,py,nix RainbowParenthesesToggleAll
|
||||
|
||||
" keyboard commands
|
||||
" general commands
|
||||
map <leader>t :NERDTreeToggle<CR>
|
||||
map <leader>s :w<CR>
|
||||
map <leader>q :wq<CR>
|
||||
map <leader>r :RainbowParenthesesToggleAll<CR>
|
||||
map <leader><BS> :noh<CR>
|
||||
|
||||
" git
|
||||
nmap <leader>gd :SignifyDiff<CR>
|
||||
map <leader>ghu :SignifyHunkUndo<CR>
|
||||
nmap <leader>gl :SignifyList<CR>
|
||||
nmap <leader>gs :G<CR>
|
||||
nmap <leader>gh :diffget //3
|
||||
nmap <leader>gl :diffget //2
|
||||
nmap <leader>gc :GChecout<CR>
|
||||
|
||||
" kitaab
|
||||
map <leader>zs :ZettelSearch<CR>
|
||||
map <leader>zo :ZettelOpen<CR>
|
||||
map <leader>zn :ZettelNew<CR>
|
||||
|
||||
|
||||
" NERDTree
|
||||
" open on directory
|
||||
autocmd StdinReadPre * let s:std_in=1
|
||||
|
||||
" fzf
|
||||
let g:fzf_layout = { 'window': { 'width': 0.8, 'height': 0.8 } }
|
||||
|
||||
|
||||
" ALE + clj-kondo
|
||||
let g:ale_linters = {'clojure': ['clj-kondo']}
|
||||
|
||||
" coc
|
||||
"
|
||||
" conjure extension
|
||||
let g:coc_global_extensions = ['coc-conjure']
|
||||
|
||||
|
|
Loading…
Reference in a new issue