Site Tools


linux:general:qol

Quality of life improvements

VI

Install VIM

apt install vim

Deactivate visual mode

echo "set mouse-=a" >> ~/.vimrc

Shell

Use alias

Use an alias to make long commands you need often short
open /etc/.bashrc and add lines like the following

alias ll='ls -hal'
alias ..='cd ..'
alias ...='cd ../..'

Browse history with page up/ down

echo '"\e[5~": history-search-backward' >> ~/.inputrc
echo '"\e[6~": history-search-forward' >> ~/.inputrc

linux/general/qol.txt · Last modified: 2023/01/22 18:20 by lunetikk