From 345ae334a0f275c703ec360ca748bff57ce7c0ad Mon Sep 17 00:00:00 2001 From: Guangxiong Lin Date: Wed, 23 Feb 2022 23:36:40 +0800 Subject: Update magit alias to function --- .functions | 6 ++++++ 1 file changed, 6 insertions(+) (limited to '.functions') diff --git a/.functions b/.functions index 879804c..2145451 100644 --- a/.functions +++ b/.functions @@ -27,3 +27,9 @@ greview () { "+nmap gd :Gvdiffsplit $base_branch" } + +magit () { + emacs -nw \ + -f magit-status \ + -f delete-other-windows +} -- cgit v1.2.3