Debug startup, support LSP, update KBDs
Debug startup: - some packages were missing explicit use-package calls, which made this configuration incompatible with fresh computers. After crashing my MBP and trying to get this working thereafter, I learned. Support LSP: - LSP support for Haskell is good; embrace and prefer over Intero Update KBDs: - preferences change - changing to a light theme (for now)
This commit is contained in:
parent
0d6c0881a8
commit
0244474e9f
9 changed files with 53 additions and 33 deletions
|
|
@ -12,17 +12,6 @@
|
|||
:fetcher github))
|
||||
(general-evil-setup t)
|
||||
|
||||
(defun wpc/goto-definition ()
|
||||
"Support a goto-definition that dispatches off of the `major-mode'."
|
||||
(interactive)
|
||||
(require 'flow-minor-mode)
|
||||
(cond ((eq major-mode 'rjsx-mode)
|
||||
(flow-minor-jump-to-definition))
|
||||
((eq major-mode 'haskell-mode)
|
||||
(intero-goto-definition))
|
||||
(t
|
||||
(evil-goto-definition))))
|
||||
|
||||
;; vim...
|
||||
(use-package evil
|
||||
:general
|
||||
|
|
@ -37,7 +26,7 @@
|
|||
"sj" 'wpc/evil-window-split-down
|
||||
"sj" 'wpc/evil-window-split-down)
|
||||
(n
|
||||
"gd" 'wpc/goto-definition)
|
||||
"gd" 'xref-find-definitions)
|
||||
(general-unbind m "M-." "C-p")
|
||||
(general-unbind n "s" "M-.")
|
||||
(general-unbind i "C-d" "C-a" "C-e" "C-n" "C-p" "C-k")
|
||||
|
|
@ -68,7 +57,7 @@
|
|||
"j" #'jump-to-register
|
||||
"h" #'help
|
||||
"a" #'wpc/toggle-terminal
|
||||
"p" #'counsel-git-grep
|
||||
"p" #'flycheck-previous-error
|
||||
"P" #'counsel-git-grep
|
||||
"f" #'wpc/find-file
|
||||
"n" #'flycheck-next-error
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue