Agregado el ir a la definición mediante M-.

This commit is contained in:
kj 2020-12-08 14:00:23 -04:00
parent ab33c20863
commit 423638a2ac
5 changed files with 3182 additions and 1 deletions

View File

@ -0,0 +1,88 @@
;;; dumb-jump-autoloads.el --- automatically extracted autoloads
;;
;;; Code:
(add-to-list 'load-path (directory-file-name
(or (file-name-directory #$) (car load-path))))
;;;### (autoloads nil "dumb-jump" "dumb-jump.el" (0 0 0 0))
;;; Generated autoloads from dumb-jump.el
(defvar dumb-jump-mode-map (let ((map (make-sparse-keymap))) (define-key map (kbd "C-M-g") 'dumb-jump-go) (define-key map (kbd "C-M-p") 'dumb-jump-back) (define-key map (kbd "C-M-q") 'dumb-jump-quick-look) map))
(autoload 'dumb-jump-back "dumb-jump" "\
Jump back to where the last jump was done.
\(fn)" t nil)
(autoload 'dumb-jump-quick-look "dumb-jump" "\
Run dumb-jump-go in quick look mode. That is, show a tooltip of where it would jump instead.
\(fn)" t nil)
(autoload 'dumb-jump-go-other-window "dumb-jump" "\
Like 'dumb-jump-go' but use 'find-file-other-window' instead of 'find-file'.
\(fn)" t nil)
(autoload 'dumb-jump-go-current-window "dumb-jump" "\
Like dumb-jump-go but always use 'find-file'.
\(fn)" t nil)
(autoload 'dumb-jump-go-prefer-external "dumb-jump" "\
Like dumb-jump-go but prefer external matches from the current file.
\(fn)" t nil)
(autoload 'dumb-jump-go-prompt "dumb-jump" "\
Like dumb-jump-go but prompts for function instead of using under point
\(fn)" t nil)
(autoload 'dumb-jump-go-prefer-external-other-window "dumb-jump" "\
Like dumb-jump-go-prefer-external but use 'find-file-other-window' instead of 'find-file'.
\(fn)" t nil)
(autoload 'dumb-jump-go "dumb-jump" "\
Go to the function/variable declaration for thing at point.
When USE-TOOLTIP is t a tooltip jump preview will show instead.
When PREFER-EXTERNAL is t it will sort external matches before
current file.
\(fn &optional USE-TOOLTIP PREFER-EXTERNAL PROMPT)" t nil)
(defvar dumb-jump-mode nil "\
Non-nil if Dumb-Jump mode is enabled.
See the `dumb-jump-mode' command
for a description of this minor mode.")
(custom-autoload 'dumb-jump-mode "dumb-jump" nil)
(autoload 'dumb-jump-mode "dumb-jump" "\
Minor mode for jumping to variable and function definitions
\(fn &optional ARG)" t nil)
(autoload 'dumb-jump-xref-activate "dumb-jump" "\
Function to activate xref backend.
Add this function to `xref-backend-functions' to dumb jump to be
activiated, whenever it finds a project. It is recommended to add
it to the end, so that it only gets activated when no better
option is found.
\(fn)" nil nil)
(if (fboundp 'register-definition-prefixes) (register-definition-prefixes "dumb-jump" '("dumb-jump-")))
;;;***
;; Local Variables:
;; version-control: never
;; no-byte-compile: t
;; no-update-autoloads: t
;; coding: utf-8
;; End:
;;; dumb-jump-autoloads.el ends here

View File

@ -0,0 +1,2 @@
;;; -*- no-byte-compile: t -*-
(define-package "dumb-jump" "20201205.1625" "Jump to definition for 40+ languages without configuration" '((emacs "24.3") (s "1.11.0") (dash "2.9.0") (popup "0.5.3")) :commit "ff9fc9360d39f5e07c1f480f8b0656b49606781b" :keywords '("programming") :authors '(("jack angers and contributors")) :maintainer '("jack angers and contributors") :url "https://github.com/jacktasia/dumb-jump")

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@ -51,7 +51,7 @@
'(magit-diff-use-overlays nil)
'(package-selected-packages
(quote
(csharp-mode yaml-mode smooth-scrolling web-mode multi-web-mode spacemacs-theme flycheck ac-emmet markdown-preview-mode multiple-cursors git-gutter powerline ample-zen-theme monokai-theme dracula-theme auto-complete neotree all-the-icons spinner markdown-mode lv ht f evil dash-functional)))
(dumb-jump csharp-mode yaml-mode smooth-scrolling web-mode multi-web-mode spacemacs-theme flycheck ac-emmet markdown-preview-mode multiple-cursors git-gutter powerline ample-zen-theme monokai-theme dracula-theme auto-complete neotree all-the-icons spinner markdown-mode lv ht f evil dash-functional)))
'(pdf-view-midnight-colors (quote ("#b2b2b2" . "#292b2e")))
'(pos-tip-background-color "#FFFACE")
'(pos-tip-foreground-color "#272822")
@ -104,6 +104,7 @@
(global-git-gutter-mode +1) ;Git gutter - Marca a la izq. si una linea ha sido agregada, editada o eliminada desde el último commit.
(powerline-default-theme) ;Habilitar powerline (esa línea bonita de abajo del editor)
(global-hl-line-mode 1) ;Resaltar línea actual por defecto.
(add-hook 'xref-backend-functions #'dumb-jump-xref-activate) ;Habilitar Jump to definition (M-.)
;Desabilitar tabs y usar 2 espacios en su lugar
(setq-default indent-tabs-mode nil) ;Cambiar tabs por espacios