<div>Vegard,</div><div><br></div>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.<div>
<div><br><div><div>------------------------------------------------------------------------------</div><div>2.3. NERD tree Mappings *NERDTreeMappings*</div><div><br></div><div>Default Description~ help-tag~</div>
<div>Key~</div><div><br></div><div>o.......Open files, directories and bookmarks....................|NERDTree-o|</div><div>go......Open selected file, but leave cursor in the NERDTree.....|NERDTree-go|</div><div>t.......Open selected node/bookmark in a new tab.................|NERDTree-t|</div>
<div>T.......Same as 't' but keep the focus on the current tab........|NERDTree-T|</div><div>i.......Open selected file in a split window.....................|NERDTree-i|</div><div>gi......Same as i, but leave the cursor on the NERDTree..........|NERDTree-gi|</div>
<div>s.......Open selected file in a new vsplit.......................|NERDTree-s|</div><div>gs......Same as s, but leave the cursor on the NERDTree..........|NERDTree-gs|</div><div>O.......Recursively open the selected directory..................|NERDTree-O|</div>
<div>x.......Close the current nodes parent...........................|NERDTree-x|</div><div>X.......Recursively close all children of the current node.......|NERDTree-X|</div><div>e.......Edit the current dif.....................................|NERDTree-e|</div>
<div><br></div><div><CR>...............same as |NERDTree-o|.</div><div>double-click.......same as the |NERDTree-o| map.</div><div>middle-click.......same as |NERDTree-i| for files, same as</div><div> |NERDTree-e| for dirs.</div>
<div><br></div><div>D.......Delete the current bookmark .............................|NERDTree-D|</div><div><br></div><div>P.......Jump to the root node....................................|NERDTree-P|</div><div>p.......Jump to current nodes parent.............................|NERDTree-p|</div>
<div>K.......Jump up inside directories at the current tree depth.....|NERDTree-K|</div><div>J.......Jump down inside directories at the current tree depth...|NERDTree-J|</div><div><C-J>...Jump down to the next sibling of the current directory...|NERDTree-C-J|</div>
<div><C-K>...Jump up to the previous sibling of the current directory.|NERDTree-C-K|</div><div><br></div><div>C.......Change the tree root to the selected dir.................|NERDTree-C|</div><div>u.......Move the tree root up one directory......................|NERDTree-u|</div>
<div>U.......Same as 'u' except the old root node is left open........|NERDTree-U|</div><div>r.......Recursively refresh the current directory................|NERDTree-r|</div><div>R.......Recursively refresh the current root.....................|NERDTree-R|</div>
<div>m.......Display the NERD tree menu...............................|NERDTree-m|</div><div>cd......Change the CWD to the dir of the selected node...........|NERDTree-cd|</div><div><br></div><div>I.......Toggle whether hidden files displayed....................|NERDTree-I|</div>
<div>f.......Toggle whether the file filters are used.................|NERDTree-f|</div><div>F.......Toggle whether files are displayed.......................|NERDTree-F|</div><div>B.......Toggle whether the bookmark table is displayed...........|NERDTree-B|</div>
<div><br></div><div>q.......Close the NERDTree window................................|NERDTree-q|</div><div>A.......Zoom (maximize/minimize) the NERDTree window.............|NERDTree-A|</div><div>?.......Toggle the display of the quick help.....................|NERDTree-?|</div>
<div><br></div><div><br></div><div><br></div><div><br></div>Thanks & Regards,<br>Neeraj Sharma<br>
<br><br><div class="gmail_quote">On Mon, Jul 25, 2011 at 3:00 AM, <span dir="ltr"><<a href="mailto:implementations-list-request@lists.ourproject.org">implementations-list-request@lists.ourproject.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Send implementations-list mailing list submissions to<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
<br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:implementations-list-request@lists.ourproject.org">implementations-list-request@lists.ourproject.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:implementations-list-owner@lists.ourproject.org">implementations-list-owner@lists.ourproject.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of implementations-list digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. Re: Evil Mode minor bugs (Vegard ?ye)<br>
2. Re: Evil Mode (Vegard ?ye)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Sun, 24 Jul 2011 19:32:44 +0200<br>
From: Vegard ?ye <<a href="mailto:vegard_oye@hotmail.com">vegard_oye@hotmail.com</a>><br>
Subject: Re: Evil Mode minor bugs<br>
To: vi/Vim emulation in Emacs<br>
<<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a>><br>
Cc: laputa5 <<a href="mailto:laputa5@gmail.com">laputa5@gmail.com</a>><br>
Message-ID: <BLU0-SMTP297B08E718F472FE9AC633E0300@phx.gbl><br>
Content-Type: text/plain; charset="ISO-8859-1"<br>
<br>
On 2011-07-24 02:03 +0200, laputa5 wrote:<br>
<br>
> After I did a 'git pull' today, I noticed most files/modes are<br>
> opened with 'emacs' state by default, which wasn't the case<br>
> before I pulled the updates. Is this intentional?<br>
<br>
Yes, but it's not permanent. I intend to give most Emacs modes<br>
vi bindings, but the more complex modes require some adaption.<br>
In the meantime, Emacs state is used in a number of cases<br>
to keep things minimally functional.<br>
<br>
> I had to hack the function 'evil-initial-state-for-buffer'<br>
> to open in 'normal' state by default. Is there an easier way?<br>
<br>
The state a mode comes up in can be changed with<br>
`evil-set-initial-state', e.g.,<br>
<br>
(evil-set-initial-state 'Custom-mode 'normal)<br>
<br>
To view the default settings, inspect the following variables<br>
(with "C-h v"): `evil-emacs-state-modes', `evil-insert-state-modes'<br>
and `evil-motion-state-modes'. Modes not listed here come up<br>
in Normal state.<br>
<br>
> In the following case, doing a "va(" or "vi(" doesn't work.<br>
> (aaa "bb[]bb" aa)<br>
> where [] is the cursor.<br>
<br>
Fixed in commit 6e74963.<br>
<br>
--<br>
Vegard<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sun, 24 Jul 2011 19:31:03 +0200<br>
From: Vegard ?ye <<a href="mailto:vegard_oye@hotmail.com">vegard_oye@hotmail.com</a>><br>
Subject: Re: Evil Mode<br>
To: <a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
Message-ID: <BLU0-SMTP50C112F9007A4CCB3F34A4E0300@phx.gbl><br>
Content-Type: text/plain; charset="ISO-8859-1"<br>
<br>
On 2011-07-23 08:15 +0200, Neeraj Sharma wrote:<br>
<br>
> Regarding dired mode, I do see its in emacs state by default but<br>
> i find it somewhat confusing for the fingers to go back and forth<br>
> between j/k (other modes) and n/p (dired).<br>
<br>
Dired now comes up in Normal state by default (commit 9a44dbe).<br>
As a modest starting point, I have added vi bindings for<br>
"h", "j", "k" and "l", but left everything else untouched.<br>
<br>
> On vim, I really like the NERDTREE shortcuts so replicating those<br>
> is what comes to my mind.<br>
<br>
That is an interesting suggestion. Since you are used to NERDTree's<br>
shortcuts, what are the biggest differences between them and Dired's?<br>
<br>
--<br>
Vegard<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
implementations-list mailing list<br>
<a href="mailto:implementations-list@lists.ourproject.org">implementations-list@lists.ourproject.org</a><br>
<a href="https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list" target="_blank">https://lists.ourproject.org/cgi-bin/mailman/listinfo/implementations-list</a><br>
<br>
<br>
End of implementations-list Digest, Vol 33, Issue 8<br>
***************************************************<br>
</blockquote></div><br></div></div></div>