nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Nano-devel] patch for navigation in view mode


From: Jason DeVita
Subject: [Nano-devel] patch for navigation in view mode
Date: Thu, 16 Oct 2008 11:04:40 -0700 (PDT)
User-agent: Alpine 1.00 (DEB 882 2007-12-20)

Hi,

I've made a patch to allow vi/less style navigation while in view-mode, and also to toggle between view and edit modes. Basically, Mod-1 toggles view-mode. And when in view-mode, you can use h-j-k-l to move the cursor, 'b' and <space> to page up/down, '/' to search, n/N to find next/previous match, g/G to goto start/end of the document, and 'q' to quit. I find it much faster to use these when I'm mostly navigating, and not doing much editing.

I'm not much of an applications programmer (I normally write numerical/scientific stuff), so I don't know if what I did is wrong or bad. But it seems to work for me. The patch is on the svn tip (as of today).

Regards,
Jason

Attachment: view_nav.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]