Skip to content

Instantly share code, notes, and snippets.

View brownfoxsir's full-sized avatar
🌴
On vacation

lingfeng brownfoxsir

🌴
On vacation
View GitHub Profile
@brownfoxsir
brownfoxsir / pre-commit.sh
Created April 30, 2024 02:11 — forked from stuntgoat/pre-commit.sh
Git pre-commit hook for finding Python added 'print' statements.
#!/bin/sh
# To enable this hook, rename this file to "pre-commit".
###############################################################################
# https://gist.github.com/stuntgoat/8800170
# Git pre-commit hook for finding and warning about Python print
# statements.
#
@brownfoxsir
brownfoxsir / vim-surround使用指南.MD
Created April 18, 2024 01:39 — forked from wilon/vim-surround使用指南.MD
vim-surround使用指南,vim-surround如何使用

普通模式

命令 说明 + 示例
ds 删除括号
ds " "Hello world!" =>
Hello world!
cs 替换括号
cs "( "Hello world!" =>
(Hello world!)
cS 替换括号,括号内文本做新一行
cS "{ "Hello world!" => {     Hello world! }
@brownfoxsir
brownfoxsir / build4123.sublime4.key
Created June 24, 2023 14:59 — forked from skoqaq/build4123.sublime4.key
Sublime Text 4 License Key
—– BEGIN LICENSE —–
Mifeng User
Single User License
EA7E-1184812
C0DAA9CD 6BE825B5 FF935692 1750523A
EDF59D3F A3BD6C96 F8D33866 3F1CCCEA
1C25BE4D 25B1C4CC 5110C20E 5246CC42
D232C83B C99CCC42 0E32890C B6CBF018
B1D4C178 2F9DDB16 ABAA74E5 95304BEF
9D0CCFA9 8AF8F8E2 1E0A955E 4771A576