ZSH: Set EDITOR, add alias cb, vi
This commit is contained in:
parent
47b8fb2486
commit
2cc11a7761
6
.zshrc
6
.zshrc
@ -126,10 +126,16 @@ bindkey -M vicmd 'j' history-substring-search-down
|
|||||||
export FZF_DEFAULT_COMMAND='fd --type f'
|
export FZF_DEFAULT_COMMAND='fd --type f'
|
||||||
source /usr/share/fzf/completion.zsh
|
source /usr/share/fzf/completion.zsh
|
||||||
source /usr/share/fzf/key-bindings.zsh
|
source /usr/share/fzf/key-bindings.zsh
|
||||||
|
|
||||||
alias pdfdiff="diffpdf"
|
alias pdfdiff="diffpdf"
|
||||||
|
alias cb="xclip -sel clipboard"
|
||||||
|
alias vi="vim"
|
||||||
|
|
||||||
# GPG for SSH
|
# GPG for SSH
|
||||||
export GPG_TTY="$(tty)"
|
export GPG_TTY="$(tty)"
|
||||||
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
export SSH_AUTH_SOCK=$(gpgconf --list-dirs agent-ssh-socket)
|
||||||
gpgconf --launch gpg-agent
|
gpgconf --launch gpg-agent
|
||||||
|
|
||||||
|
# Editor
|
||||||
|
export EDITOR=vim
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user