add vimless

This commit is contained in:
Jakobus Schürz 2020-02-12 12:47:06 +01:00
parent 6aa13d0fdf
commit 37a566bdf0

View file

@ -8,6 +8,7 @@ alias fix='reset; stty sane; tput rs1; clear; echo -e "\033c"' # Fix terminal ab
# Source https://www.digitalocean.com/community/tutorials/how-to-use-bash-history-commands-and-expansions-on-a-linux-vps
alias vilastcatfile='vim $(history -p \!cat:$:t)'
alias vio='vim $(history -p \!less:$:t)'
alias viless='vim $(history -p \!less:$:t)'
alias cdlastfiledir='cd $(history -p \!\!:$:h)'