Giter Site home page Giter Site logo

siyuan-plugin-keymap's Introduction

快捷键

  1. 点击状态栏右下角的“快捷键”, 即可显示快捷键内容, 支持搜索
  2. 自定义命令
  3. 支持找到重复的快捷键,并点击高亮展示

Usage 使用方法

修改/data/storage/petal/siyuan-plugin-keymap/config.json文件,内容为脚本配置,例如:

[{"langKey":"打开首页", "script":"window.open('siyuan://blocks/20230103184046-v2ierte')"},{"langKey":"输出内容", "script":"console.log('hello world')"}]

其中,langKey为提示内容,可以在命令面板中找到对应的快捷键,思源-设置-快捷键中找到内容进行手动切换。script为你要运行的javascript脚本。添加完成后需要手动刷新思源即可进行加载。

siyuan-plugin-keymap's People

Contributors

zuoez02 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.