Enable which-function-mode
Displays current function in modeline
This commit is contained in:
parent
6f7735bd1b
commit
ba25b9febc
|
@ -100,6 +100,10 @@
|
||||||
("C-c j l" . avy-goto-line)
|
("C-c j l" . avy-goto-line)
|
||||||
("C-c j C-c" . avy-goto-char-2)))
|
("C-c j C-c" . avy-goto-char-2)))
|
||||||
|
|
||||||
|
(use-package which-func
|
||||||
|
:ensure t
|
||||||
|
:init (which-function-mode))
|
||||||
|
|
||||||
(setq use-dialog-box nil
|
(setq use-dialog-box nil
|
||||||
truncate-lines nil
|
truncate-lines nil
|
||||||
truncate-partial-width-windows nil)
|
truncate-partial-width-windows nil)
|
||||||
|
|
|
@ -128,6 +128,13 @@
|
||||||
("C-c j l" . avy-goto-line)
|
("C-c j l" . avy-goto-line)
|
||||||
("C-c j C-c" . avy-goto-char-2)))
|
("C-c j C-c" . avy-goto-char-2)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
** which-func config
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package which-func
|
||||||
|
:ensure t
|
||||||
|
:init (which-function-mode))
|
||||||
|
#+end_src
|
||||||
* UI
|
* UI
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq use-dialog-box nil
|
(setq use-dialog-box nil
|
||||||
|
|
Loading…
Reference in a new issue