c1c2d06f36
SPC j F and SPC j V don't fit the SPC j prefix because they require the thing under point to be an Emacs lisp thing, which means that these bindings should be major mode specific. To replace them and accordingly to the convention the key bindings SPC m g G in Emacs Lisp buffers has been added to go to definition in other window. SPC j f and SPC j v (minus letters) don't require the current buffer to be Emacs Lisp and thus I only updated the documentation about them mentioning that they're about Emacs Lisp variables and functions.
23 lines
607 B
EmacsLisp
23 lines
607 B
EmacsLisp
;;; funcs.el --- Emacs Lisp functions File
|
||
;;
|
||
;; Copyright (c) 2012-2016 Sylvain Benner & Contributors
|
||
;;
|
||
;; Author: Sylvain Benner <sylvain.benner@gmail.com>
|
||
;; URL: https://github.com/syl20bnr/spacemacs
|
||
;;
|
||
;; This file is not part of GNU Emacs.
|
||
;;
|
||
;;; License: GPLv3
|
||
|
||
|
||
|
||
(defun spacemacs/nav-find-elisp-thing-at-point-other-window ()
|
||
"Find thing under point and go to it another window."
|
||
(interactive)
|
||
(let ((symb (variable-at-point)))
|
||
(if (and symb
|
||
(not (equal symb 0))
|
||
(not (fboundp symb)))
|
||
(find-variable-other-window symb)
|
||
(find-function-at-point))))
|