helm-gtag layer: fix typo and sort key bindings

This commit is contained in:
syl20bnr 2015-04-15 00:54:36 -04:00
parent 786ca3bdf5
commit fe076ce097
2 changed files with 20 additions and 20 deletions

View file

@ -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
----------------------|------------------------------------------------------------
<kbd>SPC m g s</kbd> | select any tag in a project retreived by gtags
<kbd>SPC m g R</kbd> | resume previous helm-gtags sesssion
<kbd>SPC m g g</kbd> | jump to a location based on context
<kbd>SPC m g c</kbd> | create a tag database
<kbd>SPC m g d</kbd> | find definitions
<kbd>SPC m g r</kbd> | find references
<kbd>SPC m g f</kbd> | jump to a file in tag database
<kbd>SPC m g g</kbd> | jump to a location based on context
<kbd>SPC m g i</kbd> | present tags in current function only
<kbd>SPC m g c</kbd> | create a tag databas
<kbd>SPC m g l</kbd> | jump to definitions in file
<kbd>SPC m g S</kbd> | show stack of visited locations
<kbd>SPC m g u</kbd> | manually update tag database
<kbd>SPC m g n</kbd> | jump to next location in context stack
<kbd>SPC m g p</kbd> | jump to previous location in context stack
<kbd>SPC m g f</kbd> | jump to a file in tag database
<kbd>SPC m g R</kbd> | resume previous helm-gtags session
<kbd>SPC m g r</kbd> | find references
<kbd>SPC m g s</kbd> | select any tag in a project retrieved by gtags
<kbd>SPC m g S</kbd> | show stack of visited locations
<kbd>SPC m g u</kbd> | manually update tag database

View file

@ -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: