mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 11:00:05 +08:00
28 lines
723 B
VimL
28 lines
723 B
VimL
|
setlocal nomodeline
|
||
|
setlocal nobuflisted
|
||
|
setlocal nolist nospell
|
||
|
setlocal nowrap nofoldenable
|
||
|
setlocal nonumber norelativenumber
|
||
|
setlocal foldcolumn=0 colorcolumn=0
|
||
|
|
||
|
call gina#action#include('browse')
|
||
|
call gina#action#include('compare')
|
||
|
call gina#action#include('diff')
|
||
|
call gina#action#include('edit')
|
||
|
call gina#action#include('show')
|
||
|
call gina#action#include('yank')
|
||
|
|
||
|
if g:gina#command#changes#use_default_aliases
|
||
|
call gina#action#shorten('edit')
|
||
|
endif
|
||
|
|
||
|
if g:gina#command#changes#use_default_mappings
|
||
|
nmap <buffer> <Return> <Plug>(gina-edit)zv
|
||
|
|
||
|
nmap <buffer> dd <Plug>(gina-diff)
|
||
|
nmap <buffer> DD <Plug>(gina-diff-vsplit)
|
||
|
|
||
|
nmap <buffer> cc <Plug>(gina-compare)
|
||
|
nmap <buffer> CC <Plug>(gina-compare-tab)
|
||
|
endif
|