aboutsummaryrefslogtreecommitdiff
path: root/.functions
diff options
context:
space:
mode:
authorGuangxiong Lin <[email protected]>2022-02-23 23:36:40 +0800
committerGuangxiong Lin <[email protected]>2022-02-23 23:36:40 +0800
commit345ae334a0f275c703ec360ca748bff57ce7c0ad (patch)
tree03fc9fe84b7f8a7bf36f7b1195372195b2d65825 /.functions
parentc7cab433461b6d45092adea4d296735d074598ff (diff)
downloaddotfiles-345ae334a0f275c703ec360ca748bff57ce7c0ad.tar.gz
dotfiles-345ae334a0f275c703ec360ca748bff57ce7c0ad.tar.bz2
dotfiles-345ae334a0f275c703ec360ca748bff57ce7c0ad.zip
Update magit alias to function
Diffstat (limited to '.functions')
-rw-r--r--.functions6
1 files changed, 6 insertions, 0 deletions
diff --git a/.functions b/.functions
index 879804c..2145451 100644
--- a/.functions
+++ b/.functions
@@ -27,3 +27,9 @@ greview () {
"+nmap <leader>gd :Gvdiffsplit $base_branch<CR>"
}
+
+magit () {
+ emacs -nw \
+ -f magit-status \
+ -f delete-other-windows
+}