Add shortcuts to origami (code folding).
This commit is contained in:
parent
1678f7b283
commit
b4e1c001ab
@ -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
|
||||||
|
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user