Four navigational key bindings added.
This commit is contained in:
parent
c427ef945d
commit
248b2ee5b1
|
@ -299,7 +299,7 @@
|
|||
(add-to-list 'cljr-project-clean-functions 'cleanup-buffer)
|
||||
|
||||
(define-key clojure-mode-map (kbd "s-j") 'clj-jump-to-other-file)
|
||||
(define-key clojure-mode-map (kbd "C-.") 'clj-hippie-expand-no-case-fold)
|
||||
;;(define-key clojure-mode-map (kbd "C-.") 'clj-hippie-expand-no-case-fold)
|
||||
(define-key clojure-mode-map (kbd "C-M-x") 'nrepl-warn-when-not-connected)
|
||||
(define-key clojure-mode-map (kbd "C-x C-e") 'nrepl-warn-when-not-connected)
|
||||
(define-key clojure-mode-map (kbd "C-c C-e") 'nrepl-warn-when-not-connected)
|
||||
|
|
|
@ -32,7 +32,24 @@
|
|||
(cheatsheet-add :group '--HELP--
|
||||
:key "C-?"
|
||||
:description "Show this cheatsheet")
|
||||
(cheatsheet-add :group '--Navigation--
|
||||
:key "C-."
|
||||
:description "Move a word to right")
|
||||
(cheatsheet-add :group '--Navigation--
|
||||
:key "C-,"
|
||||
:description "Move a word to left")
|
||||
(cheatsheet-add :group '--Navigation--
|
||||
:key "s-p"
|
||||
:description "Move back a paragraph")
|
||||
(cheatsheet-add :group '--Navigation--
|
||||
:key "s-n"
|
||||
:description "Move forward by a paragraph")
|
||||
|
||||
(global-set-key (kbd "C-?") 'cheatsheet-show)
|
||||
(global-set-key (kbd "C-.") 'right-word)
|
||||
(global-set-key (kbd "C-,") 'left-word)
|
||||
(global-set-key (kbd "s-n") 'forward-paragraph)
|
||||
(global-set-key (kbd "s-p") 'backward-paragraph)
|
||||
|
||||
|
||||
;; Remove splash screen
|
||||
|
|
Loading…
Reference in New Issue