> On Wed, Nov 2, 2011 at 07:36, Tony Mechelynck
> <antoine.mechelynck@gmail.com> wrote:
>> In Normal mode, you should be able to use Shift-Left as a modifier to the d
>> (delete) command, to delete [count] words leftwards, or the command daw
>> ("delete a word") to delete the word under the cursor (on both sides) and
>> the white space on one side of it. See :help text-objects
>>
>
> Tony, is there an alternative way to delete the previous word from
> Command mode. I often i^w<esc> but if I could save some keystrokes I
> would appreciate it. For that matter, what is the keyboard shortcut
> for going _back_ one word?
Shift-Left, as I said. Or, by looking it up (by ":help <S-Left>" without
the quotes), you would have found b as a synonym.
>
> Shift-Left is mapped by default to Previous Tab in Konsole, and I use
> that feature often enough to not want to change it. That said, I work
> on disparate servers (SSH) so I prefer to learn the 'right' VIM way as
> opposed to remapping when I can.
>
> Thanks.
>
The rightest of the "right" Vim ways is to RTFM.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
211. Your husband leaves you...taking the computer with him and you
call him crying, and beg him to bring the computer back.
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
No comments:
Post a Comment