Skip to content

Instantly share code, notes, and snippets.

@ryotako
Last active September 3, 2016 03:57
Show Gist options
  • Save ryotako/0e8898084aeac443ecd762c60e8b7dac to your computer and use it in GitHub Desktop.
Save ryotako/0e8898084aeac443ecd762c60e8b7dac to your computer and use it in GitHub Desktop.
inclineの設定
" linewise increment {{{2
map ga <Plug>(incline-inc)
map gx <Plug>(incline-dec)
vmap <expr> <C-a> mode() ==# "V" ? "\<Plug>(incline-inc)" : "\<C-a>"
vmap <expr> <C-x> mode() ==# "V" ? "\<Plug>(incline-dec)" : "\<C-x>"
vmap <expr> g<C-a> mode() ==# "V" ? "\<Plug>(incline-inc-inclined)" : "g\<C-a>"
vmap <expr> g<C-x> mode() ==# "V" ? "\<Plug>(incline-dec-inclined)" : "g\<C-x>"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment