mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add keybinding to toggle fill column indicator
Added a keybinding to the Toggles menu to toggle the fill column indicator if the `fill-column` module is enabled. The keybind is `SPC t c`. Suggested by lunik1 on Discord
This commit is contained in:
@ -650,6 +650,10 @@
|
||||
;;; <leader> t --- toggle
|
||||
(:prefix-map ("t" . "toggle")
|
||||
:desc "Big mode" "b" #'doom-big-font-mode
|
||||
(:when (and (featurep! :ui fill-column) EMACS27+)
|
||||
:desc "Fill Column Indicator" "c" #'display-fill-column-indicator-mode)
|
||||
(:when (and (featurep! :ui fill-column) (not EMACS27+))
|
||||
:desc "Fill Column Indicator" "c" #'hl-fill-column-mode)
|
||||
:desc "Flymake" "f" #'flymake-mode
|
||||
(:when (featurep! :checkers syntax)
|
||||
:desc "Flycheck" "f" #'flycheck-mode)
|
||||
|
Reference in New Issue
Block a user