diff --git a/contrib/helm-gtags/README.md b/contrib/helm-gtags/README.md index f82508157..4b1314f55 100644 --- a/contrib/helm-gtags/README.md +++ b/contrib/helm-gtags/README.md @@ -21,13 +21,13 @@ definitions or references. ## Features -- Select any tag in a project retreived by gtags -- Resume previous helm-gtags sesssion +- Select any tag in a project retrieved by gtags +- Resume previous helm-gtags session - Jump to a location based on context - Find definitions - Find references - Present tags in current function only -- Create a tag databas +- Create a tag database - Jump to definitions in file - Show stack of visited locations - Manually update tag database @@ -90,16 +90,16 @@ gtags --gtagslabel=ctags Key Binding | Description ----------------------|------------------------------------------------------------ -SPC m g s | select any tag in a project retreived by gtags -SPC m g R | resume previous helm-gtags sesssion -SPC m g g | jump to a location based on context +SPC m g c | create a tag database SPC m g d | find definitions -SPC m g r | find references +SPC m g f | jump to a file in tag database +SPC m g g | jump to a location based on context SPC m g i | present tags in current function only -SPC m g c | create a tag databas SPC m g l | jump to definitions in file -SPC m g S | show stack of visited locations -SPC m g u | manually update tag database SPC m g n | jump to next location in context stack SPC m g p | jump to previous location in context stack -SPC m g f | jump to a file in tag database +SPC m g R | resume previous helm-gtags session +SPC m g r | find references +SPC m g s | select any tag in a project retrieved by gtags +SPC m g S | show stack of visited locations +SPC m g u | manually update tag database diff --git a/contrib/helm-gtags/packages.el b/contrib/helm-gtags/packages.el index 9ccbc6e1d..860adaa37 100644 --- a/contrib/helm-gtags/packages.el +++ b/contrib/helm-gtags/packages.el @@ -52,19 +52,19 @@ which require an initialization must be listed explicitly in the list.") (dolist (m '(c-mode c++-mode java-mode asm-mode dired-mode eshell-mode term-mode shell-mode)) (evil-leader/set-key-for-mode 'c++-mode - "mgs" 'helm-gtags-select ; select any tag in a project retreived by gtags - "mgR" 'helm-gtags-resume ; resume previous helm-gtags sesssion - "mgg" 'helm-gtags-dwim ; jump to a location based on context - "mgd" 'helm-gtags-find-tag ; find definitions - "mgr" 'helm-gtags-find-rtag ; find references - "mgi" 'helm-gtags-tags-in-this-function ; present tags in current function only "mgc" 'helm-gtags-create-tags ; create a tag databas + "mgd" 'helm-gtags-find-tag ; find definitions + "mgf" 'helm-gtags-select-path ; jump to a file in tag database + "mgg" 'helm-gtags-dwim ; jump to a location based on context + "mgi" 'helm-gtags-tags-in-this-function ; present tags in current function only "mgl" 'helm-gtags-parse-file ; jump to definitions in file - "mgS" 'helm-gtags-show-stack ; show stack of visited locations - "mgu" 'helm-gtags-update-tags ; manually update tag database "mgn" 'helm-gtags-next-history ; jump to next location in context stack "mgp" 'helm-gtags-previous-history ; jump to previous location in context stack - "mgf" 'helm-gtags-select-path ; jump to a file in tag database + "mgr" 'helm-gtags-find-rtag ; find references + "mgR" 'helm-gtags-resume ; resume previous helm-gtags sesssion + "mgs" 'helm-gtags-select ; select any tag in a project retreived by gtags + "mgS" 'helm-gtags-show-stack ; show stack of visited locations + "mgu" 'helm-gtags-update-tags ; manually update tag database ))))) ;; Often the body of an initialize function uses `use-package' ;; For more info on `use-package', see readme: