Looking for a file/directory where I can see all of the default shortcuts (Ctrl + U to clear line, Ctrl + Y to undo .etc); I’ve found a few myself but it’d be nice to see the whole picture and be able to edit some of them to my liking.
Also while I’m here, I’ve heard that terminal autocomplete exists, can that be added to the default terminal or does it only work on terminal emulators like alacritty?
It depends on a terminal. GNOME Terminal has option to configure keybindings graphically, I’d look in the settings. Most probably, other terminal emulators allow that, too.
Autocomplete works on the shell level. It can be turned on/off in your shell config file (~/.bashrc or ~/.zshrc), just remember you need to have specific package installed (bash-completion for bash or zsh-autocomplete for zsh).
Personally I use fish as my shell, but write scripts in bash/sh (mainly because I cannot be bothered to learn!!! and they are generally more transferable).
Common shell choices are basically Bash/Zsh/Fish and then a large number of less used shells, like nushell, csh etc.
I guess you are on bash, so:
9 extra/bash-completion 2.16.0-1 (212.8 KiB 1008.8 KiB) (Installed)
Programmable completion for the bash shell
Is what you need, you will have to read up to make it work.
I am using i3 and the default terminal that comes with it in the EOS install.
I’ve found out that a lot of the commands I was looking for are bash commands, listed here https://ss64.com/bash/syntax-keyboard.html . But now I’m more curious about what the XFCE4 terminal can offer, as I thought I was using the default bash terminal this entire time.
but the /terminal directory doesn’t exist, instead I have ~/.config/xfce4 (This is where the /terminal should be but it’s empty other than → )/xfconf (empty other than →)/xfce-perchannel-xml
xfce-perchannel-xml contains:
thunar.xml , xfce4-desktop.xml , xfce4-terminal.xml, none of which contain shortcuts.
I am using bash, so I will look into bash-completion, Thank you all.
I’m on XFCE here, but cannot find this file, too.
But, if you start your (xfce-)terminal, goto Edit → Settings → Shortcuts (translated from my german terminal, take care…) and you get a huge menu. No idea, where it gets stored.
Edit: just changed 1 default and got this accels.scm. Try that!
Seems, the defaults are in /etc or somewhere…