about summary refs log tree commit diff
diff options
context:
space:
mode:
authorGriffin Smith <grfn@gws.fyi>2021-05-12T10·29+0200
committergrfn <grfn@gws.fyi>2021-05-12T10·33+0000
commitf790e7276328964369c9fca370ae9bf0b48b859f (patch)
treeff195a2f4a4d80a7a2a1f43f7a89feaa39fd43f2
parent85001c354023d55014691e748b9aba09ea2aeb22 (diff)
fix(gs/emacs): Correct next/prev error bindings r/2581
next-error and prev-error are weirdly broken in ways I don't entirely
understand, but I only really use flycheck so I can just use the
flycheck ones instead

Change-Id: Icdb25950f6fdcca163c68db30366af0f6fa28d7d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/3108
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
-rw-r--r--users/grfn/emacs.d/+bindings.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/users/grfn/emacs.d/+bindings.el b/users/grfn/emacs.d/+bindings.el
index 91040eb71d0c..d0d82ba72e25 100644
--- a/users/grfn/emacs.d/+bindings.el
+++ b/users/grfn/emacs.d/+bindings.el
@@ -210,7 +210,7 @@ private/hlissner/snippets."
      :desc "Buffer"                :nv "b" #'doom/previous-buffer
      :desc "Diff Hunk"             :nv "d" #'git-gutter:previous-hunk
      :desc "Todo"                  :nv "t" #'hl-todo-previous
-     :desc "Error"                 :nv "e" #'previous-error
+     :desc "Error"                 :nv "e" #'flycheck-previous-error
      :desc "Workspace"             :nv "w" #'+workspace/switch-left
      :desc "Smart jump"            :nv "h" #'smart-backward
      :desc "Spelling error"        :nv "s" #'evil-prev-flyspell-error
@@ -222,7 +222,7 @@ private/hlissner/snippets."
      :desc "Buffer"                :nv "b" #'doom/next-buffer
      :desc "Diff Hunk"             :nv "d" #'git-gutter:next-hunk
      :desc "Todo"                  :nv "t" #'hl-todo-next
-     :desc "Error"                 :nv "e" #'next-error
+     :desc "Error"                 :nv "e" #'flycheck-next-error
      :desc "Workspace"             :nv "w" #'+workspace/switch-right
      :desc "Smart jump"            :nv "l" #'smart-forward
      :desc "Spelling error"        :nv "s" #'evil-next-flyspell-error
@@ -635,8 +635,8 @@ private/hlissner/snippets."
  :v  "V"  #'er/contract-region
 
  ;; flycheck
- :m  "]e" #'next-error
- :m  "[e" #'previous-error
+ :m  "]e" #'flycheck-next-error
+ :m  "[e" #'flycheck-previous-error
  (:after flycheck
    :map flycheck-error-list-mode-map
    :n "C-n" #'flycheck-error-list-next-error