summaryrefslogtreecommitdiff
path: root/.emacs.d/lisp/functions.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/functions.el')
-rw-r--r--.emacs.d/lisp/functions.el9
1 files changed, 2 insertions, 7 deletions
diff --git a/.emacs.d/lisp/functions.el b/.emacs.d/lisp/functions.el
index 6cc40a8..30cfa60 100644
--- a/.emacs.d/lisp/functions.el
+++ b/.emacs.d/lisp/functions.el
@@ -31,22 +31,17 @@
"Centers/Uncenters selected buffer"
(interactive)
(if visual-fill-column-center-text
- (setq visual-fill-column-width 400
- visual-fill-column-center-text nil)
- (setq visual-fill-column-width 90
- visual-fill-column-center-text t))
- (delete-other-windows)
+ (setq visual-fill-column-center-text nil)
+ (setq visual-fill-column-center-text t))
(visual-fill-column-mode 1)
(message "General's task completed!"))
-
(defun apollo/rofi-switch-window ()
"Navigate X11 buffers using rofi."
(interactive)
(start-process-shell-command
"rofi" nil "rofi -show window"))
-;; (global-set-key (kbd "s-<tab>") 'apollo/run_rofi)
(defun apollo/run-in-background (command)
"Run COMMAND in the background."