Skip to content

Instantly share code, notes, and snippets.

@MR-HOWE
MR-HOWE / settings.json
Created September 12, 2019 07:53
vscodeSettings
{
// 编辑界面editor设置
"editor.mouseWheelZoom": true,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": false,
"editor.wordWrap": "bounded",
"editor.wordWrapColumn": 120,
"editor.minimap.showSlider": "always",
// 显示代码长度标尺
"editor.rulers" :[120],
@MR-HOWE
MR-HOWE / .cvimrc
Last active August 25, 2019 15:05
chrome拓展cvim配置文件
map h :history!<Space>
" 按s也触发搜索
map s a
" 按u重新打开最后一次关闭的tab页
map u lastClosedTab
" 一些不希望打开cvim的网站设置在这里
let blacklists = ["https://www.bilibili.com/*","https://surviv.itch.io/*","http://surviv.io/*","https://amcat5.aspiringminds.cn/*","https://www.nowcoder.com/*","https://yorg.io/*"]
@MR-HOWE
MR-HOWE / .bashrc
Last active January 16, 2025 03:57
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
alias rm='rm -i'
alias mv='mv -i'
# 忽略补全大小写。重启终端即可刷新设置。
set completion-ignore-case on
@MR-HOWE
MR-HOWE / .vimrc
Last active July 26, 2024 17:42
我的vimrc配置
" 让配置变更立即生效
autocmd BufWritePost $MYVIMRC source $MYVIMRC
" 开启语法高亮
syntax on
" 关闭兼容模式
if &compatible | set nocompatible | endif " Avoid side effects if `nocp` already set
" fileencoding: Vim 中当前编辑的文件的字符编码方式,Vim 保存文件时也会将文件保存为这种字符编码方式 (不管是否新文件都如此)
@MR-HOWE
MR-HOWE / FormatCode
Last active December 29, 2017 09:16
一个word格式化复制的代码段的宏。将代码段的行距设为8磅,不对齐网格,同时字号缩小
Sub FormatCode()
'
' 将代码段的行距设为8磅,不对齐网格,同时字号缩小。
' 使用方法:选择代码,点击运行本宏即可。
'
With Selection.ParagraphFormat
.LineSpacingRule = wdLineSpaceAtLeast ' 行间距设为最小值
.LineSpacing = 8 ' 行间距(磅)
.DisableLineHeightGrid = True ' 不对齐到文档网格
End With
@MR-HOWE
MR-HOWE / Preferences.sublime-settings
Created October 19, 2017 03:10
sublime text3 设置(使用boxy主题)
{
"color_scheme": "Packages/Boxy Theme/schemes/Boxy Monokai.tmTheme",
"font_face": "DejaVu Sans Mono",
"font_size": 13,
"ignored_packages":
[
"Vintage"
],
"indent_guide_options":
[