Skip to content

Instantly share code, notes, and snippets.

View kawarimidoll's full-sized avatar
🦕
#Deno

カワリミ人形 kawarimidoll

🦕
#Deno
View GitHub Profile
@joyrexus
joyrexus / README.md
Last active February 24, 2024 15:16
collapsible markdown

collapsible markdown?

CLICK ME

yes, even hidden code blocks!

print("hello world!")

担当医師へ

心肺停止状態の場合
蘇生措置は不要
トリアージ不処置群に相当する場合
即時に治療を打ち切っていただきたい
トリアージ最優先治療群に相当するがリソース不足等の問題により治療継続が困難な場合
治療を打ち切り、もし可能なら緩和ケアに移行して欲しい
脳死状態になった場合
機械装置による延命措置は不要
@kylechui
kylechui / dot-repeating.md
Last active June 26, 2024 06:02
A basic overview of how to manage dot-repeating in your Neovim plugin, as well as manipulate it to "force" what action is repeated.

Adding dot-repeat to your Neovim plugin

In Neovim, the . character repeats "the most recent action"; however, this is not always respected by plugin actions. Here we will explore how to build dot-repeat support directly into your plugin, bypassing the requirement of dependencies like repeat.vim.

The Basics

When some buffer-modifying action is performed, Neovim implicitly remembers the operator (e.g. d), motion (e.g. iw), and some other miscellaneous information. When the dot-repeat command is called, Neovim repeats that operator-motion combination. For example, if we type ci"text<Esc>, then we replace the inner contents of some double quotes with text, i.e. "hello world""text". Dot-repeating from here will do the same, i.e. "more samples""text".

Using operatorfunc

@yamarten
yamarten / atproto_terms.asc
Last active March 9, 2024 10:52
独断で選んだatproto用語一覧

ATP用語

用語 別名 意味 出典 備考