Tony Mechelynck wrote: > > 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. > ... > viw<Esc>`<
Won't work if cursor is in the space before the word. Weird actually how all those motion commands like iw work differently from every other vim command that uses a word under the cursor. The vim commands all use the next word if there isn't one under the cursor, which is what I want to do. > yiw Same problem as above. If it wasn't for the space under the cursor I could just use wb which works very well provided the cursor is already on the actual word. Thanks, Rob. -- Robert Webb <[EMAIL PROTECTED]>, MineSweeper3D - Take Minesweeper to a whole new dimension! http://www.software3d.com/Mines3D --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_dev" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
