- fix: add
shift+.andshift+,to indent and outdent block, thanks to @primeapple for the suggestion. #34 - fix: use
shift+handshift+lto focus in and out block level. - fix: adjust showMsg to use logseq.UI.showMsg instead of logseq.App.showMsg
- feat: search highlight can match word multi times in block
- feat: search highlight can use a/A/i/I/d c to edit like VIM
- fix: adjust some key bindings.
- feat: big feature, add cursor to block in normal mode.
- fix: optimize j and k to move across block levels.
- feat: add visual mode to select text in block.
- feat: improve marks UI and functionality.
- feat: add settings UI for key bindings configuration with customization support.
- fix: optimize increase/decrease number action.
- feat: optimize search commands to support highlights.
- feat: optimize move cursor actions to support visual mode.
- feat: change case support visual mode selection.
- feat: cut action support visual mode selection.
- feat: add visual line mode.
- feat: add replace action.
- chore: upgrade deps.
- chore: adjust github action config file
- merge #65 and #66, thanks to @primeapple
- fix: optimize vim command substitute
- fix: hide Visual/Normal indicator by setting
- fix: try to stay in the original page.
- fix: jump into tag scenario
- infra: upgrade deps
- fix: optimize prevSibling and nextSibling action. It can keep on block page now.
- feat: add delete prev and next blocks keybindings. #39
- feat: add an option to show recent emoji by default. By the way, the default shortcut is
cmd+/for triiger the emoji panel. #35 - fix: jump into can not recognize tag correctly. #42
- fix: try to fix go sibling commands not work in zoom edit mode. #41
- fix: highlight focus in not work
- adjust: replace
hlandHL
- 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
zmandzMtozcandzC. #21 - fix: adjust
a,i,AandImapping #20. - fix: typos, thanks to @RomanHN
- fix: adjust color picker, auto lose focus for preview
- feat: support
:NUMBERto scroll to specific line or:.NUMBERrepresents scrolling to NUMBER * 100% of the page. - fix: optimize search a little bit.
- feat: add
--nsand--namespaceto:goand:go!, so you can go next level without inputing prefix title
- feat: add
z Mto collapse hierarchically. addz Oto 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-highlightsto clear all highlights on current page.
- feat: add
ctrl+aandctrl+xto increase or decrease the first found number in block. Support multiple selections and combo. - feat: add
xandXto cut a leading character or word. Support multiple selections. - adjust:
:loremnow support-pand--paragraphstands forparagraph,-wand--wordstands for word. - adjust:
:lorem-ipsumis deleted, because it is too long to type.
- feat: add
:copy-pathto get page or journal absolute path, so you can edit it outside of Logseq. - feat: add
:open-in-vscodeto 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-pickercommand to trigger a color picker to select block background color, support multiple block selection. - feat:
:bg-randomcommand to set block background color randomly, support multiple block selection. - feat:
:bg-clearcommand to clear block background color, support multiple block selection. - feat:
/Random Bg ColorandChildren Random Bg Colorto 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
:sortand:rsortto 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 Blocksand/Reverse Sort Blocks. - fix: change emoji-picker ui shortcut from
ctrl+etomod+/becausectrl+ein editing mode have special meaning. - fix: remove
trigger-on-focusoption commands.
- feat: add
@backand@forwardfor command mode:gocommand. - feat: add
:loremcommand to generate some random blocks. - feat: add
:emojito insert emojis by searching keyword. - feat: add
:emoji-pickerto open emoji picker UI. - feat: add
ctrl+eto trigger emoji picker UI. - feat: add
/Insert emojislash 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+vin 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 + mto 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+uto trigger, learn more from README. - feat: add original VIM case shortcut,
guis for lower case,gUis for upper case.
- feat: add VIM-like visual block mode, in this mode,
jandkare for block selecting,JandKare for block moving.
- all actions support multiple key bindings in settings JSON file.
- fix: change
ctrl+entertomod+shift+enterto jump internal page or tag.
- fix:
mod+j mod+jwould conflict withctrl+jon many devices, so I changedctrl+jshortcut tomod+alt+jto join sibling block. - feat: add
ctrl+[to also trigger exiting editing mode, but still havemod+j mod+j. - feat: add
ato enter insert mode, but still haveido the same thing.
- feat: add
mod+j mod+jto exit editing mode. - feat: add
ctrl+enterto jump into internal page, support[[]]and#tagstyle, sometimes better UX than DWIM. - feat: add
ctrl+jto join next sibling conditionally. - fix:
zoandzmshortcut 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.