Compare commits

..

2 Commits

2 changed files with 8 additions and 9 deletions

View File

@ -49,7 +49,7 @@
;; Atajo para origami-mode ;; Atajo para origami-mode
(global-set-key (kbd "C-<tab>") 'origami-toggle-node) (global-set-key (kbd "C-<tab>") 'origami-toggle-node)
(global-set-key (kbd "C-S-<tab>") 'origami-toggle-all-nodes) (global-set-key (kbd "C-<iso-lefttab>") 'origami-toggle-all-nodes)
;; Atajo para counsel-proyectile ;; Atajo para counsel-proyectile
(global-set-key (kbd "C-x p") 'counsel-projectile) (global-set-key (kbd "C-x p") 'counsel-projectile)

View File

@ -12,14 +12,13 @@
(use-package php-mode (use-package php-mode
:defer t :defer t
:bind ("C-c d b" . php-doc-block) ;; :bind ("C-c d b" . php-doc-block)
:config :hook (php-mode . (lambda ()
(add-hook 'php-mode-hook #'(lambda() (local-set-key (kbd "C-c d b") 'php-doc-block) ;; atajo para docblock
(php-enable-default-coding-style) (company-mode t) ; habilita company mode
(company-mode t) ; habilita company mode (ac-php-core-eldoc-setup) ; habilita soporte para ELDoc
(ac-php-core-eldoc-setup) ; habilita soporte para ELDoc (add-to-list 'company-backends 'company-ac-php-backend) ; Agregar ac-php para a company
(add-to-list 'company-backends 'company-ac-php-backend) ; Agregar ac-php para a company ))
))
) )
(use-package php-doc-block (use-package php-doc-block