summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kosarek <matthew@matthewkosarek.xyz>2023-09-20 14:13:29 -0400
committerMatthew Kosarek <matthew@matthewkosarek.xyz>2023-09-20 14:13:29 -0400
commit04c4b3e8c8395ef029bf60a91b8b2732d7b9d768 (patch)
tree22a7ffb34adc57310d4ae77380e3c18074e18bc6
parentb7e5f80b6666704235f49d16cad7c15e3a423858 (diff)
Toggling region with Ctrl + Tab
-rw-r--r--lisp/general.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 3392195..3b19102 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -60,6 +60,7 @@
(add-hook 'c-mode-hook (lambda () (hs-minor-mode 1)))
(add-hook 'python-mode-hook (lambda () (hs-minor-mode 1)))
(add-hook 'emacs-lisp-mode-hook (lambda () (hs-minor-mode 1)))
+(bind-key* (kbd "C-<tab>") 'hs-toggle-hiding)
;; Default Values
(setq-default indent-tabs-mode nil) ; use spaces only if nil