Kill and Yank

approved

by INOUE Takuya

Enable kill and yank (like Emacs) in the editor.

15 stars3,979 downloadsUpdated 3y agoMIT
View on GitHub

Obsidian Kill and Yank

Obsidian plugin to enable kill and yank (like Emacs) in the editor.

Obsidian https://obsidian.md

Usage

Kill line

Cut from the cursor position to the end of the line.

default: Control + k

Kill region

Cut the selection.

default: Control + w

Yank

Paste kill ring.

default: Control + y

Set mark

Toggle the start position of the selection.

default: Control + Space

Note

This plugin enables kill and yank in the editor, but does not enable kill and yank in the title.

If you wish to continue to use kill and yank in the title, change the default key mappings.

Development

Setup

yarn install

Format

yarn format:check
yarn format:fix

Lint

yarn lint
yarn lint:fix

Build

yarn build

Manually installing this plugin

Copy over main.js, styles.css, manifest.json to your vault VaultFolder/.obsidian/plugins/kill-and-yank/.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.