Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function! <SID>RightKey ()
- if s:placeholder_count
- let s:placeholder_count -= 1
- if getline('.') !~ 'S'
- delete
- endif
- return "<ESC>/" . s:placeholder_pat . "<CR>cw"
- else
- return "<RIGHT>"
- endif
- endfunction
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement