Settings

Theme

Navigating the filesystem and Git with single key presses

1 points by dharmatech 12 days ago · 1 comment · 1 min read

Reader

Hey y'all,

I've been messing around with `termux` on Android lately (Linux environment). It's great, but it can get a little tedious typing out Linux commands on there.

So, I've been using this Python script to make common filesystem and git operations available at single key presses:

https://github.com/dharmatech/git-menu

Here's a couple of video demos to give you an idea of what it's like:

https://www.youtube.com/watch?v=UXVBzW_MdUQ

https://www.youtube.com/watch?v=WTl2qmwxHS4

It feels sort of like 'modal editing' in the shell.

If you know of any other utilities like this, would love to hear about them.

The code is very messy and not heavily tested. If you come up with a cool customization, would love to hear about it.

dharmatechOP 12 days ago

Links from the post:

https://github.com/dharmatech/git-menu

https://www.youtube.com/watch?v=UXVBzW_MdUQ

https://www.youtube.com/watch?v=WTl2qmwxHS4

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection