1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-24 06:30:03 +08:00
SpaceVim/bundle/gina.vim/ftplugin/gina-stash-show.vim

27 lines
694 B
VimL
Vendored

setlocal nomodeline
setlocal nobuflisted
setlocal nolist nospell
setlocal nowrap nofoldenable
setlocal nonumber norelativenumber
setlocal foldcolumn=0 colorcolumn=0
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#stash#show#use_default_aliases
call gina#action#shorten('show')
endif
if g:gina#command#stash#show#use_default_mappings
nmap <buffer> <Return> <Plug>(gina-show)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