Không có mô tả

Kevin Heinicke 424d61779c Update solarized theme 1 năm trước cách đây
dotbot 8eeeff1576 Add install script to dotbot conf 2 năm trước cách đây
external c08a10f1cb First adjustments for sheldon 1 năm trước cách đây
nvim 72035f463d Add Brewfile to managed files 4 năm trước cách đây
scripts 8f6f223b07 Add server backup script 1 năm trước cách đây
themes a8b14d788e mv tomorrow-night to match repo 11 năm trước cách đây
.gitignore 3c7548d955 Link ctags and use gutentags 7 năm trước cách đây
.gitmodules c08a10f1cb First adjustments for sheldon 1 năm trước cách đây
DefaultKeyBinding.dict fb8fc5098e chmod DefaultKeyBinding to make it editable 11 năm trước cách đây
README.md cdde9244ff Remove rosetta stuff 2 năm trước cách đây
clang-format 3a277b4605 Add clang-format file 8 năm trước cách đây
coc-extensions.json 424d61779c Update solarized theme 1 năm trước cách đây
ctags e0feab1ffe Some local changes to ctags, vimrc, env 4 năm trước cách đây
flake8 0733779bb0 Fine tune flake8 config 7 năm trước cách đây
gitignore_global ffe034727b Add note about storing secrets on macos 2 năm trước cách đây
imgcat fd61c1b0b1 Update imgcat 5 năm trước cách đây
install d1dd234b9d Add arch config file 8 năm trước cách đây
install.conf.yaml c08a10f1cb First adjustments for sheldon 1 năm trước cách đây
install_arch.conf.yaml 5ab2c4e6da Add xmodmap for arch 6 năm trước cách đây
install_e5.conf.yaml d7abe6e9ad Relink dotbot links by default 5 năm trước cách đây
install_osx.conf.yaml 1bacaa0c96 Update adjustmends from last months 4 năm trước cách đây
iterm-profiles.json 80268dbfac Generalize iterm profile 2 năm trước cách đây
latexmkrc 41240198dc LaTeX stuff 7 năm trước cách đây
nvimrc 424d61779c Update solarized theme 1 năm trước cách đây
p10k.zsh 8fd6f23938 Latest zsh startup adjustments 2 năm trước cách đây
sheldon-plugins.toml f92af13225 Add plugin 1 năm trước cách đây
task.theme 0eb6d8db74 Remove almost all the taskwarrior color 7 năm trước cách đây
taskrc 1bacaa0c96 Update adjustmends from last months 4 năm trước cách đây
tmux.conf 9b80b6c4f5 Some maintenance 3 năm trước cách đây
zlogin 3a26bef791 Small updates 5 năm trước cách đây
zsh_local_example 07bfcfeb23 Move all hidden files to visible. 10 năm trước cách đây
zsh_local_osx 1bacaa0c96 Update adjustmends from last months 4 năm trước cách đây
zshrc c08a10f1cb First adjustments for sheldon 1 năm trước cách đây

README.md

my conf files

Using dotbot its awesome.

I'm using a fork (of a fork of a fork) of instant-markdown-d which uses KaTeX for maths (and has the upstream up to date):

npm install -g git+https://github.com/bixel/instant-markdown-d.git

There are some other tweaks for macOS, I do not want to miss:

Enabling and setting key-repeat and initial key-repeat rates via

defaults write -g ApplePressAndHoldEnabled -bool false
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write -g InitialKeyRepeat -int 10

The changes take effect after a logout. Warning If you want to present a slideshow with these settings enabled, you'll have a nightmate using most presenters.

Remap ESC and CAPSLOCK keys

sudo defaults read com.apple.loginwindow || sudo defaults write com.apple.loginwindow LoginHook $PWD/osx_startup_script.sh && sudo ./osx_startup_script.sh

Oddities

To properly activate autocompletion, I need to run

rm ~/.zcompdump
compinit

Weirdly, this reported "compinit: insecure directories". After a few tries, it "just worked"... If this is not the case, this github issue might help.

Power settings on my old-ish MBP

These should be fine, as per man pmset

sudo pmset -b hibernatemode 25 standbydelaylow 600 standbydelayhigh 1200

Storing secrets and stuff in keychain

Thanks to some medium article

security add-generic-password -a "$USER" -s 'name_of_your_key' -w 'passphrase'

and

security find-generic-password -a "$USER" -s 'name_of_your_key' -w