Browse Source

Update git config

master
Ein Verne 1 year ago
parent
commit
792756a548
No known key found for this signature in database
GPG Key ID: 926634D64ACAD792
  1. 2
      .zprofile
  2. 1
      README.md
  3. 12
      config/hammerspoon.conf.yml
  4. 4
      config/macos.conf.yml
  5. 3
      karabiner/karabiner.edn

2
.zprofile

@ -6,7 +6,7 @@ eval "$(pyenv init --path)"
if [[ $(uname -m) == 'arm64' ]]; then
# Set PATH, MANPATH, etc., for Homebrew.
eval "$(/opt/homebrew/bin/brew shellenv)"
fi
# Added by OrbStack: command-line tools and integration
source ~/.orbstack/shell/init.zsh 2>/dev/null || :
fi

1
README.md

@ -12,6 +12,7 @@ Set up by using [dotbot](https://blog.einverne.info/post/2020/08/use-dotbot-dotf
make linux
# under macOS, install applications by brew
make mac
./install -c config/macos.conf.yaml
Log out and log in again, zinit will install all plugins automatically. If you use vi to edit file at first time, the vim-plug will install all vim plugins automatically.

12
config/hammerspoon.conf.yml

@ -0,0 +1,12 @@
- defaults:
link:
relink: true
force: true
- brew:
- hammerspoon
- link:
~/.hammerspoon:
if: '[ `uname` = Darwin ]'
path: hammerspoon

4
config/macos.conf.yml

@ -15,6 +15,9 @@
~/Library/Preferences/espanso:
if: '[ `uname` = Darwin ]'
path: espanso
~/.config/karabiner.edn:
if: '[ `uname` = Darwin ]'
path: karabiner/karabiner.edn
~/.hammerspoon:
if: '[ `uname` = Darwin ]'
path: hammerspoon
@ -48,6 +51,7 @@
- assh
- ripgrep
- ffmpeg
- yqrashawn/goku/goku
- tap:
- homebrew/cask-fonts

3
karabiner/karabiner.edn

@ -46,11 +46,11 @@
}
:applications {:chrome ["^com\\.google\\.Chrome$"]
:chrome-canary [ "^com\\.google\\.Chrome\\.canary$"]
:raycast ["^com\\.raycast\\.macos$"]
:chromes ["^com\\.google\\.Chrome$" "^com\\.google\\.Chrome\\.canary$"]
:ctrlnp ["^md\\.obsidian",
"^com\\.jetbrains\\.intellij",
"com\\.jetbrains\\.pycharm",
"^com\\.electron\\.lark",
"^com\\.tencent\\.xinWeChat",
"^com\\.google\\.Chrome"]
:finder ["^com\\.apple\\.finder$"]
@ -460,7 +460,6 @@
[:4 :!C4]
[:b [:open "/Applications/Obsidian.app"]]
[:c [:open "/Applications/Google Chrome.app"]]
[:e [:open "/Applications/Lark.app"]]
[:w [:open "/Applications/WeChat.app"]]
[:g [:open "/Applications/GoldenDict.app"]]
[:v [:open "/Applications/Visual Studio Code.app"]]

Loading…
Cancel
Save