~idmyn/dotfiles

b7a0e9a2882363553139aae331b990fbc1463246 — David Mynors a month ago cab0a83
Add VSCodium
4 files changed, 15 insertions(+), 2 deletions(-)

M macOS/homebrew/Brewfile
M macOS/phoenix/phoenix.js
M shell/.zshrc
M shell/elvish/rc.elv
M macOS/homebrew/Brewfile => macOS/homebrew/Brewfile +1 -0
@@ 18,6 18,7 @@ cask "rocket"
cask "phoenix"
cask "finicky"
cask "itsycal"
cask "vscodium"
cask "workflowy"
cask "bartender"
cask "appcleaner"

M macOS/phoenix/phoenix.js => macOS/phoenix/phoenix.js +11 -1
@@ 65,8 65,18 @@ const showOrOpenEmacs = new Key('e', ['alt', 'ctrl'], () => {
  }
})

const showOrOpenVSCodium = new Key('v', ['alt', 'ctrl'], () => {
  if (App.get('VSCodium')) {
    App.get('VSCodium').focus()
  } else {
    App.launch('VSCodium')
  }
})

const showOrOpenBrowser = new Key('w', ['alt', 'ctrl'], () => {
  if (App.get('Firefox')) {
  if (App.get('Firefox Developer Edition')) {
    App.get('Firefox Developer Edition').focus()
  } else if (App.get('Firefox')) {
    App.get('Firefox').focus()
  } else {
    // App.launch('Firefox') causes prompt for safe mode

M shell/.zshrc => shell/.zshrc +1 -1
@@ 1,6 1,6 @@
source ~/.secret-aliases

export EDITOR="emacsclient -q -c -a ''"
export EDITOR="vi"

PROMPT="
%~

M shell/elvish/rc.elv => shell/elvish/rc.elv +2 -0
@@ 54,12 54,14 @@ fn q { exit }
fn k { kubectl }
fn b [@a]{ buku --suggest --colors aaeca --db $E:HOME"/Tresors/System Config/bookmarks.db" $@a }
fn gs [@a]{ git status $@a }
fn gb [@a]{ git branch $@a }
fn ls [@a]{ echo; exa -F -I 'Desktop|Documents|Downloads|Library|Movies|Music|Pictures|Public|Tresors' $@a }
fn la [@a]{ ls -a $@a }
fn ll [@a]{ ls -alh $@a }
fn cd [@a]{ cd $@a; la }
fn otp [@a]{ pass otp -c $@a }
fn ssh [@a]{ kitty +kitten ssh $@a }
fn code [@a]{ e:code --enable-proposed-api GitHub.vscode-pull-request-github $@a }
fn glow [@a]{ e:glow -s light $@a }
fn jjet [@a]{ jet --from json --keywordize --to edn --pretty $@a }
fn jjetq [@a]{ jet --from json --keywordize --to edn --pretty --query $@a }