Skip to content

Instantly share code, notes, and snippets.

@niedzielski
Last active February 10, 2018 19:15
Show Gist options
  • Select an option

  • Save niedzielski/092c588ad433e1f358f6c0668c70db4c to your computer and use it in GitHub Desktop.

Select an option

Save niedzielski/092c588ad433e1f358f6c0668c70db4c to your computer and use it in GitHub Desktop.
Walk the file directory stack like a browser with the alt + cursor keys.
"\e[1;3A": "pushd ..\n" # alt-up
"\e[1;3C": "pushd -0\n" # alt-right
"\e[1;3B": "popd\n" # alt-down
"\e[1;3D": "pushd +1\n" # alt-left
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment