Add shortcuts to origami (code folding).

This commit is contained in:
kj 2022-05-03 23:24:33 -04:00
parent 1678f7b283
commit b4e1c001ab
2 changed files with 8 additions and 1 deletions

View File

@ -47,5 +47,12 @@
(global-set-key (kbd "C-x /") 'query-replace-regexp) (global-set-key (kbd "C-x /") 'query-replace-regexp)
(global-set-key (kbd "M-/") 'query-replace) (global-set-key (kbd "M-/") 'query-replace)
;; Atajo para origami-mode
(global-set-key (kbd "C-<tab>") 'origami-toggle-node)
(global-set-key (kbd "C-S-<tab>") 'origami-toggle-all-nodes)
;; Atajo para counsel-proyectile
(global-set-key (kbd "C-x p") 'counsel-projectile)
(provide 'base-keys) (provide 'base-keys)
;;; base-keys.el ends here ;;; base-keys.el ends here

View File

@ -12,7 +12,7 @@
(use-package php-mode (use-package php-mode
:defer t :defer t
:bind ("<C-tab>" . php-doc-block) :bind ("C-c d b" . php-doc-block)
:config :config
(add-hook 'php-mode-hook #'(lambda() (add-hook 'php-mode-hook #'(lambda()
(php-enable-default-coding-style) (php-enable-default-coding-style)