On 01.03.2024 00:40, HenHanna wrote:
i select a region (of text within Vim) and i have to use my Mouse to
copy it (to Clipboard)
Can i do ths by keyboard only? other than...
"+y -------- which is too hard to remember!
There's a couple different approaches you can choose from.
If memorizing these letters is hard use 'gvim' instead of 'vim';
there you have menus available (and the menu entries also show
the key combination to eventually memorize them if you prefer).
You can also use the mouse in 'gvim' to select a region.
Or you can 'map' your own (better memorizable) keyboard command
if you regularly use and cannot remember some specific commands.
Is there a Usenet Newsgroup where there's discussion of Vi or Vim ?
---- [comp.editors] is not active https://www.novabbs.com/computers/thread.php?group=comp.editors
This is the right place. - And it is active. You posted and you
got replies quickly. - If there was no traffic just means that
recently there were no questions.
for Pasting (within Vim) i always Clicked on [Edit] with my Mouse.
but today i discovered that... just hitting "p" does the job.
Okay, now mentioning "Edit" it seems you are using already 'gvim'?
Yes 'p' pastes a copied or cut region after the current line, or
use 'P' to paste it before the current line.
Generally I suggest to choose (depending on your editing tasks!)
whether you want to use "simple" (restricted) mouse and menu based
editing or (fast and powerful) keyboard editing.
You can do all sorts of selections, on different types of editing
entities, etc. You can also operate on regions without an explicit
selection. (Best would be to inspect the vim manual or a tutorial,
since it makes little sense to reproduce all in this post or to
post just an arbitrary subset without knowing what sort of editing
you do.)
>>> Vim has tons more to offer than just p! I’d recommend looking through the helpdocs. Basically anything which can be done
through the toolbar of gvim can be done directly within vim (through the keyboard) instead. (Not to mention, there are thousands of
different key combinations, commands, etc. which can't be done through
the toolbar.)
You obviously got some information already also from another source.
So you may want to come back with specific questions. You're welcome.
Janis
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)