summaryrefslogtreecommitdiffstats
path: root/.emacs.d
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--.emacs.d/org/config.org38
1 files changed, 38 insertions, 0 deletions
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)