Change hints on hydra-git-gutter.

This commit is contained in:
KJ 2024-04-18 15:31:48 -04:00
parent 870e9a44ac
commit 1f93a57866
1 changed files with 15 additions and 8 deletions

View File

@ -121,20 +121,27 @@
:hook :hook
(elpaca-after-init . global-git-gutter-mode) (elpaca-after-init . global-git-gutter-mode)
:config :config
(defhydra hydra-git-gutter nil (defhydra hydra-git-gutter (:hint nil)
"git hunk" "
("p" git-gutter:previous-hunk "previous") ^Navigation^ | ^Actions^ | ^Others^
("n" git-gutter:next-hunk "next") -^-----------^-+-^----^--------+-^-------^----------
("s" git-gutter:stage-hunk "stage") _p_: previous | _s_: stage | _m_: mark
("r" git-gutter:revert-hunk "revert") _n_: next | _r_: revert | _SPC_: toggle info
("m" git-gutter:mark-hunk "mark") -^-----------^-+-^----^--------+-^-------^----------
("SPC" git-gutter:toggle-popup-hunk "toggle diffinfo")) "
("p" git-gutter:previous-hunk)
("n" git-gutter:next-hunk)
("s" git-gutter:stage-hunk)
("r" git-gutter:revert-hunk)
("m" git-gutter:mark-hunkmark)
("SPC" git-gutter:toggle-popup-hunk))
) )
;; Cliente LLM (ollama, chatgpt, gemini, etc.) ;; Cliente LLM (ollama, chatgpt, gemini, etc.)
(use-package gptel (use-package gptel
:defer t :defer t
:config :config
(gptel-make-gemini "Gemini" :key "AIzaSyAlNOhIWFW8c9GgeVmmURcf9OV64gYaZcQ" :stream t)
(setq gptel-model "mistral:latest" (setq gptel-model "mistral:latest"
gptel-backend (gptel-make-ollama "Ollama" gptel-backend (gptel-make-ollama "Ollama"
:host "localhost:11434" :host "localhost:11434"