Skip to content

Commit

Permalink
command-i to move up, command-k to remove current; release 0.3.13 on npm
Browse files Browse the repository at this point in the history
  • Loading branch information
chenyong committed Dec 5, 2017
1 parent c23fc64 commit 87224d5
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/coir.edn

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/shadow-cljs.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[respo/ui "0.2.0"]
[mvc-works/polyfill "0.1.1"]
[mvc-works/verbosely "0.1.1"]
[respo "0.8.0"]
[respo "0.8.1"]
[fipp "0.6.12"]
[mvc-works/keycode "0.1.3"]
[respo/markdown "0.1.7"]]
Expand Down
4 changes: 2 additions & 2 deletions app/src/app/util/shortcuts.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
(and meta? (= code keycode/e)) (do (dispatch! :writer/edit-ns nil))
(and meta? (= code keycode/j))
(do (.preventDefault event) (dispatch! :writer/move-next nil))
(and meta? shift? (= code keycode/k)) (do (dispatch! :writer/move-previous nil))
(and meta? (not shift?) (= code keycode/k)) (do (dispatch! :writer/finish nil))
(and meta? (= code keycode/i)) (do (dispatch! :writer/move-previous nil))
(and meta? (= code keycode/k)) (do (dispatch! :writer/finish nil))
(and meta? (= code keycode/s))
(do (.preventDefault event) (dispatch! :effect/save-files nil))
(and meta? shift? (= code keycode/f)) (dispatch! :router/change {:name :files}))))
2 changes: 1 addition & 1 deletion server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cumulo-editor",
"version": "0.3.12",
"version": "0.3.13",
"description": "Command line for Cumulo Editor",
"bin": {
"cumulo-editor": "dist/main.js",
Expand Down

0 comments on commit 87224d5

Please sign in to comment.