diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-17 17:09:34 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-08-17 17:09:34 +0200 |
commit | 8882fda819be702331dbd6f14f27721d18dfd5e6 (patch) | |
tree | 0003cddb99365f48e6d9ce31ac392b7270ca6571 | |
parent | Added evil-vimish-fold to Emacs (diff) | |
download | dotfiles-bsd-8882fda819be702331dbd6f14f27721d18dfd5e6.tar.gz dotfiles-bsd-8882fda819be702331dbd6f14f27721d18dfd5e6.tar.bz2 dotfiles-bsd-8882fda819be702331dbd6f14f27721d18dfd5e6.tar.xz dotfiles-bsd-8882fda819be702331dbd6f14f27721d18dfd5e6.tar.zst dotfiles-bsd-8882fda819be702331dbd6f14f27721d18dfd5e6.zip |
New zsh aliases, new Emacs functions for streaming
-rw-r--r-- | .config/zsh/alias.zsh | 2 | ||||
-rw-r--r-- | .emacs.d/org/config.org | 38 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.config/zsh/alias.zsh b/.config/zsh/alias.zsh index 4da1159..3cf8e99 100644 --- a/.config/zsh/alias.zsh +++ b/.config/zsh/alias.zsh @@ -13,6 +13,8 @@ alias rm='rm -v' alias ln='ln -v' alias mkdir='mkdir -v' alias rmdir='rmdir -v' +alias chmod='chmod -v' +alias chown='chown -v' alias grep='grep --color' alias tree='tree -C' alias ccache='/usr/local/bin/ccache' diff --git a/.emacs.d/org/config.org b/.emacs.d/org/config.org index 44a3ae4..e61f103 100644 --- a/.emacs.d/org/config.org +++ b/.emacs.d/org/config.org @@ -203,6 +203,9 @@ (string-prefix-p "*scratch*" name) (string-prefix-p "*Messages*" name) (string-prefix-p "todo.org" name) + (string-prefix-p "*Mingus Help*" name) + (string-prefix-p "*Mingus*" name) + (string-prefix-p "*Mingus Browser*" name) (and (string-prefix-p "magit" name) (not (file-name-extension name)))))) @@ -818,6 +821,41 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer." (async-shell-command exec)) #+END_SRC +** Custom functions +*** startsoon-mode + #+BEGIN_SRC emacs-lisp + (defun my/startsoon () + (interactive) + (split-window-right) + (windmove-right) + (split-window-below) + (enlarge-window 10) + (windmove-down) + (switch-to-buffer "*Mingus*") + (mingus-refresh) + (windmove-up) + (term "/usr/home/jozan/.local/bin/startsoon") + (windmove-left) + (zone)) + #+END_SRC + +*** brb-mode + #+BEGIN_SRC emacs-lisp + (defun my/brb () + (interactive) + (split-window-right) + (windmove-right) + (split-window-below) + (enlarge-window 10) + (windmove-down) + (switch-to-buffer "*Mingus*") + (mingus-refresh) + (windmove-up) + (term "/usr/home/jozan/.local/bin/brb") + (windmove-left) + (zone)) + #+END_SRC + ** Other key bindings #+BEGIN_SRC emacs-lisp (global-set-key [f1] 'shell-pop) |