Added keybindings for next/previos to ggtags-mode.

This commit is contained in:
tastytea 2019-08-07 20:41:33 +02:00
parent 491ab4bddb
commit b94b9918db

View File

@ -1,5 +1,5 @@
;;; 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:
;; 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.
(use-package ggtags
:if (executable-find "gtags")
:bind
(:map ggtags-mode-map
("C-M-." . ggtags-navigation-next-file)
("C-M-," . ggtags-navigation-previous-file)
)
:hook
(c++-mode . ggtags-mode)
)