Skip to content

Commit

Permalink
Ajoute des raccourcis clavier pour zsh
Browse files Browse the repository at this point in the history
  • Loading branch information
philippemilink committed Jan 27, 2024
1 parent e00fbcc commit 5ee9c15
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions roles/common/files/zsh/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ bindkey '[4~' end-of-line
bindkey '' beginning-of-line
bindkey '' end-of-line

# [Ctrl-RightArrow] - move forward one word
bindkey '^[[1;5C' forward-word
# [Ctrl-LeftArrow] - move backward one word
bindkey '^[[1;5D' backward-word


# killall
zstyle ':completion:*:killall:*' command 'ps -u $USER -o cmd'
zstyle ':completion:*:sudo killall:*' command 'ps -o cmd'
Expand Down

0 comments on commit 5ee9c15

Please sign in to comment.