From e64253adc84b62a01660e7de276ba61711f7421f Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Sun, 20 Mar 2022 18:41:45 +0800 Subject: Improve emacsclient --- .aliases | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to '.aliases') diff --git a/.aliases b/.aliases index ba4c5aa..582a776 100644 --- a/.aliases +++ b/.aliases @@ -6,10 +6,8 @@ alias diff='diff --color=auto' alias grep='grep --color=auto' alias emacs='emacs -nw' -alias et='emacsclient -a "" -t' -alias ec='nohup emacsclient -a "" -c &!' -alias mu4e='emacs -nw -f mu4e' -alias agenda='emacs -nw -f org-agenda' +alias magit='et -e "(magit-status \"$(pwd)\")"' +alias agenda='et -e "(org-agenda)"' alias nb='cd ~/journals; vim index.md; cd -' alias todo='cd ~/journals; vim gtd.md; cd -' alias vimg='vim +Git +only' -- cgit v1.2.3