1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 02:20:03 +08:00
SpaceVim/bundle/gina.vim/ftplugin/gina-branch.vim

25 lines
724 B
VimL

setlocal nomodeline
setlocal nobuflisted
setlocal nolist nospell
setlocal nowrap nofoldenable
setlocal nonumber norelativenumber
setlocal foldcolumn=0 colorcolumn=0
call gina#action#include('branch')
call gina#action#include('browse')
call gina#action#include('changes')
call gina#action#include('commit')
call gina#action#include('show')
call gina#action#include('yank')
call gina#action#include('ls')
if g:gina#command#branch#use_default_aliases
call gina#action#shorten('branch')
call gina#action#alias('checkout', 'commit:checkout')
call gina#action#alias('checkout:track', 'commit:checkout:track')
endif
if g:gina#command#branch#use_default_mappings
nmap <buffer> <Return> <Plug>(gina-commit-checkout)
endif