No description
Find a file
mbedded 84585f2e69 chore: Remove dependabot
It's not needed because this project is so small.
Furthermore, this plugin is mostely feature complete. So we may need updates in the future, when the API changes.

Even if dependabot is useful, it creates many PRs and additional work. This TS file is compiled to JS once and runs inside of Obsidian.
So the need of dependabot is questionable.
I thought, there would be just a few messages/updates by dependabot.
2026-06-16 10:22:50 +02:00
.github chore: Remove dependabot 2026-06-16 10:22:50 +02:00
locales feat: Add simple localizer 2025-10-23 15:56:49 +02:00
src refactor: Remove private _settings property and make settings public in adherence with obsidian API 2026-06-16 10:17:58 +02:00
.editorconfig feat: Initial commit with the logic 2025-07-08 17:09:09 +02:00
.eslintignore Initial commit 2025-07-08 08:10:59 +02:00
.eslintrc Initial commit 2025-07-08 08:10:59 +02:00
.gitignore Initial commit 2025-07-08 08:10:59 +02:00
.npmrc Initial commit 2025-07-08 08:10:59 +02:00
CHANGELOG.md 1.3.1 2026-05-14 10:19:25 +02:00
esbuild.config.mjs chore: Replace builtin-modules with builtinModules from node:module and remove dependency 2026-05-14 08:37:20 +02:00
LICENSE.md feat: Initial commit with the logic 2025-07-08 17:09:09 +02:00
manifest.json 1.3.1 2026-05-14 10:19:25 +02:00
package-lock.json chore: Update packages recommended by dependabot 2026-06-16 10:16:33 +02:00
package.json chore: Update packages recommended by dependabot 2026-06-16 10:16:33 +02:00
README.md docs: Change title of readme to match plugin name 2026-05-14 08:48:07 +02:00
tsconfig.json chore: Update dependencies in package-lock.json to latest versions 2026-05-14 08:47:46 +02:00
version-bump.mjs Initial commit 2025-07-08 08:10:59 +02:00
versions.json 1.3.1 2026-05-14 10:19:25 +02:00

Paste as file link

This plugin is used to paste the content of the clipboard as a link to another file in the current vault. The selected text will be used as an alias while a file link is created.
As an example, assume this is the text in your file:

Lorem ipsum dolor sit amet.

After pasting my note to a selection, this will be updated to:

Lorem ipsum [[my note|dolor sit amet]].     // Wiki link
Lorem ipsum [dolor sit amet](my note.md).   // Markdown link

The type of link is depending on your vault settings (Settings > Files and links).

If the clipboard contains no string (text) or no file could be found, this plugin will do nothing and the usual paste will take place. If you have multiple files with the same name in your vault, a dialog will open so you can select the correct file.

Usage

  • Copy the name of a note from your vault.
  • Select text in any document of your vault.
  • Paste the value from your clipboard (or use the command).
  • Be happy that your selection became a link to your file with an alias :)

Installation

The plugin can be installed in Obsidian itself via Settings > Community plugins > Browse.

For manual installation, go to the latest release. Download the files main.js and manifest.json. Move these files to your vault: YourVault/.obsidian/plugins/paste-as-file-link/.

Settings / Usage

The default setting of this plugin is the usage of CTRL + V (paste). This setting can be turned on and off. If you turn this off, you have to use the command palette.

Contribution

If you face any issues, feel free to create an issue or a pull-request in this repository.

Reason for this plugin

This plugin was created because I often write text and add links to my notes afterward. But every time I paste the name of the note, the text gets replaced and I have to create links with an alias by myself.