Skip to main content
Q

dotfiles

qw457812/dotfiles

Expose Pi prompt templates as DeepSeek Harness slash commands

Install

dsh plugin --profile web add github:qw457812/dotfiles

README

dotfiles-typing-svg

Goku

Hack my keyboard via Karabiner and maintain its config with Goku.

Head over to nikitavoloboev's personal wiki to learn more about karabiner and goku.

Here are some settings (outdated, click to see)
TypeFromToCommentFavoriteTodo
layerspace+anyshift+anyuse the most strongest fingeryes!
layerv/m+anycontrol+anyuse the second strongest fingeryes!
layers+h/j/k/larrow keysyes!
layers+d/fcopy/paste
layerd+j/kcmd+shift+]/cmd+shift+[ in chrome; ctrl+tab/ctrl+shift+tab in wpsswitch tabs in most appsyes
layerd+mmaximize windowremap Rectangle
layerd+f/sclicking(like vimium-f)/scrollingremap Homerow
layerf+j/kdelete/returnso easy to deleteyes!
layerw+anylaunch applicationw+j -> open chrome when not in chrome; w+j -> cmd+` when already in chromeyes!
layero+anyopen websiteo+f -> create new tab of chrome
layera+h/j/k/l/v/b/nmouse navigation/clickduring navigation: hold f to slow down, hold s to scrollavoid pinky problem
layera+i/ozoom in/out
layert+anytoggle setting/informationt+d -> toggle dark mode
layerg+h/j/k/lhome/page_down/page_up/end
layerx+h/j/k/lshift+arrowvi visual mode
layerr+h/j/k/lscrolling
simultaneous keysj+kescyes
simultaneous keysm+ktranslateremap Easydictleft hand mode with mouse
modifier aloneleft cmdcmd+tabso easy to switch previous appyes!
modifier aloneright cmdmouse center click to active app, then maximize windowuse it a lot when vimium/ideavim lose focus in chrome/IntelliJyes
modifier aloneleft optiontmux prefixyes
modifier aloneright optiontranslate in chrome/IntelliJ/Othersremap immersive-translate/Translation/Easydictyes
modifier aloneleft shiftswitch english/chinese inputby Rime (nothing to do with goku)avoid pinky problem
modifier aloneright shiftcaps_lockturn on caps_lock to enter vi mode (in process)more vi binding
modifier alonefncopy
modifier aloneleft controlpaste
othercaps_lockesc(pressed alone)/control(as modifier)use j+k and v/m+any instead
mouseright clickcopy word(double right click)/selected(hold right click)
mouseoption/command + left clickcopy word/selected
mousemiddle clickpaste(hold middle click to overwrite)
trackpads/d + finger on trackpadcopy word/selectedeasy to accidentally trigger
trackpadf + finger on trackpadpaste(hold f to overwrite)easy to accidentally trigger
trackpadh/j/k/l + finger on trackpadarrow keys(one finger), home/page_down/page_up/end(two fingers)easy to accidentally trigger

Using Glove80 keyboard.

Using WhatPulse to track keyboard input.

TODO:

Neovim

My neovim config powered by LazyVim.

TODO:

  1. Try NvChad, LazyVim, Kickstart, AstroNvim by Lazyman.
  2. Find a set of keybindings that can be used everywhere, equivalent mapping configurations for other VIM integrations:

Tips:

  1. Remap esc.
    • For all keyboard (mainly for Apple Internal Keyboard): remap jk to esc by karabiner.
    • For Glove80 specifically: remap one of the thumb keys to esc by karabiner.
    • In vim(s): inoremap jj <esc> or inoremap jk <esc>.
  2. Turn up Key repeat rate and turn down Delay until repeat in System Settings -> Keyboard. See .macos.
  3. When leaving insert mode, auto switch IME to English (if necessary).
  4. Remap shift (optional).
    • For all keyboard: remap space to shift by karabiner.

      The original tap and hold (repeat) functions of space are still available.

IdeaVim

.ideavimrc

VSCode Neovim

settings.json

keybindings.json

Doom Emacs

DOOMDIR

Using Emacs Plus.

Fish

fish config

TODO:

Oh my tmux!

.tmux.conf.local

TODO:

Yazi

yazi config

RIME

My rime config for Chinese input based on rime-ice and TigerCode.

Using InputSourcePro to keep Squirrel as the only input source on macOS, instead of ABC.

And using ShowyEdge to notice when input source automatically changes to ABC.

Using emacs-rime in Doom Emacs and rime-ls in Neovim.

SketchyBar

sketchybarrc

yabai

.yabairc

TODO:

zathura

zathurarc

Using zathura-pdf-poppler plugin.

Fix zathura auto focus on open problem by using yabai.

TODO

Linux on Apple Silicon

Nix

Install
Docs
Awesome Nix Config

Related plugins