An autotyping assistant that eases the burdern of manually typing long commands
- full keyboard control, so you never have to reach for the mouse
- custom argument support with default values
- copy from the clipboard to specified argument using shortcut keys alt+1, alt+2, etc
- import and export commands to/from json
- uses line continuation to type multiple lines as a one line, meaning you press enter once
- both linux and windows 10 supported
Press your selected keyboard combination to open termtyper, search for your selected command using the arrow keys to navigate press enter to select the command and enter again to type the command into your active window
I have way too many terminal commands to remember and I got fed up storing them all in a text editor.
termtype doesn't have any commands stored by default so you will have to add them yourself to do so open the app and click on the new button (alt + n), once saved you can search the commands by name.
Arguments can be added between "{:" and ":}" at a minmum you must supply an argument name i.e "{:host_name:}", arguments also support default values by specifying an "!" after the argument name following by your choice of value ie "{:host_name!demo.example.org:}". Once you have selected the command from the searchbox press alt+a to see the list of arguments for that command. Type in your values and select the ok button to have termtyper type out the command with the defauls used or values replaced as specified.
clone from GitHub
git clone https://github.com/NimbleArchitect/termtyper.git
cd termtyper
you will need to insall the following dependicies first
sudo dnf install gtk3-devel webkit2gtk3-devel libxkbcommon-devel libXtst-devel libxkbcommon-x11-devel xorg-x11-xkb-utils-devel libpng-devel xsel xclip gtk3-devel
go build
sudo apt-get install libwebkit2gtk-4.0 libgtk-3-dev
then you can cd into the source folder and build with
go build
sudo pacman -S go pkg-config sqlite gcc gtk3
then cd into the source folder and run the following
export CGO_CFLAGS="-g -O2 -Wno-return-local-addr"
go build
you will need git mingw golang and git for windows installed then run the following to build
set GCO_ENABLED=1
go build -ldflags="-H windowsgui"
-n allows creating items from stdin, use with the following alias to save the previous run command alias ns=history |tail -n2 | head -n1 | cut -d " " -f3- | /path/to/termtyper -n
golang
- NimbleArchitect - Initial work