|
@@ -15,41 +15,41 @@
|
|
|
(def default-config
|
|
|
{:shortcut.handler/date-picker
|
|
|
{:date-picker/complete
|
|
|
- {:desc "Date picker choose selected day"
|
|
|
+ {:desc "Date picker: Choose selected day"
|
|
|
:binding "enter"
|
|
|
:fn ui-handler/shortcut-complete}
|
|
|
:date-picker/prev-day
|
|
|
- {:desc "Date picker select previous day"
|
|
|
+ {:desc "Date picker: Select previous day"
|
|
|
:binding "left"
|
|
|
:fn ui-handler/shortcut-prev-day}
|
|
|
:date-picker/next-day
|
|
|
- {:desc "Date picker select next day"
|
|
|
+ {:desc "Date picker: Select next day"
|
|
|
:binding "right"
|
|
|
:fn ui-handler/shortcut-next-day}
|
|
|
:date-picker/prev-week
|
|
|
- {:desc "Date picker select prev week"
|
|
|
+ {:desc "Date picker: Select previous week"
|
|
|
:binding "up"
|
|
|
:fn ui-handler/shortcut-prev-week}
|
|
|
:date-picker/next-week
|
|
|
- {:desc "Date picker select next week"
|
|
|
+ {:desc "Date picker: Select next week"
|
|
|
:binding "down"
|
|
|
:fn ui-handler/shortcut-next-week}}
|
|
|
|
|
|
:shortcut.handler/auto-complete
|
|
|
{:auto-complete/prev
|
|
|
- {:desc "Auto-complete previous selected item"
|
|
|
+ {:desc "Auto-complete: Choose selected item"
|
|
|
+ :binding "enter"
|
|
|
+ :fn ui-handler/auto-complete-complete}
|
|
|
+ :auto-complete/shift-complete
|
|
|
+ {:desc "Auto-complete: Select previous item"
|
|
|
:binding "up"
|
|
|
:fn ui-handler/auto-complete-prev}
|
|
|
:auto-complete/next
|
|
|
- {:desc "Auto-complete next selected item"
|
|
|
+ {:desc "Auto-complete: Select next item"
|
|
|
:binding "down"
|
|
|
:fn ui-handler/auto-complete-next}
|
|
|
:auto-complete/complete
|
|
|
- {:desc "Auto-complete choose selected item"
|
|
|
- :binding "enter"
|
|
|
- :fn ui-handler/auto-complete-complete}
|
|
|
- :auto-complete/shift-complete
|
|
|
- {:desc "Auto-complete open selected item in sidebar"
|
|
|
+ {:desc "Auto-complete: Open selected item in sidebar"
|
|
|
:binding "shift+enter"
|
|
|
:fn ui-handler/auto-complete-shift-complete}}
|
|
|
|
|
@@ -72,7 +72,7 @@
|
|
|
:binding "enter"
|
|
|
:fn editor-handler/keydown-new-block-handler}
|
|
|
:editor/new-line
|
|
|
- {:desc "Newline in block"
|
|
|
+ {:desc "New line in current block"
|
|
|
:binding "shift+enter"
|
|
|
:fn editor-handler/keydown-new-line-handler}
|
|
|
:editor/cycle-todo
|
|
@@ -104,7 +104,7 @@
|
|
|
:binding "mod+shift+s"
|
|
|
:fn editor-handler/strike-through-format!}
|
|
|
:editor/insert-link
|
|
|
- {:desc "Html Link"
|
|
|
+ {:desc "HTML Link"
|
|
|
:binding "mod+k"
|
|
|
:fn editor-handler/html-link-format!}
|
|
|
:editor/move-block-up
|
|
@@ -116,39 +116,39 @@
|
|
|
:binding (if mac? "mod+shift+down" "alt+shift+down")
|
|
|
:fn (editor-handler/move-up-down false)}
|
|
|
:editor/clear-block
|
|
|
- {:desc "Clear entire block content"
|
|
|
+ {:desc "Delete entire block content"
|
|
|
:binding (if mac? "ctrl+l" "alt+l")
|
|
|
:fn editor-handler/clear-block-content!}
|
|
|
:editor/kill-line-before
|
|
|
- {:desc "Kill line before cursor position"
|
|
|
+ {:desc "Delete line before cursor position"
|
|
|
:binding (if mac? "ctrl+u" "alt+u")
|
|
|
:fn editor-handler/kill-line-before!}
|
|
|
:editor/kill-line-after
|
|
|
- {:desc "Kill line after cursor position"
|
|
|
+ {:desc "Delete line after cursor position"
|
|
|
:binding (if mac? false "alt+k")
|
|
|
:fn editor-handler/kill-line-after!}
|
|
|
:editor/beginning-of-block
|
|
|
- {:desc "Move cursor to the beginning of block"
|
|
|
+ {:desc "Move cursor to the beginning of a block"
|
|
|
:binding (if mac? false "alt+a")
|
|
|
:fn editor-handler/beginning-of-block}
|
|
|
:editor/end-of-block
|
|
|
- {:desc "Move cursor to the end of block"
|
|
|
+ {:desc "Move cursor to the end of a block"
|
|
|
:binding (if mac? false "alt+e")
|
|
|
:fn editor-handler/end-of-block}
|
|
|
:editor/forward-word
|
|
|
- {:desc "Move cursor forward by word"
|
|
|
+ {:desc "Move cursor forward a word"
|
|
|
:binding (if mac? "ctrl+shift+f" "alt+f")
|
|
|
:fn editor-handler/cursor-forward-word}
|
|
|
:editor/backward-word
|
|
|
- {:desc "Move cursor backward by word"
|
|
|
+ {:desc "Move cursor backward a word"
|
|
|
:binding (if mac? "ctrl+shift+b" "alt+b")
|
|
|
:fn editor-handler/cursor-backward-word}
|
|
|
:editor/forward-kill-word
|
|
|
- {:desc "Kill a word forwards"
|
|
|
+ {:desc "Delete a word forwards"
|
|
|
:binding (if mac? "ctrl+w" "alt+d")
|
|
|
:fn editor-handler/forward-kill-word}
|
|
|
:editor/backward-kill-word
|
|
|
- {:desc "Kill a word backwards"
|
|
|
+ {:desc "Delete a word backwards"
|
|
|
:binding (if mac? false "alt+w")
|
|
|
:fn editor-handler/backward-kill-word}
|
|
|
:editor/replace-block-reference-at-point
|
|
@@ -310,7 +310,7 @@
|
|
|
:binding "t t"
|
|
|
:fn state/toggle-theme!}
|
|
|
:ui/toggle-contents
|
|
|
- {:desc "Toggle Contents in sidebar"
|
|
|
+ {:desc "Toggle Favorites in sidebar"
|
|
|
:binding "t c"
|
|
|
:fn ui-handler/toggle-contents!}
|
|
|
:ui/toggle-wide-mode
|
|
@@ -318,7 +318,7 @@
|
|
|
:binding "t w"
|
|
|
:fn ui-handler/toggle-wide-mode!}
|
|
|
:editor/toggle-open-blocks
|
|
|
- {:desc "Toggle open blocks, either collapse or expand all blocks"
|
|
|
+ {:desc "Toggle open blocks (collapse or expand all blocks)"
|
|
|
:binding "t o"
|
|
|
:fn editor-handler/toggle-open!}
|
|
|
;; :ui/toggle-between-page-and-file route-handler/toggle-between-page-and-file!
|