set vi mode in profile.ps1 and bashrc

master
Körner, Simon 5 years ago
parent 06d2807d7c
commit 39f6d2380a

@ -83,3 +83,5 @@ alias d-u='sudo apt update && sudo apt full-upgrade && sudo apt --purge autoremo
alias compress-music='nice -n19 /home/lub/git/scripts/compress-music.sh'
alias pp='git pull -r && git push'
alias statdiff='git status && git diff --staged'
set -o vi

@ -1,3 +1,5 @@
Set-PSReadLineOption -EditMode Vi
#region keybindings
Set-PSReadlineKeyHandler -Key Tab -Function Complete
Set-PSReadlineKeyHandler -Key Ctrl+d -Function ViExit

Loading…
Cancel
Save