Move the prelude tips for key-chord-mode to it's module file.
This commit is contained in:
parent
70bdffd4a6
commit
81953ad033
2 changed files with 10 additions and 3 deletions
|
@ -403,9 +403,6 @@ Doesn't mess with special buffers."
|
|||
"Press <C-c p g> or <s-g> to run grep on a project."
|
||||
"Press <C-c p s> or <s-p> to switch between projects."
|
||||
"Press <C-=> or <s-x> to expand the selected region."
|
||||
"Press <jj> quickly to jump to the beginning of a visible word."
|
||||
"Press <jk> quickly to jump to a visible character."
|
||||
"Press <jl> quickly to jump to a visible line."
|
||||
"Press <C-c g> to search in Google."
|
||||
"Press <C-c G> to search in GitHub."
|
||||
"Press <C-c y> to search in YouTube."
|
||||
|
|
|
@ -43,6 +43,16 @@
|
|||
(key-chord-define-global "xx" 'execute-extended-command)
|
||||
(key-chord-define-global "yy" 'browse-kill-ring)
|
||||
|
||||
(defvar key-chord-tips '("Press <jj> quickly to jump to the beginning of a visible word."
|
||||
"Press <jl> quickly to jump to a visible line."
|
||||
"Press <jk> quickly to jump to a visible character."
|
||||
"Press <JJ> quickly to switch to previous buffer."
|
||||
"Press <uu> quickly to visualize the undo tree."
|
||||
"Press <xx> quickly to execute extended command."
|
||||
"Press <yy> quickly to browse the kill ring."))
|
||||
|
||||
(setq prelude-tips (append prelude-tips key-chord-tips))
|
||||
|
||||
(key-chord-mode +1)
|
||||
|
||||
(provide 'prelude-key-chord)
|
||||
|
|
Loading…
Reference in a new issue