Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Show the list of the files inside the folder of the current file
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Javier Garcia  
View profile  
 More options Nov 13 2012, 9:48 am
From: Javier Garcia <tirengar...@gmail.com>
Date: Tue, 13 Nov 2012 06:48:12 -0800 (PST)
Local: Tues, Nov 13 2012 9:48 am
Subject: Show the list of the files inside the folder of the current file

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?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Shlomi Fish  
View profile  
 More options Nov 13 2012, 9:57 am
From: Shlomi Fish <shlo...@shlomifish.org>
Date: Tue, 13 Nov 2012 16:57:30 +0200
Local: Tues, Nov 13 2012 9:57 am
Subject: Re: Show the list of the files inside the folder of the current file
Hi Javier,

On Tue, 13 Nov 2012 06:48:12 -0800 (PST)

Javier Garcia <tirengar...@gmail.com> 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?

You can use the :E command.

Regards,

        Shlomi Fish

--
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Interview with Ben Collins-Sussman - http://shlom.in/sussman

Linux — Because Software Problems Should not Cost Money.

Please reply to list if it's a mailing list post - http://shlom.in/reply .


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Javier Garcia  
View profile  
 More options Nov 13 2012, 11:29 am
From: Javier Garcia <tirengar...@gmail.com>
Date: Tue, 13 Nov 2012 08:29:26 -0800 (PST)
Local: Tues, Nov 13 2012 11:29 am
Subject: Re: Show the list of the files inside the folder of the current file

Thanks Shlomi, but in that case, I should change first to the folder's file using something like :cd %:h. In other case, :E shows the root proyect folder files, doesn't it?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Lott  
View profile  
 More options Nov 13 2012, 11:32 am
From: Chris Lott <ch...@chrislott.org>
Date: Tue, 13 Nov 2012 07:30:57 -0900
Local: Tues, Nov 13 2012 11:30 am
Subject: Re: Show the list of the files inside the folder of the current file

On Tue, Nov 13, 2012 at 5:48 AM, Javier Garcia <tirengar...@gmail.com> wrote:
> 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?

Look at:
h :FufFileWithCurrentBufferDir@en

CtrlP is a good, maintained, alternative to FuzzyFinder which has
options so that finding a file can be the file's current working
directory (or a few other options).

You could also look at
:h acd
if that works with your plugins.

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Javier Garcia  
View profile  
 More options Nov 13 2012, 11:32 am
From: Javier Garcia <tirengar...@gmail.com>
Date: Tue, 13 Nov 2012 08:32:42 -0800 (PST)
Local: Tues, Nov 13 2012 11:32 am
Subject: Re: Show the list of the files inside the folder of the current file

I meant when I open a new tab.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Lott  
View profile  
 More options Nov 13 2012, 11:42 am
From: Chris Lott <ch...@chrislott.org>
Date: Tue, 13 Nov 2012 07:41:59 -0900
Local: Tues, Nov 13 2012 11:41 am
Subject: Re: Show the list of the files inside the folder of the current file

On Tue, Nov 13, 2012 at 7:32 AM, Javier Garcia <tirengar...@gmail.com> wrote:
> I meant when I open a new tab

I don't understand the question. Do you want to open a file in a new
tab from Fuzzy File finder? Then use ctrl-l

Otherwise, what are you opening in the new tab? If nothing, then your
current working directory is your home directory and that's what
FuzzyFile finder shows. There is no "folder that belongs to the file
I'm editing" because you have no file open.

 What directory do you want it to be if you have nothing in a buffer?
How is Vim to know?

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
taco  
View profile  
 More options Nov 13 2012, 10:33 am
From: taco <tac...@gmail.com>
Date: Tue, 13 Nov 2012 23:33:51 +0800
Local: Tues, Nov 13 2012 10:33 am
Subject: Re: Show the list of the files inside the folder of the current file
On 11/13/2012 10:57 PM, Shlomi Fish wrote:

thank you very much, this is very useful.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tony Mechelynck  
View profile  
 More options Nov 13 2012, 6:36 pm
From: Tony Mechelynck <antoine.mechely...@gmail.com>
Date: Wed, 14 Nov 2012 00:35:53 +0100
Local: Tues, Nov 13 2012 6:35 pm
Subject: Re: Show the list of the files inside the folder of the current file
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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »