An open API service indexing awesome lists of open source software.

https://github.com/nriver/swap-enter-widget

swap "enter" and "shift + enter" for Trilium Notes. 交换Trilium Notes 的 "enter" 和 "shift + enter".
https://github.com/nriver/swap-enter-widget

trilium trilium-notes trilium-plugin

Last synced: 4 months ago
JSON representation

swap "enter" and "shift + enter" for Trilium Notes. 交换Trilium Notes 的 "enter" 和 "shift + enter".

Awesome Lists containing this project

README

          

# swap-enter-widget :)

[中文说明](README_CN.md)

Please stand up and stretch your body for a while if you see this :)

[![Support Me on Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/nriver)

**Improve your experience**

Swap "enter" and "shift + enter" in Trilium Notes, with a special exception for lists.

## Features

- Swaps the behavior of "Enter" and "Shift+Enter" keys for most content
- Preserves normal behavior when editing lists (numbered lists, bulleted lists, to-do lists)
- Makes it easier to create new paragraphs with a single key press

# How to install

1. Download the zip file from [release page](https://github.com/Nriver/swap-enter-widget/releases).
2. Right click note tree in Trilium and click import, uncheck `Safe Import`.
3. Restart Trilium Notes or use `ctrl+r` to reload the interface.
4. Open any text note, the "enter" and "shift + enter" should be swapped.
5. Have fun.

# Why I made this?

A Trilium Notes user asked for this feature : )

Thanks to this [comment](https://github.com/zadam/trilium/issues/4402#issuecomment-1802792643) made by [mabeyj](https://github.com/mabeyj) which inspired me.

# Donation

Hello! If you appreciate my creations, kindly consider backing me. Your support is greatly appreciated. Thank you!

Ko-fi:
[![Support Me on Ko-fi](https://ko-fi.com/img/githubbutton_sm.svg)](https://ko-fi.com/nriver)

Alipay:
![Alipay](https://github.com/Nriver/trilium-translation/raw/main/docs/alipay.png)

Wechat Pay:
![Wechat Pay](https://github.com/Nriver/trilium-translation/raw/main/docs/wechat_pay.png)