On Sat, Nov 23, 2024 at 04:12:39AM +0000, Roy Fulbright wrote:
> When I triple click a line in GVIM in windows the entire line is selected, but a newline character is part of the selection. How can I triple click a line to select the entire line without the newline character?
Disclaimer: I only work with text files (the proze) and don't do coding.
Is your selection on a line, a sentence or paragraph?
A paragraph can have several sentences, a sentence several lines, a line
several words. These entities all have their own 'nouns' in the VIM
command language.
It depends what VIM-command is behind the tripple-click.
'yy' copies the entire line, also parts that flow forth on new lines
below
'ys' copies the sentence up to the period or whatever mark you set for
the type of file
'yg$' copies til the end of the line with visual characters, but not the
hidden newline. On sentences that flow over several lines this copies
only the line the cursor is on from the cursor position til the enod of
line.
Using the keyboard will give you more control.
KR,
//meine
--
--
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+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/vim_use/Z0Gz1AD9KARS4pPg%40trackstand.
No comments:
Post a Comment