- fix: highlight focus in not work
- adjust: replace
hl
andHL
- fix typo #26
- feat: add visual mode indicator
- fix: highlight search collapsed content
- fix: search highlight issues
- fix: search highlight case
- feat: refactor search highlight, now it won't change block content.
- fix: change mapping
zm
andzM
tozc
andzC
. #21 - fix: adjust
a
,i
,A
andI
mapping #20. - fix: typos, thanks to @RomanHN
- fix: adjust color picker, auto lose focus for preview
- feat: support
:NUMBER
to scroll to specific line or:.NUMBER
represents scrolling to NUMBER * 100% of the page. - fix: optimize search a little bit.
- feat: add
--ns
and--namespace
to:go
and:go!
, so you can go next level without inputing prefix title
- feat: add
z M
to collapse hierarchically. addz O
to extend hierarchically.
- feat: new VIM-like in-page search support smartcase.
- feat: add short n for next match, N for prev match.
- feat: add highlight support,
:clear-highlights
to clear all highlights on current page.
- feat: add
ctrl+a
andctrl+x
to increase or decrease the first found number in block. Support multiple selections and combo. - feat: add
x
andX
to cut a leading character or word. Support multiple selections. - adjust:
:lorem
now support-p
and--paragraph
stands forparagraph
,-w
and--word
stands for word. - adjust:
:lorem-ipsum
is deleted, because it is too long to type.
- feat: add
:copy-path
to get page or journal absolute path, so you can edit it outside of Logseq. - feat: add
:open-in-vscode
to open page or journal in VSCode
This release is all about setting block background color
- feat:
:bg [namedColor|hexColor]
command to set block background color, support multiple block selection. - feat:
:bg-picker
command to trigger a color picker to select block background color, support multiple block selection. - feat:
:bg-random
command to set block background color randomly, support multiple block selection. - feat:
:bg-clear
command to clear block background color, support multiple block selection. - feat:
/Random Bg Color
andChildren Random Bg Color
to set block background color and children blocks background color.
- feat: add
mod+alt+;
shortcut to command mode for Windows trigger. - feat: support emoji replacement, like
:smile:
will be replaced to 😄 immediately.
- feat: add
:sort
and:rsort
to sort blocks, it support to sort/reverse sort page first level blocks with no focus any blocks and to sort/reverse sort sub level blocks with focus on one block. - feat: also you can sort sub level blocks or reverse sort by slash command:
/Sort Blocks
and/Reverse Sort Blocks
. - fix: change emoji-picker ui shortcut from
ctrl+e
tomod+/
becausectrl+e
in editing mode have special meaning. - fix: remove
trigger-on-focus
option commands.
- feat: add
@back
and@forward
for command mode:go
command. - feat: add
:lorem
command to generate some random blocks. - feat: add
:emoji
to insert emojis by searching keyword. - feat: add
:emoji-picker
to open emoji picker UI. - feat: add
ctrl+e
to trigger emoji picker UI. - feat: add
/Insert emoji
slash command to trigger emoji picker UI.
- feat: add VIM command mode, trigger by shortcut:
mod+shift+;
,for now 10+ commands supported, and I'm sure that would be more. - feat: one useful commmand is: replace string like VIM. Input
:%s/search/replace/modifiers
, e.g.:%s/foo/bar/ig
- feat: another useful command is: go to page. Input
:go PAGENAME
, e.g.:go 2022-02-22
, also support go to block by:go ((blockId))
- feat: some commands related to marks:
:marks
,:delmarks
,:delmarks!
,:mark
. - more commands descriptions in README.
- fix:
ctrl+v
in Windows is for pasting, so I disable visual block mode key-binding for editing mode. - feat: add mark feature like VIM, the short cut is
NUMBER + m
to save current page or block, andNUMBER + '
to load saved mark, andmod+'
to load saved mark on right sidebar. The NUMBER can be more than 10, actually thousands if you wish. - infra: build tool changed from Webpack to Vite.
- infra: use Github Actions to publish plugin.
- feat: add changing case action, the shortcut is
mod+shift+u
, means to toggle upper case and lower case. - feat: combo action supported 16 case style,
Number key
+mod+shift+u
to trigger, learn more from README. - feat: add original VIM case shortcut,
gu
is for lower case,gU
is for upper case.
- feat: add VIM-like visual block mode, in this mode,
j
andk
are for block selecting,J
andK
are for block moving.
- all actions support multiple key bindings in settings JSON file.
- fix: change
ctrl+enter
tomod+shift+enter
to jump internal page or tag.
- fix:
mod+j mod+j
would conflict withctrl+j
on many devices, so I changedctrl+j
shortcut tomod+alt+j
to join sibling block. - feat: add
ctrl+[
to also trigger exiting editing mode, but still havemod+j mod+j
. - feat: add
a
to enter insert mode, but still havei
do the same thing.
- feat: add
mod+j mod+j
to exit editing mode. - feat: add
ctrl+enter
to jump into internal page, support[[]]
and#tag
style, sometimes better UX than DWIM. - feat: add
ctrl+j
to join next sibling conditionally. - fix:
zo
andzm
shortcut not work on latest Logseq release.
NOTE:
- The joining shortcut can only join siblings without children blocks and support combo and should not be trigger too fast in editing mode.
- Jumping internal page support combo to select which page to jump.