6eab954afe
Helm seems to treat "!" specially in pattern matching, so having a ! in the pattern string when traversing directories is problematic. This change fixes #2737, because as far as I can tell "+" has no special meaning in a helm pattern. Of course, we can choose a different character, but I'm fond of "+" as representing "more layers here".
36 lines
1.7 KiB
EmacsLisp
36 lines
1.7 KiB
EmacsLisp
;; from tpope's unimpaired
|
|
|
|
(define-key evil-normal-state-map (kbd "[ SPC") (lambda() (interactive)(evil-insert-newline-above) (forward-line)))
|
|
(define-key evil-normal-state-map (kbd "] SPC") (lambda() (interactive)(evil-insert-newline-below) (forward-line -1)))
|
|
|
|
(define-key evil-normal-state-map (kbd "[ e") 'move-text-up)
|
|
(define-key evil-normal-state-map (kbd "] e") 'move-text-down)
|
|
|
|
(define-key evil-visual-state-map (kbd "[ e") ":move'<--1")
|
|
(define-key evil-visual-state-map (kbd "] e") ":move'>+1")
|
|
|
|
;; (define-key evil-visual-state-map (kbd "[ e") 'move-text-up)
|
|
;; (define-key evil-visual-state-map (kbd "] e") 'move-text-down)
|
|
|
|
(define-key evil-normal-state-map (kbd "[ b") 'spacemacs/previous-useful-buffer)
|
|
(define-key evil-normal-state-map (kbd "] b") 'spacemacs/next-useful-buffer)
|
|
|
|
(define-key evil-normal-state-map (kbd "] l") 'spacemacs/next-error)
|
|
(define-key evil-normal-state-map (kbd "[ l") 'spacemacs/previous-error)
|
|
|
|
(define-key evil-normal-state-map (kbd "[ h") 'diff-hl-previous-hunk)
|
|
(define-key evil-normal-state-map (kbd "] h") 'diff-hl-next-hunk)
|
|
|
|
(define-key evil-normal-state-map (kbd "[ t") (lambda () (interactive)(raise-frame (previous-frame))))
|
|
(define-key evil-normal-state-map (kbd "] t") (lambda () (interactive)(raise-frame (next-frame))))
|
|
|
|
(define-key evil-normal-state-map (kbd "[ w") 'previous-multiframe-window)
|
|
(define-key evil-normal-state-map (kbd "] w") 'next-multiframe-window)
|
|
|
|
;; select pasted text
|
|
(define-key evil-normal-state-map (kbd "g p") (kbd "` [ v ` ]"))
|
|
|
|
;; paste above or below with newline
|
|
(define-key evil-normal-state-map (kbd "[ p") 'unimpaired/paste-above)
|
|
(define-key evil-normal-state-map (kbd "] p") 'unimpaired/paste-below)
|
|
|