Added keybindings for next/previos to ggtags-mode.
This commit is contained in:
parent
491ab4bddb
commit
b94b9918db
7
init.el
7
init.el
|
@ -1,5 +1,5 @@
|
||||||
;;; init.el --- tastytea's Emacs init file.
|
;;; init.el --- tastytea's Emacs init file.
|
||||||
;; Time-stamp: <2019-08-07T12:19:34+00:00>
|
;; Time-stamp: <2019-08-07T18:29:11+00:00>
|
||||||
|
|
||||||
;;; Commentary:
|
;;; Commentary:
|
||||||
;; I am using this file with Emacs 26, but most of it will probably work with
|
;; I am using this file with Emacs 26, but most of it will probably work with
|
||||||
|
@ -492,6 +492,11 @@ With argument, do this that many times."
|
||||||
;; Jump to definition. Overwrites dumb-jump keybindings.
|
;; Jump to definition. Overwrites dumb-jump keybindings.
|
||||||
(use-package ggtags
|
(use-package ggtags
|
||||||
:if (executable-find "gtags")
|
:if (executable-find "gtags")
|
||||||
|
:bind
|
||||||
|
(:map ggtags-mode-map
|
||||||
|
("C-M-." . ggtags-navigation-next-file)
|
||||||
|
("C-M-," . ggtags-navigation-previous-file)
|
||||||
|
)
|
||||||
:hook
|
:hook
|
||||||
(c++-mode . ggtags-mode)
|
(c++-mode . ggtags-mode)
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user