Friday, April 26, 2013

[DrChipTip#005] netrw and targets

Hello!

Netrw supports a number of file operations: copying, (de)compressing,
deleting, moving, obtaining, printing, renaming, and more.

For many of them, that means "marking" them first - move the cursor atop
a file you want marked, and press "mf".

However, before moving and copying files to a directory, you must first
specify a target. Netrw provides you with four ways of doing this:

* "mt" is used to select a target; when the cursor is atop a
directory, then that directory will be used as the target. Otherwise,
the current netrw directory will be selected as the target.

* For gui (gvim) users, the Netrw menu now has a "Targets" listing,
which is a merged listing of all the bookmarks and history. Selecting
one of these entries specifies a target.

* One may get a listing of bookmarks with "qb"; each is numbered,
and so use [number]Tb to select one of your bookmarked directories to be
a target

* One may get a listing of history with "qb", too: each is
numbered, and you may use [number]Th to select a directory you've
recently been to to be a target.

Regards,
Chip Campbell

--
--
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.
For more options, visit https://groups.google.com/groups/opt_out.

No comments: