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
| { | |
| "title": "FC660 like MacBook Pro", | |
| "rules": [ | |
| { | |
| "description": "Esc Modifiers to Backtick", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "from": { | |
| "key_code": "escape", |
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
| { | |
| "title": "ν/μ μ ν with Caps Lock for Ext keyboard", | |
| "rules": [ | |
| { | |
| "description": "Post CapsLock to F16 (press alone) or Control (press with others)", | |
| "manipulators": [ | |
| { | |
| "type": "basic", | |
| "parameters": { | |
| "basic.to_if_alone_timeout_milliseconds": 250, |
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
| #!/usr/bin/env node | |
| if (process.mainModule === module) setImmediate(() => main(process.argv).catch(e => console.log(e.stack) && process.exit(1))) | |
| async function main(argv) { | |
| console.log(argv.slice(2)) | |
| } |
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
| <keymap version="1" name="MacOS Soomtong" parent="Mac OS X"> | |
| <action id="$Copy"> | |
| <keyboard-shortcut first-keystroke="meta c" /> | |
| <keyboard-shortcut first-keystroke="ctrl c" /> | |
| </action> | |
| <action id="$Paste"> | |
| <keyboard-shortcut first-keystroke="meta v" /> | |
| <keyboard-shortcut first-keystroke="ctrl v" /> | |
| </action> | |
| <action id="$Redo"> |
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
| " ref: https://www.jetbrains.com/help/idea/using-product-as-the-vim-editor.html#ide_actions | |
| "noremap j gj | |
| "noremap k gk | |
| " inoremap jk <ESC> | |
| " map space as leader key | |
| let mapleader=" " | |
| nnoremap <SPACE> <Nop> |
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
| " Plugin install | |
| call plug#begin('~/.vim/plugged') | |
| Plug '/usr/local/opt/fzf' | |
| Plug 'junegunn/fzf.vim' | |
| Plug 'joshdick/onedark.vim' | |
| Plug 'vim-airline/vim-airline' | |
| Plug 'scrooloose/nerdtree' | |
| Plug 'editorconfig/editorconfig-vim' | |
| Plug '907th/vim-auto-save' | |
| Plug 'airblade/vim-gitgutter' |
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
| # require 'active_support/all' | |
| def korean_topic_marker(str) | |
| k = str[-1] # last one char | |
| return 'λ' if k.mb_chars.decompose.size < 3 # μ’ μ±μ΄ μλ κ²½μ° | |
| return 'μ' | |
| end | |
| def korean_subject_marker(str) | |
| k = str[-1] # last one char |
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
| " Plugin install | |
| call plug#begin('~/.local/share/nvim/plugged') | |
| " File Tree: | |
| Plug 'kyazdani42/nvim-web-devicons' " for file icons | |
| Plug 'kyazdani42/nvim-tree.lua' | |
| " Terminal: | |
| Plug 'akinsho/toggleterm.nvim', {'tag' : 'v2.*'} | |
| " Search: | |
| Plug 'junegunn/fzf', { 'do': { -> fzf#install() } } | |
| Plug 'junegunn/fzf.vim' " ctrl+x k/f/l in insert mode |
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
| from: http://www.meandmark.com/keycodes.html | |
| Virtual Keycodes for the Mac QWERTY Layout | |
| Keycodes are in hexadecimal. A blank entry means either there is no key assigned to that keycode or I was unable to find the assigned key. | |
| Keycode Key | |
| 0x00 A | |
| 0x01 S | |
| 0x02 D | |
| 0x03 F |
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
| β File: uninstall.sh | |
| ββββββββΌββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ | |
| 1 β #! /bin/sh | |
| 2 β | |
| 3 β if [ "$UID" -ne 0 ];then | |
| 4 β echo "This script must be run as root." | |
| 5 β exit 1 | |
| 6 β fi | |
| 7 β | |
| 8 β killall TimeMachineEditor > /dev/null 2>&1 |