Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save haya14busa/8503819 to your computer and use it in GitHub Desktop.
Save haya14busa/8503819 to your computer and use it in GitHub Desktop.
" buffer書き換え前
let s:mychangedtick = b:changedtick
" buffer書き換えて操作
" ...
" 書き換え後に
" for tpope/vim-repeat
if exists('g:repeat_tick')
if g:repeat_tick == s:mychangedtick
let g:repeat_tick = b:changedtick
endif
endif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment