Sometimes I want to set a starting mark then type a word(usually a long variable name), after finishing the word I may set an ending mark. Then I can get the word stored in my register so that I can paste it without any extra movement, mode switch, etc.
How can I make that? Or there is a better "vim-way" to achieve the similar effect?
Thank you.