Vegard,

Here are the major shortcuts from the NERDTree doc. One of the major differences is it can open a tree (not sure if its possible in pure dired mode) but things like u for upper level dir and P for parent root feel very intutive.

------------------------------------------------------------------------------
2.3. NERD tree Mappings                                     *NERDTreeMappings*

Default  Description~                                             help-tag~
Key~

o.......Open files, directories and bookmarks....................|NERDTree-o|
go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|
t.......Open selected node/bookmark in a new tab.................|NERDTree-t|
T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|
i.......Open selected file in a split window.....................|NERDTree-i|
gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|
s.......Open selected file in a new vsplit.......................|NERDTree-s|
gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|
O.......Recursively open the selected directory..................|NERDTree-O|
x.......Close the current nodes parent...........................|NERDTree-x|
X.......Recursively close all children of the current node.......|NERDTree-X|
e.......Edit the current dif.....................................|NERDTree-e|

<CR>...............same as |NERDTree-o|.
double-click.......same as the |NERDTree-o| map.
middle-click.......same as |NERDTree-i| for files, same as
                   |NERDTree-e| for dirs.

D.......Delete the current bookmark .............................|NERDTree-D|

P.......Jump to the root node....................................|NERDTree-P|
p.......Jump to current nodes parent.............................|NERDTree-p|
K.......Jump up inside directories at the current tree depth.....|NERDTree-K|
J.......Jump down inside directories at the current tree depth...|NERDTree-J|
<C-J>...Jump down to the next sibling of the current directory...|NERDTree-C-J|
<C-K>...Jump up to the previous sibling of the current directory.|NERDTree-C-K|

C.......Change the tree root to the selected dir.................|NERDTree-C|
u.......Move the tree root up one directory......................|NERDTree-u|
U.......Same as 'u' except the old root node is left open........|NERDTree-U|
r.......Recursively refresh the current directory................|NERDTree-r|
R.......Recursively refresh the current root.....................|NERDTree-R|
m.......Display the NERD tree menu...............................|NERDTree-m|
cd......Change the CWD to the dir of the selected node...........|NERDTree-cd|

I.......Toggle whether hidden files displayed....................|NERDTree-I|
f.......Toggle whether the file filters are used.................|NERDTree-f|
F.......Toggle whether files are displayed.......................|NERDTree-F|
B.......Toggle whether the bookmark table is displayed...........|NERDTree-B|

q.......Close the NERDTree window................................|NERDTree-q|
A.......Zoom (maximize/minimize) the NERDTree window.............|NERDTree-A|
?.......Toggle the display of the quick help.....................|NERDTree-?|




Thanks & Regards,
Neeraj Sharma


On Mon, Jul 25, 2011 at 3:00 AM, <implementations-list-request@lists.ourproject.org> wrote:
Send implementations-list mailing list submissions to
       implementations-list@lists.ourproject.org

To subscribe or unsubscribe via the World Wide Web, visit
       https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list

or, via email, send a message with subject or body 'help' to
       implementations-list-request@lists.ourproject.org

You can reach the person managing the list at
       implementations-list-owner@lists.ourproject.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of implementations-list digest..."


Today's Topics:

  1. Re: Evil Mode minor bugs (Vegard ?ye)
  2. Re: Evil Mode (Vegard ?ye)


----------------------------------------------------------------------

Message: 1
Date: Sun, 24 Jul 2011 19:32:44 +0200
From: Vegard ?ye <vegard_oye@hotmail.com>
Subject: Re: Evil Mode minor bugs
To: vi/Vim emulation in Emacs
       <implementations-list@lists.ourproject.org>
Cc: laputa5 <laputa5@gmail.com>
Message-ID: <BLU0-SMTP297B08E718F472FE9AC633E0300@phx.gbl>
Content-Type: text/plain; charset="ISO-8859-1"

On 2011-07-24 02:03 +0200, laputa5 wrote:

> After I did a 'git pull' today, I noticed most files/modes are
> opened with 'emacs' state by default, which wasn't the case
> before I pulled the updates. Is this intentional?

Yes, but it's not permanent. I intend to give most Emacs modes
vi bindings, but the more complex modes require some adaption.
In the meantime, Emacs state is used in a number of cases
to keep things minimally functional.

> I had to hack the function 'evil-initial-state-for-buffer'
> to open in 'normal' state by default. Is there an easier way?

The state a mode comes up in can be changed with
`evil-set-initial-state', e.g.,

   (evil-set-initial-state 'Custom-mode 'normal)

To view the default settings, inspect the following variables
(with "C-h v"): `evil-emacs-state-modes', `evil-insert-state-modes'
and `evil-motion-state-modes'. Modes not listed here come up
in Normal state.

> In the following case, doing a "va(" or "vi("  doesn't work.
>     (aaa "bb[]bb" aa)
> where [] is the cursor.

Fixed in commit 6e74963.

--
Vegard



------------------------------

Message: 2
Date: Sun, 24 Jul 2011 19:31:03 +0200
From: Vegard ?ye <vegard_oye@hotmail.com>
Subject: Re: Evil Mode
To: implementations-list@lists.ourproject.org
Message-ID: <BLU0-SMTP50C112F9007A4CCB3F34A4E0300@phx.gbl>
Content-Type: text/plain; charset="ISO-8859-1"

On 2011-07-23 08:15 +0200, Neeraj Sharma wrote:

> Regarding dired mode, I do see its in emacs state by default but
> i find it somewhat confusing for the fingers to go back and forth
> between j/k (other modes) and n/p (dired).

Dired now comes up in Normal state by default (commit 9a44dbe).
As a modest starting point, I have added vi bindings for
"h", "j", "k" and "l", but left everything else untouched.

> On vim, I really like the NERDTREE shortcuts so replicating those
> is what comes to my mind.

That is an interesting suggestion. Since you are used to NERDTree's
shortcuts, what are the biggest differences between them and Dired's?

--
Vegard



------------------------------

_______________________________________________
implementations-list mailing list
implementations-list@lists.ourproject.org
https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list


End of implementations-list Digest, Vol 33, Issue 8
***************************************************