diff options
-rw-r--r-- | .aliases | 1 | ||||
-rw-r--r-- | .functions | 6 |
2 files changed, 6 insertions, 1 deletions
@@ -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' @@ -27,3 +27,9 @@ greview () { "+nmap <leader>gd :Gvdiffsplit $base_branch<CR>" } + +magit () { + emacs -nw \ + -f magit-status \ + -f delete-other-windows +} |