Here's what seems like a really stupid question:

What's the simplest way to move the cursor to the start of the word under
it?
"Under it" includes the word after the cursor if there's no identifier under
it.

None of these quite work:

b - The obvious choice, but won't work if the cursor is already on the first
character or before it.

wb - My usual method.  Won't work if the cursor is in the space before the
word though (nor on a single-character word at the end of the file, although
I could live with that).

eb - Won't work on last character of word.

*# - OK, I guess this should work, but seems inefficient to do a search.

I'm trying to avoid a more complicated piece of script for such a simple
operation.

Thanks, and sorry if it is a stupid question with an obvious answer :-)
Rob.

--

Robert Webb <[EMAIL PROTECTED]>,
Want to make polyhedra?
http://www.software3d.com/Stella.php


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui