From b88239d6c58e6793c27950e572cfeff21a4086a9 Mon Sep 17 00:00:00 2001 From: Marc Pohling Date: Sun, 1 Jul 2018 18:28:07 +0200 Subject: [PATCH] keymap for lsp-ui-imenu --- config.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/config.org b/config.org index acc9dbb..db1658c 100644 --- a/config.org +++ b/config.org @@ -411,6 +411,15 @@ "tp" '(dired-prev-subdir :which-key "previous subdir") ) #+END_SRC + +#+BEGIN_SRC emacs-lisp +(general-define-key + :states '(normal) + :keymaps 'lsp-ui-imenu-mode-map + (kbd "RET") '(lsp-ui-imenu--view :which-key "view") + (kbd "M-RET") '(lsp-ui-imenu--visit :which-key "visit") +) +#+END_SRC ** List buffers Ibuffer is the improved version of list-buffers. Make ibuffer the default buffer lister. [[http://ergoemacs.org/emacs/emacs_buffer_management.html][Source]]