1
0
mirror of https://github.com/Foltik/dotfiles synced 2024-11-27 13:13:12 -05:00

Emacs updates

This commit is contained in:
Jack Foltz 2019-09-18 20:07:55 -04:00
parent bffc01365f
commit 2acc10f202
Signed by: foltik
GPG Key ID: D1F0331758D1F29A

View File

@ -311,6 +311,13 @@ Flash highlight on evil motions for better visual feedback of what's happening.
(evil-goggles-mode) (evil-goggles-mode)
(evil-goggles-use-diff-faces)) (evil-goggles-use-diff-faces))
#+END_SRC #+END_SRC
*** evil-matchit
#+BEGIN_SRC emacs-lisp
(use-package evil-matchit
:after evil
:config
(global-evil-matchit-mode 1))
#+END_SRC
* Emacs * Emacs
** Defaults ** Defaults
*** Add to Load Path *** Add to Load Path
@ -1260,13 +1267,13 @@ for dealing with this.
***** Predicates ***** Predicates
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(defun jf-lcsr-branch-base-p (branch) (defun jf-lcsr-branch-base-p (branch)
(string-match "^\\(origin/\\)?issue/[0-9]\\{2,4\\}/[A-Za-z-]+$" branch)) (string-match "^\\(origin/\\)?issue/[0-9]\\{1,4\\}/[A-Za-z-]+$" branch))
(defun jf-lcsr-branch-user-p (branch) (defun jf-lcsr-branch-user-p (branch)
(string-match "^\\(origin/\\)?issue/[0-9]\\{2,4\\}/[a-z]\\{2,3\\}[0-9]\\{1,5\\}$" branch)) (string-match "^\\(origin/\\)?issue/[0-9]\\{1,4\\}/[a-z]\\{2,3\\}[0-9]\\{1,5\\}$" branch))
(defun jf-lcsr-branch-origin-p (branch) (defun jf-lcsr-branch-origin-p (branch)
(string-match "^origin/issue/[0-9]\\{2,4\\}/[A-Za-z-]+$" branch)) (string-match "^origin/issue/[0-9]\\{1,4\\}/[A-Za-z-]+$" branch))
(defun jf-lcsr-branch-my-p (branch) (defun jf-lcsr-branch-my-p (branch)
(and (jf-lcsr-branch-user-p branch) (string= jf-lcsr-me (jf-lcsr-branch-tag branch)))) (and (jf-lcsr-branch-user-p branch) (string= jf-lcsr-me (jf-lcsr-branch-tag branch))))
@ -1984,3 +1991,9 @@ Mode for the Urbit programming language.
;; (define-key hoon-mode-map (kbd "C-c b") 'hoon-eval-buffer-in-urb)) ;; (define-key hoon-mode-map (kbd "C-c b") 'hoon-eval-buffer-in-urb))
;; (jf-indent-spaces 2)) ;; (jf-indent-spaces 2))
#+END_SRC #+END_SRC
*** Haskell
**** haskell-mode
#+BEGIN_SRC emacs-lisp
(use-package haskell-mode
:mode "\\.hs\\'")
#+END_SRC