From d8036b75e346fce8703e7dac2846bc0f346ddd9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Francisco=20de=20Zuvir=C3=ADa?= Date: Sun, 17 Jun 2018 00:20:56 -0300 Subject: [PATCH] Updated Plugins (markdown) --- Plugins.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Plugins.md b/Plugins.md index ddd2af5..8a97001 100644 --- a/Plugins.md +++ b/Plugins.md @@ -585,6 +585,9 @@ This is a small zle trick that lets you cycle your directory stack left or right This plugin allows you to navigate the history of previous current-working-directories using ALT-LEFT and ALT-RIGHT. ALT-LEFT moves back to directories that the user has changed to in the past, and ALT-RIGHT undoes ALT-LEFT. MAC users may alternately use OPT-LEFT and OPT-RIGHT. +Also, navigate directory **hierarchy** using ALT-UP and ALT-DOWN. (mac keybindings not yet implemented). ALT-UP moves to higher hierarchy (shortcut for 'cd ..'). ALT-DOWN moves into the first directory found in alphabetical order (useful to navigate long empty directories e.g. java packages) + + For example, if the shell was started, and the following commands were entered: ```shell @@ -596,6 +599,8 @@ cd doc Then entering ALT-LEFT at the prompt would change directory from /usr/share/doc to /usr/share, then if pressed again to /usr/, then ~. If ALT-RIGHT were pressed the directory would be changed to /usr/ again. +After that, ALT-DOWN will probably go to /usr/bin (depends on your /usr structure), ALT-UP will return to /usr, then ALT-UP will get you to / + Currently the max history size is 30. The navigation should work for xterm, PuTTY xterm mode, GNU screen, and on MAC with alternate keys as mentioned above. ---