mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-23 20:20:53 -05:00
Emacs updates
This commit is contained in:
parent
bffc01365f
commit
2acc10f202
@ -311,6 +311,13 @@ Flash highlight on evil motions for better visual feedback of what's happening.
|
||||
(evil-goggles-mode)
|
||||
(evil-goggles-use-diff-faces))
|
||||
#+END_SRC
|
||||
*** evil-matchit
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package evil-matchit
|
||||
:after evil
|
||||
:config
|
||||
(global-evil-matchit-mode 1))
|
||||
#+END_SRC
|
||||
* Emacs
|
||||
** Defaults
|
||||
*** Add to Load Path
|
||||
@ -1260,13 +1267,13 @@ for dealing with this.
|
||||
***** Predicates
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(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)
|
||||
(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)
|
||||
(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)
|
||||
(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))
|
||||
;; (jf-indent-spaces 2))
|
||||
#+END_SRC
|
||||
*** Haskell
|
||||
**** haskell-mode
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package haskell-mode
|
||||
:mode "\\.hs\\'")
|
||||
#+END_SRC
|
||||
|
Loading…
Reference in New Issue
Block a user