General cleanup
This commit is contained in:
parent
ef9b59197a
commit
82fa5d977a
11 changed files with 60 additions and 55 deletions
|
@ -1,4 +1,4 @@
|
|||
henrik@lissner.net
|
||||
henrik@lissner.net @lissner.net
|
||||
----------------------------------------
|
||||
========================================
|
||||
////////////////////////////////////////
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
:m "M-8" (λ! (doom:switch-to-tab 7))
|
||||
:m "M-9" (λ! (doom:switch-to-tab 8))
|
||||
(:when IS-MAC
|
||||
"<M-backspace>" 'doom/backward-kill-to-bol-and-indent
|
||||
"<M-backspace>" 'doom/backward-kill-to-bol-and-indent
|
||||
"<A-left>" 'backward-word
|
||||
"<A-right>" 'forward-word
|
||||
"A-SPC" 'just-one-space
|
||||
|
@ -250,7 +250,7 @@
|
|||
;; evil-matchit
|
||||
:m "%" 'evilmi-jump-items
|
||||
|
||||
;; hide-show
|
||||
;; hide-show/evil-matchit
|
||||
:m [tab] (λ! (if (ignore-errors (hs-already-hidden-p))
|
||||
(hs-toggle-hiding)
|
||||
(call-interactively 'evilmi-jump-items)))
|
||||
|
@ -310,14 +310,14 @@
|
|||
|
||||
;;; Insert mode hacks
|
||||
;; Textmate-esque newlines
|
||||
:i "<backspace>" 'backward-delete-char-untabify
|
||||
:i "<M-backspace>" 'doom/backward-kill-to-bol-and-indent
|
||||
:i "<C-return>" 'evil-ret-and-indent
|
||||
:i "<backspace>" 'delete-backward-char
|
||||
:i "<M-backspace>" 'doom/backward-kill-to-bol-and-indent
|
||||
:i "<C-return>" 'evil-ret-and-indent
|
||||
;; Emacsien motions for insert mode
|
||||
:i "C-b" 'backward-word
|
||||
:i "C-f" 'forward-word
|
||||
;; escape from insert mode (more responsive than using key-chord-define)
|
||||
:irv "C-g" 'evil-normal-state)
|
||||
:irv "C-g" 'evil-normal-state)
|
||||
|
||||
;; Common unicode characters
|
||||
(map! :i "A-o" (λ! (insert "ø"))
|
||||
|
|
|
@ -375,7 +375,7 @@
|
|||
(--color-name-to-rgb color2))))
|
||||
|
||||
(custom-theme-set-variables
|
||||
'doom-one
|
||||
'doom-dark
|
||||
`(vc-annotate-color-map
|
||||
'((20 . ,green)
|
||||
(40 . ,(--color-blend yellow green (/ 1.0 3)))
|
||||
|
@ -390,11 +390,11 @@
|
|||
(220 . ,(--color-blend red magenta (/ 1.0 3)))
|
||||
(240 . ,(--color-blend red magenta (/ 2.0 3)))
|
||||
(260 . ,red)
|
||||
(280 . ,(--color-blend grey-l red (/ 1.0 4)))
|
||||
(300 . ,(--color-blend grey-l red (/ 2.0 4)))
|
||||
(320 . ,(--color-blend grey-l red (/ 3.0 4)))
|
||||
(340 . ,grey-l)
|
||||
(360 . ,grey-l)))
|
||||
(280 . ,(--color-blend grey-2 red (/ 1.0 4)))
|
||||
(300 . ,(--color-blend grey-2 red (/ 2.0 4)))
|
||||
(320 . ,(--color-blend grey-2 red (/ 3.0 4)))
|
||||
(340 . ,grey-2)
|
||||
(360 . ,grey-2)))
|
||||
`(vc-annotate-very-old-color nil)
|
||||
`(vc-annotate-background ,black)))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue