On 13/11/12 15:48, Javier Garcia wrote:
Hi,
imagine I'm editing file, and I want to show the list of the files inside the
folder who belongs the file I'm editing, to edit one of them.
How can I do that? Is there any way using FuzzyFinder?
FuzzyFinder (which I don't use) is not necessary.
To see the contents of the directory of the current file:
in a new window, horizontally split
:new %:h
in a new window, vertically split
:vert new %:h
in a new tab
:tabnew %:h
in a new tab at far right
:exe tabpagenr('$') 'tabnew %:h'
see
:help pi_netrw.txt
:help :new
:help current-file
:help filename-modifiers
:help :vert
:help tabnew
See also
:help :aboveleft
:help :leftabove
:help :belowright
:help :rightbelow
:help :topleft
:help :botright
:help :tab
for even finer control on where the new window or tab opens.
Best regards,
Tony.
--
TIM: That is not an ordinary rabbit ... 'tis the most foul cruel and
bad-tempered thing you ever set eyes on.
ROBIN: You tit. I soiled my armour I was so scared!
"Monty Python and the Holy Grail" PYTHON (MONTY)
PICTURES LTD
--
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