mirror of
https://github.com/logseq/logseq.git
synced 2026-05-03 18:36:43 +00:00
* added shortcut for closing the right sidebar top item resolving issue #7275 * namespace update & binding update * reverting git binding * Address remaining feedback - Use close instead of clear as it is a more general verb for future commands - Use 'c t' for binding Co-authored-by: Gabriel Horner <gabriel@logseq.com>
This commit is contained in:
@@ -287,6 +287,9 @@
|
||||
:sidebar/open-today-page {:binding (if mac? "mod+shift+j" "alt+shift+j")
|
||||
:fn page-handler/open-today-in-sidebar}
|
||||
|
||||
:sidebar/close-top {:binding "c t"
|
||||
:fn #(state/sidebar-remove-block! 0)}
|
||||
|
||||
:sidebar/clear {:binding "mod+c mod+c"
|
||||
:fn #(do
|
||||
(state/clear-sidebar-blocks!)
|
||||
@@ -582,7 +585,9 @@
|
||||
:ui/install-plugins-from-file
|
||||
:editor/toggle-open-blocks
|
||||
:ui/toggle-cards
|
||||
:git/commit])
|
||||
:git/commit
|
||||
:sidebar/close-top
|
||||
])
|
||||
(with-meta {:before m/enable-when-not-editing-mode!}))}))
|
||||
|
||||
;; To add a new entry to this map, first add it here and then
|
||||
@@ -703,6 +708,7 @@
|
||||
:graph/add
|
||||
:graph/save
|
||||
:graph/re-index
|
||||
:sidebar/close-top
|
||||
:sidebar/clear
|
||||
:sidebar/open-today-page
|
||||
:search/re-index
|
||||
|
||||
Reference in New Issue
Block a user