Skip to content

Instantly share code, notes, and snippets.

Working from home

Nguyễn Thành Luân lrandom

Working from home
View GitHub Profile
lrandom / USstates_avg_latLong
Created Jul 7, 2018 — forked from meiqimichelle/USstates_avg_latLong
JSON of US states (full names) and their average lat/long
View USstates_avg_latLong
lrandom / cycle-metasyntactic-variables.vim
Created Dec 1, 2018 — forked from hail2u/cycle-metasyntactic-variables.vim
'foo', 'bar', 'baz', 'qux', 'quux', 'corge', 'grault', 'garply', 'waldo', 'fred', 'plugh', 'xyzzy', 'thud'の上で<C-a>/<C-x>すると順にサイクルしてくれるやつ。レジスター使ってる。
View cycle-metasyntactic-variables.vim
" Cycle metasyntactic variables
function! s:CycleMetasyntacticVariables(num)
if type(a:num) != type(0)
let vars = ['foo', 'bar', 'baz', 'qux', 'quux', 'corge', 'grault', 'garply', 'waldo', 'fred', 'plugh', 'xyzzy', 'thud']
let cvar = expand('<cword>')
let i = index(vars, cvar)
lrandom / PhpStorm Keyboard
Created Aug 27, 2020 — forked from koomai/PhpStorm Keyboard
Frequently Used PhpStorm Keyboard Shortcuts
View PhpStorm Keyboard

Note: Some of these shortcuts have been remapped for my own convenience (Preferences->Keymap). These are Mac shortcuts, just use the Windows/Linux equivalent of the Cmd/Option/Ctrl/Del keys.

####Search, Go to, Navigation ####

Cmd + P - Search file

Cmd + Shift + O - Search everywhere

(I swapped the above two recently because I use Cmd + P to search for files most of the time).