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
; https://github.com/alacritty/alacritty/issues/2324 | |
#Requires AutoHotkey v2 | |
#HotIf WinActive("ahk_exe alacritty.exe") | |
; Ctrl+Shift+V -- change line endings | |
^+v:: | |
{ | |
A_Clipboard := StrReplace(A_Clipboard, "`r`n", "`n") | |
Send("^+v") |
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
function _fish_collapsed_pwd() { | |
local pwd="$1" | |
local home="$HOME" | |
local size=${#home} | |
[[ $# == 0 ]] && pwd="$PWD" | |
[[ -z "$pwd" ]] && return | |
if [[ "$pwd" == "/" ]]; then | |
echo "/" | |
return | |
elif [[ "$pwd" == "$home" ]]; then |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\InputMethod\Settings\CHS] | |
"EnableExtraDomainType"=dword:00000001 | |
"Enable Double Pinyin"=dword:00000001 | |
"DoublePinyinScheme"=dword:0000000a | |
"UserDefinedDoublePinyinScheme0"="小鹤双拼*2*^*iuvdjhcwfg^xmlnpbksqszxkrltvyovt" |
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
syntax on " 打开语法高亮 | |
set showmode " 在底部显示,当前处于命令模式还是插入模式 | |
set showcmd " 命令模式下,在底部显示,当前键入的指令 | |
set mouse=a " 支持使用鼠标 | |
set cursorline " 光标所在的当前行高亮 | |
set number " Show current line number | |
set relativenumber " Show relative line numbers | |
set list listchars=tab:»\ ,trail:·,precedes:<,extends:> " set list 可以显示 listchars (see :help listchars) |
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
; 需要安装 AutoHotKey v1 `scoop install extras/autohotkey` | |
; ================ | |
; vim-like 按键映射 | |
; ================ | |
!h::Send, {Left} ; Alt+H -> 左箭头 | |
!j::Send, {Down} ; Alt+J -> 下箭头 | |
!k::Send, {Up} ; Alt+K -> 上箭头 | |
!l::Send, {Right} ; Alt+L -> 右箭头 |
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
" .ideavimrc is a configuration file for IdeaVim plugin. It uses | |
" the same commands as the original .vimrc configuration. | |
" You can find a list of commands here: https://jb.gg/h38q75 | |
" Find more examples here: https://jb.gg/share-ideavimrc | |
"" -- Suggested options -- | |
" Show a few lines of context around the cursor. Note that this makes the | |
" text scroll if you mouse-click near the start or end of the window. | |
set scrolloff=5 |
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
############################################################# | |
### 基础配置 (Basic Settings) ### | |
############################################################# | |
# 取消默认前缀键绑定 | |
unbind C-b | |
unbind C-s | |
# 设置新前缀键为 Ctrl+s (保留 Ctrl+b 作为备用前缀) | |
set -g prefix C-s |
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
const { | |
Clipboard, | |
Front, | |
Hints, | |
Normal, | |
RUNTIME, | |
Visual, | |
aceVimMap, | |
addSearchAlias, | |
cmap, |