Advertisement
Guest User

Untitled

a guest
Jun 25th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. function! <SID>RightKey ()
  2. if s:placeholder_count
  3. let s:placeholder_count -= 1
  4. if getline('.') !~ 'S'
  5. delete
  6. endif
  7. return "<ESC>/" . s:placeholder_pat . "<CR>cw"
  8. else
  9. return "<RIGHT>"
  10. endif
  11. endfunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement