This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 编辑界面editor设置 | |
"editor.mouseWheelZoom": true, | |
"editor.renderWhitespace": "all", | |
"editor.renderControlCharacters": false, | |
"editor.wordWrap": "bounded", | |
"editor.wordWrapColumn": 120, | |
"editor.minimap.showSlider": "always", | |
// 显示代码长度标尺 | |
"editor.rulers" :[120], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/*"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# .bashrc | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc | |
fi | |
alias rm='rm -i' | |
alias mv='mv -i' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 忽略补全大小写。重启终端即可刷新设置。 | |
set completion-ignore-case on |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" 让配置变更立即生效 | |
autocmd BufWritePost $MYVIMRC source $MYVIMRC | |
" 开启语法高亮 | |
syntax on | |
" 关闭兼容模式 | |
if &compatible | set nocompatible | endif " Avoid side effects if `nocp` already set | |
" fileencoding: Vim 中当前编辑的文件的字符编码方式,Vim 保存文件时也会将文件保存为这种字符编码方式 (不管是否新文件都如此) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sub FormatCode() | |
' | |
' 将代码段的行距设为8磅,不对齐网格,同时字号缩小。 | |
' 使用方法:选择代码,点击运行本宏即可。 | |
' | |
With Selection.ParagraphFormat | |
.LineSpacingRule = wdLineSpaceAtLeast ' 行间距设为最小值 | |
.LineSpacing = 8 ' 行间距(磅) | |
.DisableLineHeightGrid = True ' 不对齐到文档网格 | |
End With |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"color_scheme": "Packages/Boxy Theme/schemes/Boxy Monokai.tmTheme", | |
"font_face": "DejaVu Sans Mono", | |
"font_size": 13, | |
"ignored_packages": | |
[ | |
"Vintage" | |
], | |
"indent_guide_options": | |
[ |