Skip to content

Instantly share code, notes, and snippets.

View keaising's full-sized avatar
🛠️
英特那雄纳尔就一定要实现!

Taiga keaising

🛠️
英特那雄纳尔就一定要实现!
View GitHub Profile
@keaising
keaising / backtick.lua
Last active August 17, 2023 06:33
backtick.lua
function SearchBackticksInside(include)
-- search back for start `
vim.fn.search("`", "b")
if not include then
-- search 1st non-empty char
vim.fn.search("\\S")
end
vim.api.nvim_command("normal! m<")
-- search forward for end `
@keaising
keaising / propc.snippet
Created September 7, 2018 02:05
C# propc template
<?xml version="1.0" encoding="utf-8" ?>
<CodeSnippets xmlns="http://schemas.microsoft.com/VisualStudio/2005/CodeSnippet">
<CodeSnippet Format="1.0.0">
<Header>
<Title>propc</Title>
<Shortcut>propc</Shortcut>
<Description>Code snippet for an automatically implemented property
Language Version: C# 3.0 or higher with comments</Description>
<Author>Shuxiao Wang</Author>
<SnippetTypes>