summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 17:09:34 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-08-17 17:09:34 +0200
commit8882fda819be702331dbd6f14f27721d18dfd5e6 (patch)
tree0003cddb99365f48e6d9ce31ac392b7270ca6571
parentAdded evil-vimish-fold to Emacs (diff)
downloaddotfiles-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.zsh2
-rw-r--r--.emacs.d/org/config.org38
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)