kamecha / traqVimPractice

Unofficial traQ Vim/Neovim plugin.
MIT License
7 stars 0 forks source link

メッセージ関連をコピーするオペレータとか追加 #68

Closed kamecha closed 8 months ago

kamecha commented 8 months ago

オペレータとかモーションでヤンクできるようにしたし、それようのアクションとかも追加した

これを元にさらに便利なアクション作れそう

Summary by CodeRabbit

coderabbitai[bot] commented 8 months ago

Walkthrough

The traqvim plugin has been updated to include new features for yanking message links and markdown content directly within Vim. Users can now register yank operations to easily copy message links and markdown to the clipboard, enhancing the plugin's functionality for message handling and integration with the messaging platform.

Changes

File Path Change Summary
autoload/traqvim.vim Added functions for registering and handling yank operations for message links and markdown.
denops/traqvim/action.ts Introduced new asynchronous functions to yank message links and markdown content.
denops/traqvim/main.ts Modified to include new yank actions within the main function.
ftplugin/traqvim.vim Updated key mappings and commands for new yanking functionalities.

🐇✨ In the land of code and vim,
A rabbit hopped, its chances slim.
But with a yank and a link so bright,
It copied messages with delight. 🌟📝


Tips ### Chat with CodeRabbit Bot (`@coderabbitai`) - If you reply to a *review comment* from CodeRabbit, the bot will automatically respond. - To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment - Note: Review comments are made on code diffs or files, not on the PR overview. - Add `@coderabbitai ignore` anywhere in the PR description to prevent this PR from being reviewed. ### CodeRabbit Commands (invoked as PR comments) - `@coderabbitai pause` to pause the reviews on a PR. - `@coderabbitai resume` to resume the paused reviews. - `@coderabbitai review` to trigger a review. This is useful when automatic reviews are disabled for the repository. - `@coderabbitai resolve` resolve all the CodeRabbit review comments. - `@coderabbitai help` to get help. Note: For conversation with the bot, please use the review comments on code diffs or files. ### CodeRabbit Configration File (`.coderabbit.yaml`) - You can programmatically configure CodeRabbit by adding a `.coderabbit.yaml` file to the root of your repository. - The JSON schema for the configuration file is available [here](https://coderabbit.ai/integrations/coderabbit-overrides.v2.json). - If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: `# yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json`