Set aliases for emacsclient
* modified: zshrc
This commit is contained in:
9
zshrc
9
zshrc
@@ -42,6 +42,12 @@ alias fzv='vim $(fzf --preview "bat --color=always --style=numbers --line-range=
|
|||||||
alias fgb='git branch | fzf | xargs git checkout'
|
alias fgb='git branch | fzf | xargs git checkout'
|
||||||
alias fgl='git log --oneline | fzf --preview "git show --color=always {1}" | awk "{print \$1}" | xargs git show'
|
alias fgl='git log --oneline | fzf --preview "git show --color=always {1}" | awk "{print \$1}" | xargs git show'
|
||||||
|
|
||||||
|
# Emacs client aliases (connect to daemon with graphical frame by default)
|
||||||
|
alias ec='/usr/local/bin/emacsclient -cn'
|
||||||
|
alias et='/usr/local/bin/emacsclient -t'
|
||||||
|
export EDITOR='/usr/local/bin/emacsclient -t'
|
||||||
|
export VISUAL='/usr/local/bin/emacsclient -c'
|
||||||
|
|
||||||
# Tmux session switcher with fzf
|
# Tmux session switcher with fzf
|
||||||
fts() {
|
fts() {
|
||||||
local session
|
local session
|
||||||
@@ -148,3 +154,6 @@ bindkey -M vicmd 'k' history-substring-search-up
|
|||||||
bindkey -M vicmd 'j' history-substring-search-down
|
bindkey -M vicmd 'j' history-substring-search-down
|
||||||
|
|
||||||
source /home/jenlue/.config/broot/launcher/bash/br
|
source /home/jenlue/.config/broot/launcher/bash/br
|
||||||
|
|
||||||
|
# opencode
|
||||||
|
export PATH=/home/jenlue/.opencode/bin:$PATH
|
||||||
|
|||||||
Reference in New Issue
Block a user