New binding for dumb jump introduced

This commit is contained in:
Sameer Rahmani 2017-04-24 10:06:17 +01:00
parent 14b466f16a
commit 69bff99f41
3 changed files with 6 additions and 4 deletions

View File

@ -13,6 +13,8 @@
(add-hook 'cider-mode-hook #'eldoc-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)
(setq tmp-directory (concat (getenv "HOME") "/.tmp")))

View File

@ -75,10 +75,10 @@
:key "M-g o"
:description "Jump to definition in another window")
(cheatsheet-add :group '--Development--
:key "M-g j"
:key "C-u y or M-g j"
:description "Jump to definition in current buffer")
(cheatsheet-add :group '--Development--
:key "M-g x"
:key "C-u i or M-g x"
:description "Jump to definition using an external tool")
(cheatsheet-add :group '--Development--
:key "M-g z"
@ -88,7 +88,9 @@
(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 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 "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))
(ability git ()

View File

@ -75,11 +75,9 @@
:description "Open up your todo file. checkout `fg42-todo-file` var and `fg42-open-todo` function.")
(global-set-key [f9] 'fg42-open-todo))
(global-unset-key (kbd "C-m"))
(global-unset-key (kbd "C-o"))
(global-unset-key (kbd "C-v"))
(global-set-key (kbd "RET") 'newline)
;; replace strings
(global-set-key (kbd "C-c M-s") 'replace-string)