Browse Source

Config style update

master
Riyyi 3 years ago
parent
commit
678eeae113
  1. 9
      .config/emacs/config.org

9
.config/emacs/config.org

@ -872,7 +872,6 @@ https://stackoverflow.com/questions/22735895/configuring-a-yasnippet-for-two-sce
Set file paths for built-in features like: auto-saves, backups, etc.
#+BEGIN_SRC emacs-lisp
;; Set Directory locations
(setq auto-save-list-file-prefix (concat dot-cache-dir "/auto-save/"))
(setq auto-save-file-name-transforms `((".*" ,auto-save-list-file-prefix t)))
@ -1171,7 +1170,7 @@ Functions that only use built-in Emacs functionality.
(princ "Current buffer isn't a file")))
(defun dot/toggle-fringe (&optional arg)
"Toggle left-only fringe."
"Toggle left-only fringe, or set state with ARG."
(interactive)
(if (or (and (eq fringe-mode 0) (eq arg nil))
(eq arg 1))
@ -1719,12 +1718,12 @@ Set keybinds to functionality of installed packages.
)
(general-def evil-insert-state-map
"<backtab>" #'dot/evil-insert-shift-left ;; <<
"<backtab>" #'dot/evil-insert-shift-left ; <<
)
(general-def evil-visual-state-map
"<" #'dot/evil-visual-shift-left ;; <gv
">" #'dot/evil-visual-shift-right ;; >gv
"<" #'dot/evil-visual-shift-left ; <gv
">" #'dot/evil-visual-shift-right ; >gv
)
;; Custom (M-x customize)

Loading…
Cancel
Save