|
Top Document: Getting Started with News and the NN News Reader Previous Document: ... ... 4.4.1 Variable Settings Next Document: ... ... 4.4.3 Host-Specific Settings See reader questions & answers on this topic! - Help others by sharing your knowledge It gets confusing when different programs use different keys for the same command. For example, pine and lynx use the minus key, `-', to move back a page, but nn uses `<' to move back a page in a menu mode and the BS key to move back a page in show mode. You can map a key to an nn command by using nn's map command. The format of the command is: map <mode> <key> <command> Where <mode> is either `menu', `show', or `both'. Below are a few key mappings that I like to use. --- begin init.keymaps --- # Archived in ftp://ftp.halcyon.com/pub/ii/internet/nn/init.keymaps # In nn you can see mappings with `:show map' # For a list of all command names see STANDARD KEY BINDINGS section of the # nn manual (pages 78-83 in nn 6.4.18 man pages) # Shouldn't have to do this mapping, but by default they aren't working map show A advance-group map show B back-group # For compatibility with pine and lynx map both - page-1 # Since - is now being used for page-1, need something for select-range map menu _ select-range # For compatibility with elm and pine have i go to menu (index). map show i goto-menu # My screen isn't long enough to show article IDs x and z; so why not use # x and z to also do what X and Z do... ### map both x read-skip ### map menu z read-return ### map show z goto-menu --- end init.keymaps --- Top Document: Getting Started with News and the NN News Reader Previous Document: ... ... 4.4.1 Variable Settings Next Document: ... ... 4.4.3 Host-Specific Settings Single Page [ Usenet FAQs | Web FAQs | Documents | RFC Index ] Send corrections/additions to the FAQ Maintainer: FAQ Editor <faq-editor@ii.com>
Last Update November 21 2011 @ 01:00 PM
|
