if exists('b:did_ftplugin') finish endif let b:did_ftplugin = 1 setlocal nobuflisted setlocal nolist nospell setlocal nowrap nofoldenable setlocal nomodeline if !get(g:, 'gin_status_disable_default_mappings') map a (gin-action-choice) map . (gin-action-repeat) nmap ? (gin-action-help) map (gin-action-edit)zv map dd (gin-action-diff:smart) map pp (gin-action-patch) map !! (gin-action-chaperon) map << (gin-action-stage) map >> (gin-action-unstage) map == (gin-action-stash) nmap yy (gin-action-yank:path) vmap y (gin-action-yank:path) endif