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