diff options
author | Matthew Lemon <matt@matthewlemon.com> | 2022-11-18 07:51:36 +0000 |
---|---|---|
committer | Matthew Lemon <matt@matthewlemon.com> | 2022-11-18 07:51:36 +0000 |
commit | b384d866eb5e298facaa3e7d9402b86f0cd11f7f (patch) | |
tree | aec4c8125509a5e052cdb2f69598fd12ed449972 /myinit.org | |
parent | 4469b388252d31f8c32ff88cac45429dcaaeff48 (diff) |
update - woo
Diffstat (limited to '')
-rw-r--r-- | myinit.org | 30 |
1 files changed, 29 insertions, 1 deletions
@@ -73,12 +73,25 @@ ;; auto revert files (global-auto-revert-mode t) + ;; BACKUPS/LOCKFILES -------- + ;; Don't generate backups or lockfiles. + (setq create-lockfiles nil + make-backup-files nil + ;; But in case the user does enable it, some sensible defaults: + version-control t ; number each backup file + backup-by-copying t ; instead of renaming current file (clobbers links) + delete-old-versions t ; clean up after itself + kept-old-versions 5 + kept-new-versions 5 + backup-directory-alist (list (cons "." (concat user-emacs-directory "backup/")))) + ;; Display the current time (display-time-mode t) (setq visible-bell t) - (set-frame-font "Hack-10" nil t) + ;; (set-face-attribute 'default t :font "Hack-10") + (set-face-attribute 'default nil :font "-SRC-Hack-normal-normal-normal-*-26-*-*-*-m-0-iso10646-1") (use-package gruber-darker-theme :ensure t @@ -146,6 +159,7 @@ (ignore-errors (yas-next-field)))))) #+END_SRC ** company + #+BEGIN_SRC emacs-lisp ;; this config works better with yasnippet (use-package company @@ -188,6 +202,20 @@ If failed try to complete the common part with `company-complete-common'" (company-complete-common)))) (company-complete-common)))) #+END_SRC +** deft +#+begin_src emacs-lisp + (use-package deft + :ensure t + :config + (defun mrl/kill-deft () + (kill-buffer "*Deft*")) + (setq deft-directory "~/Notes/Archive" + deft-extensions '("org" "md" "txt") + deft-recursive t + deft-file-limit 40 + deft-use-filename-as-title t) + (add-hook 'deft-open-file-hook 'mrl/kill-deft)) +#+end_src ** ace-jump #+BEGIN_SRC emacs-lisp ;; Ace Jump |