Adds some profiling keybinding under `SPC h P`
This commit is contained in:
parent
83f2fd4d22
commit
390462e36d
|
@ -1851,6 +1851,16 @@ Other help key bindings:
|
|||
| ~SPC h m~ | search available man pages |
|
||||
| ~SPC h n~ | browse emacs news |
|
||||
|
||||
The =Profiler= is a tool that helps you identify why your editor is running
|
||||
slowly or consumes a lot of memory. Here are key bindings relate to it:
|
||||
|
||||
| Key Binding | Description |
|
||||
|-------------+-----------------------------|
|
||||
| ~SPC h P k~ | stop the profiler |
|
||||
| ~SPC h P r~ | display the profiler report |
|
||||
| ~SPC h P s~ | start the profiler |
|
||||
| ~SPC h P w~ | write the report to file |
|
||||
|
||||
Navigation key bindings in =help-mode=:
|
||||
|
||||
| Key Binding | Description |
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
("g" "git/versions-control")
|
||||
("h" "help")
|
||||
("hd" "help-describe")
|
||||
("hP" "profiler")
|
||||
("i" "insertion")
|
||||
("j" "jump/join/split")
|
||||
("k" "lisp")
|
||||
|
@ -241,7 +242,11 @@
|
|||
"hdt" 'describe-theme
|
||||
"hdv" 'describe-variable
|
||||
"hI" 'spacemacs/report-issue
|
||||
"hn" 'view-emacs-news)
|
||||
"hn" 'view-emacs-news
|
||||
"hPs" 'profiler-start
|
||||
"hPk" 'profiler-stop
|
||||
"hPr" 'profiler-report
|
||||
"hPw" 'profiler-report-write-profile)
|
||||
;; insert stuff ---------------------------------------------------------------
|
||||
(spacemacs/set-leader-keys
|
||||
"iJ" 'spacemacs/insert-line-below-no-indent
|
||||
|
|
Loading…
Reference in New Issue