aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.aliases1
-rw-r--r--.functions6
2 files changed, 6 insertions, 1 deletions
diff --git a/.aliases b/.aliases
index c5ea4eb..ce04310 100644
--- a/.aliases
+++ b/.aliases
@@ -7,7 +7,6 @@ alias grep='grep --color=auto'
alias emacs='emacs -nw'
alias mu4e='emacs -nw -f mu4e'
-alias magit='emacs -nw -f magit'
alias nb='cd ~/journals; vim index.md; cd -'
alias todo='cd ~/journals; vim gtd.md; cd -'
alias vimg='vim +Git +only'
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
+}