Skip to content

Commit 2d8a066

Browse files
committed
Merge pull request clojure-emacs#110 from silence/issue-44-key-bindings
Bind clojure-jump-between-tests-and-code to C-c C-t.
2 parents 4098601 + feb6b82 commit 2d8a066

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Once you have a repl session active, you can run the tests in the
4545
current buffer with `C-c C-,`. Failing tests and errors will be
4646
highlighted using overlays. To clear the overlays, use `C-c k`.
4747

48-
You can jump between implementation and test files with `C-c t` if
48+
You can jump between implementation and test files with `C-c C-t` if
4949
your project is laid out in a way that clojure-test-mode expects. Your
5050
project root should have a `src/` directory containing files that
5151
correspond to their namespace. It should also have a `test/` directory

clojure-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ Clojure to load that file."
358358
(define-key map "\C-c\C-e" 'lisp-eval-last-sexp)
359359
(define-key map "\C-c\C-l" 'clojure-load-file)
360360
(define-key map "\C-c\C-r" 'lisp-eval-region)
361-
(define-key map (kbd "C-c C-s") 'clojure-jump-between-tests-and-code)
361+
(define-key map (kbd "C-c C-t") 'clojure-jump-between-tests-and-code)
362362
(define-key map "\C-c\C-z" 'clojure-display-inferior-lisp-buffer)
363363
(define-key map (kbd "C-c M-q") 'clojure-fill-docstring)
364364
map)

clojure-test-mode.el

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ Retuns the problem overlay if such a position is found, otherwise nil."
430430
(define-key map (kbd "C-c C-'") 'clojure-test-show-result)
431431
(define-key map (kbd "C-c '") 'clojure-test-show-result)
432432
(define-key map (kbd "C-c k") 'clojure-test-clear)
433-
(define-key map (kbd "C-c C-s") 'clojure-jump-between-tests-and-code)
433+
(define-key map (kbd "C-c C-t") 'clojure-jump-between-tests-and-code)
434434
(define-key map (kbd "M-p") 'clojure-test-previous-problem)
435435
(define-key map (kbd "M-n") 'clojure-test-next-problem)
436436
map)

0 commit comments

Comments
 (0)