Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save t9md/8505172 to your computer and use it in GitHub Desktop.
Save t9md/8505172 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