this will open your editor of choice on cmd+click of a path in iTerm (from a list of paths, search, grep, rg, fd...)
pick
run coprocess -> echo micro \1
| { | |
| "version": "0.2.0", | |
| "configurations": [ | |
| { | |
| "name": "Listen for Xdebug", | |
| "type": "php", | |
| "request": "launch", | |
| "stopOnEntry": false, // !!! doesn't work, hit the refresh (Green) icon and keep going | |
| "port": 9000, | |
| "pathMappings": { |
| BasedOnStyle: Google | |
| IndentWidth: 4 | |
| UseTab: false | |
| AlignTrailingComments: true | |
| SpacesBeforeTrailingComments: 1 | |
| KeepEmptyLinesAtTheStartOfBlocks: false | |
| AllowShortBlocksOnASingleLine: true | |
| AllowShortIfStatementsOnASingleLine: true |
| { | |
| "Alt-/": "lua:comment.comment", | |
| "Alt-Left": "StartOfLine", | |
| "Alt-MouseLeft": "MouseMultiCursor", | |
| "Alt-Right": "EndOfLine", | |
| "Alt-[": "PreviousTab", | |
| "Alt-]": "NextTab", | |
| "Alt-d": "command:definition", | |
| "Alt-f": "command:format", | |
| "Alt-k": "command:hover", |
| /* NOTE: min font-size 17 (on 27" 5K screen...) */ | |
| html > body, font, p, table tr td { | |
| line-height: 1.6 !important; | |
| } |
| export HISTIGNORE="pwd:cd:ls:ll:ps:hist:update:git:lz" | |
| hist() { | |
| history |grep $1 | |
| } |
| update() { | |
| YEL="\033[1;33m" | |
| NOP="\033[0m" | |
| output="$(git status --porcelain)" | |
| if [[ -n $output ]] | |
| then | |
| printf "%s\n" "$output" | |
| echo "" |
| update() { | |
| git status --porcelain | |
| if read -q "choice?stash changes? Y/y: "; then | |
| echo "" | |
| git stash | |
| echo "-----------------------------------" | |
| git pull --all | |
| echo "-----------------------------------" | |
| git stash pop |
Sadly some required packages don't seem to be up to date! The simplest way is to install the required packages from the repository manually until all requirements are there.
Go to https://slack.com and get their latest .deb install file for Linux
if you attempt to install it as, you should get some missing requirements warning and it bails.
| # The following fixes the slow mousewheel on debian/mint using Cinammon / GTK3. | |
| # install a package call imwheel and use a script that generates a small UI to tweak the setting. | |
| # personal settings will be saved on ~/.imwheelrc | |
| sudo apt install imwheel | |
| touch ~/mousewheel.sh # edit and paste the mousewheel.sh | |
| chmod +x ~/mousewheel.sh |