mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
Merge pull request #263 from dmitmel/master
[pull] master from dmitmel:master
This commit is contained in:
commit
9f20a69f0b
2 changed files with 18 additions and 12 deletions
|
@ -266,4 +266,6 @@ set commentstring=//%s
|
||||||
|
|
||||||
let g:vala_syntax_folding_enabled = 0
|
let g:vala_syntax_folding_enabled = 0
|
||||||
|
|
||||||
|
let g:python_recommended_style = 0
|
||||||
|
|
||||||
" }}}
|
" }}}
|
||||||
|
|
|
@ -1,17 +1,21 @@
|
||||||
" mappings {{{
|
" mappings {{{
|
||||||
let g:gitgutter_map_keys = 0
|
let g:gitgutter_map_keys = 0
|
||||||
nnoremap <leader>gg :G
|
nnoremap <leader>gg :<C-u>G
|
||||||
nnoremap <leader>g :Git<space>
|
nnoremap <leader>g :<C-u>Git<space>
|
||||||
nnoremap <leader>gs :vertical Git<CR>
|
nnoremap <leader>gs :<C-u>vertical Git<CR>
|
||||||
nnoremap <leader>gd :Gdiffsplit
|
nnoremap <leader>gd :<C-u>Gdiffsplit
|
||||||
nnoremap <leader>gb :Git blame<CR>
|
nnoremap <leader>gb :<C-u>Git blame<CR>
|
||||||
nnoremap <leader>gw :GBrowse<CR>
|
nnoremap <leader>gw :<C-u>GBrowse<CR>
|
||||||
nnoremap <leader>gW :.GBrowse<CR>
|
nnoremap <leader>gW :<C-u>.GBrowse<CR>
|
||||||
nnoremap <leader>gc :Git commit %
|
nnoremap <leader>gc :<C-u>Git commit %
|
||||||
nnoremap <leader>gC :Git commit --amend
|
nnoremap <leader>gC :<C-u>Git commit --amend
|
||||||
nnoremap <leader>gl :Gclog<CR>
|
nnoremap <leader>gl :<C-u>Gclog<CR>
|
||||||
nnoremap <leader>gp :Git push
|
nnoremap <leader>gp :<C-u>Git push
|
||||||
nnoremap <leader>gP :Git push --force-with-lease
|
nnoremap <leader>gP :<C-u>Git push --force-with-lease
|
||||||
|
" Jump to the next/previous change in the diff mode because I replace the
|
||||||
|
" built-in mappings with coc.nvim's for jumping through diagnostics.
|
||||||
|
nnoremap [g [c
|
||||||
|
nnoremap ]g ]c
|
||||||
" }}}
|
" }}}
|
||||||
|
|
||||||
" Fugitive.vim handlers {{{
|
" Fugitive.vim handlers {{{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue