forked from FG42/FG42
New binding for dumb jump introduced
This commit is contained in:
parent
14b466f16a
commit
69bff99f41
|
@ -13,6 +13,8 @@
|
||||||
(add-hook 'cider-mode-hook #'eldoc-mode)
|
(add-hook 'cider-mode-hook #'eldoc-mode)
|
||||||
(add-hook 'clojure-mode-hook #'paredit-mode)
|
(add-hook 'clojure-mode-hook #'paredit-mode)
|
||||||
|
|
||||||
|
(setq cider-cljs-lein-repl "(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))")
|
||||||
|
|
||||||
(add-hook 'clojure-mode-hook 'clojure-mode-init)
|
(add-hook 'clojure-mode-hook 'clojure-mode-init)
|
||||||
(setq tmp-directory (concat (getenv "HOME") "/.tmp")))
|
(setq tmp-directory (concat (getenv "HOME") "/.tmp")))
|
||||||
|
|
||||||
|
|
|
@ -75,10 +75,10 @@
|
||||||
:key "M-g o"
|
:key "M-g o"
|
||||||
:description "Jump to definition in another window")
|
:description "Jump to definition in another window")
|
||||||
(cheatsheet-add :group '--Development--
|
(cheatsheet-add :group '--Development--
|
||||||
:key "M-g j"
|
:key "C-u y or M-g j"
|
||||||
:description "Jump to definition in current buffer")
|
:description "Jump to definition in current buffer")
|
||||||
(cheatsheet-add :group '--Development--
|
(cheatsheet-add :group '--Development--
|
||||||
:key "M-g x"
|
:key "C-u i or M-g x"
|
||||||
:description "Jump to definition using an external tool")
|
:description "Jump to definition using an external tool")
|
||||||
(cheatsheet-add :group '--Development--
|
(cheatsheet-add :group '--Development--
|
||||||
:key "M-g z"
|
:key "M-g z"
|
||||||
|
@ -88,7 +88,9 @@
|
||||||
(dumb-jump-mode t)
|
(dumb-jump-mode t)
|
||||||
(define-key dumb-jump-mode-map (kbd "M-g o") 'dumb-jump-go-other-window)
|
(define-key dumb-jump-mode-map (kbd "M-g o") 'dumb-jump-go-other-window)
|
||||||
(define-key dumb-jump-mode-map (kbd "M-g j") 'dumb-jump-go)
|
(define-key dumb-jump-mode-map (kbd "M-g j") 'dumb-jump-go)
|
||||||
|
(define-key dumb-jump-mode-map (kbd "C-u y") 'dumb-jump-go)
|
||||||
(define-key dumb-jump-mode-map (kbd "M-g x") 'dumb-jump-go-prefer-external)
|
(define-key dumb-jump-mode-map (kbd "M-g x") 'dumb-jump-go-prefer-external)
|
||||||
|
(define-key dumb-jump-mode-map (kbd "C-u i") 'dumb-jump-go-prefer-external)
|
||||||
(define-key dumb-jump-mode-map (kbd "M-g z") 'dumb-jump-go-prefer-external-other-window))
|
(define-key dumb-jump-mode-map (kbd "M-g z") 'dumb-jump-go-prefer-external-other-window))
|
||||||
|
|
||||||
(ability git ()
|
(ability git ()
|
||||||
|
|
|
@ -75,11 +75,9 @@
|
||||||
:description "Open up your todo file. checkout `fg42-todo-file` var and `fg42-open-todo` function.")
|
:description "Open up your todo file. checkout `fg42-todo-file` var and `fg42-open-todo` function.")
|
||||||
(global-set-key [f9] 'fg42-open-todo))
|
(global-set-key [f9] 'fg42-open-todo))
|
||||||
|
|
||||||
(global-unset-key (kbd "C-m"))
|
|
||||||
(global-unset-key (kbd "C-o"))
|
(global-unset-key (kbd "C-o"))
|
||||||
(global-unset-key (kbd "C-v"))
|
(global-unset-key (kbd "C-v"))
|
||||||
|
|
||||||
(global-set-key (kbd "RET") 'newline)
|
|
||||||
;; replace strings
|
;; replace strings
|
||||||
(global-set-key (kbd "C-c M-s") 'replace-string)
|
(global-set-key (kbd "C-c M-s") 'replace-string)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue