Re: head blank selected

15 views
Skip to first unread message

Christian Brabandt

unread,
May 2, 2013, 9:05:57 AM5/2/13
to vim...@googlegroups.com
Hi shada!

On Mi, 01 Mai 2013, shada wrote:

> 1.Move the cursor to the end of the line
> 2.Press shift + Home
>
> head blank selected, i don't want select head blank, how should i do?

Excuse me, but what is head blank selection?

regards,
Christian
--
Arbeiter arbeiten hart. Mein Geld auch. Sogar h�rter, als mancher Arbeiter.

Chris Lott

unread,
May 2, 2013, 10:03:59 AM5/2/13
to vim...@googlegroups.com
On Wed, May 1, 2013 at 6:17 PM, shada <laf...@gmail.com> wrote:
> 1.Move the cursor to the end of the line
> 2.Press shift + Home
>
> head blank selected, i don't want select head blank, how should i do?

If I understand correctly, you have spaces at the beginning of the
line but want to select only to the first non-space character?

You could use v^ to select rather than the shift+home. Or look at one
of the "smart home" scripts to change the behavior:
http://vim.wikia.com/wiki/Smart_home

Does that help?

c
--
Chris Lott <ch...@chrislott.org>

shada

unread,
May 3, 2013, 10:11:02 AM5/3/13
to vim...@googlegroups.com
Chris Lott, you have help me solved this problem.
thank you.


2013/5/2 Chris Lott <ch...@chrislott.org>

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.



Reply all
Reply to author
Forward
0 new messages