├── global.d.ts
├── .gitignore
├── icon.png
├── screencast.gif
├── postcss.config.js
├── tailwind.config.js
├── src
├── commands
│ ├── help.ts
│ ├── index.ts
│ ├── invoke.ts
│ ├── mark.ts
│ ├── emoji.ts
│ ├── lorem.ts
│ ├── bg.ts
│ ├── sort.ts
│ ├── go.ts
│ └── page.ts
├── style.css
├── App.vue
├── vue.d.ts
├── common
│ └── type.ts
├── stores
│ ├── help.ts
│ ├── copy-text.ts
│ ├── mark.ts
│ ├── emoji.ts
│ ├── command.ts
│ └── color.ts
├── components
│ ├── Search.vue
│ ├── Color.vue
│ ├── CopyText.vue
│ ├── Mark.vue
│ ├── Help.vue
│ └── Command.vue
└── keybindings
│ ├── exitEditing.ts
│ ├── outdent.ts
│ ├── indent.ts
│ ├── left.ts
│ ├── lineEnd.ts
│ ├── right.ts
│ ├── wordEnd.ts
│ ├── findChar.ts
│ ├── wordForward.ts
│ ├── wordBackward.ts
│ ├── extend.ts
│ ├── collapse.ts
│ ├── findCharBackward.ts
│ ├── repeatCharSearch.ts
│ ├── repeatCharSearchReverse.ts
│ ├── redo.ts
│ ├── undo.ts
│ ├── toggleVisualMode.ts
│ ├── number.ts
│ ├── changeCaseLowerCase.ts
│ ├── changeCaseUpperCase.ts
│ ├── top.ts
│ ├── searchBaidu.ts
│ ├── searchGithub.ts
│ ├── bottom.ts
│ ├── searchGoogle.ts
│ ├── searchWikipedia.ts
│ ├── searchYoutube.ts
│ ├── emoji.ts
│ ├── searchStackoverflow.ts
│ ├── pastePrev.ts
│ ├── pasteNext.ts
│ ├── copyCurrentBlockContent.ts
│ ├── prevNewBlock.ts
│ ├── cut.ts
│ ├── nextNewBlock.ts
│ ├── cutWord.ts
│ ├── copyCurrentBlockRef.ts
│ ├── highlightFocusOut.ts
│ ├── extendAll.ts
│ ├── collapseAll.ts
│ ├── decrease.ts
│ ├── increase.ts
│ ├── highlightFocusIn.ts
│ ├── up.ts
│ ├── down.ts
│ ├── backgroundColor.ts
│ ├── joinNextLine.ts
│ ├── insertBefore.ts
│ ├── jumpInto.ts
│ ├── command.ts
│ ├── insert.ts
│ ├── sort.ts
│ ├── prevSibling.ts
│ ├── nextSibling.ts
│ ├── search.ts
│ ├── changeCurrentBlock.ts
│ ├── deleteCurrentBlock.ts
│ ├── deleteCurrentAndNextSiblingBlocks.ts
│ ├── deleteCurrentAndPrevSiblingBlocks.ts
│ ├── mark.ts
│ └── changeCase.ts
├── .editorconfig
├── index.html
├── LICENSE
├── vite.config.ts
├── components.d.ts
├── package.json
├── AGENTS.md
├── .github
└── workflows
│ └── publish.yml
├── auto-imports.d.ts
├── CHANGELOG.md
├── tsconfig.json
└── README.md
/global.d.ts:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | node_modules/
2 | dist/
3 | .DS_Store
4 | .vscode/
5 |
--------------------------------------------------------------------------------
/icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vipzhicheng/logseq-plugin-vim-shortcuts/HEAD/icon.png
--------------------------------------------------------------------------------
/screencast.gif:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/vipzhicheng/logseq-plugin-vim-shortcuts/HEAD/screencast.gif
--------------------------------------------------------------------------------
/postcss.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | plugins: {
3 | tailwindcss: {},
4 | autoprefixer: {},
5 | },
6 | }
7 |
--------------------------------------------------------------------------------
/tailwind.config.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | content: ["index.html", "src/**/*.vue"],
3 | theme: {
4 | extend: {},
5 | },
6 | plugins: [],
7 | };
8 |
--------------------------------------------------------------------------------
/src/commands/help.ts:
--------------------------------------------------------------------------------
1 | import { useHelpStore } from "@/stores/help";
2 | export function show() {
3 | const helpStore = useHelpStore();
4 | helpStore.show();
5 | }
6 |
--------------------------------------------------------------------------------
/src/style.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 | @tailwind components;
3 | @tailwind utilities;
4 |
5 | mark.vim-shortcuts-highlight {
6 | padding-left: 0 !important;
7 | padding-right: 0 !important;
8 | }
9 |
--------------------------------------------------------------------------------
/src/App.vue:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
32 | Logseq VIM shortcuts is a Logseq plugin to provide some shortcuts which 33 | give Logseq a feeling of VIM-like. 34 |
35 |36 | With evolving, it is becoming a little bit complicated and need some 37 | time to learn, please click the repo icon to read plugin usage on repo 38 | readme. 43 |
44 |45 | If you like this plugin and would like to support me to keep working on 46 | this plugin, you can 47 | buy me a coffee, that would be very kind and appreciated! 53 |
54 |