Aucune description

Kevin Heinicke 9b80b6c4f5 Some maintenance il y a 3 ans
automator-scripts 43a9b0d4e0 Add Apple automator-script to open files in iTerm>nvim from finder il y a 9 ans
dotbot 57d2ddd81c Update externals il y a 4 ans
external 57d2ddd81c Update externals il y a 4 ans
iterm 7e9d3d1583 update iterm settings il y a 8 ans
nvim 72035f463d Add Brewfile to managed files il y a 4 ans
scripts 5463f3a791 tune trash script il y a 5 ans
themes a8b14d788e mv tomorrow-night to match repo il y a 11 ans
.gitignore 3c7548d955 Link ctags and use gutentags il y a 7 ans
.gitmodules 219a0901a3 Use zplug via git submodule il y a 5 ans
Brewfile 1bacaa0c96 Update adjustmends from last months il y a 4 ans
Brewfile.lock.json 72035f463d Add Brewfile to managed files il y a 4 ans
Brewfile_max 72035f463d Add Brewfile to managed files il y a 4 ans
Brewfile_max.lock.json 72035f463d Add Brewfile to managed files il y a 4 ans
DefaultKeyBinding.dict fb8fc5098e chmod DefaultKeyBinding to make it editable il y a 11 ans
README.md 9b80b6c4f5 Some maintenance il y a 3 ans
Xmodmap 0582309133 Some arch-adjustements il y a 5 ans
clang-format 3a277b4605 Add clang-format file il y a 8 ans
coc-extensions.json 9b80b6c4f5 Some maintenance il y a 3 ans
ctags e0feab1ffe Some local changes to ctags, vimrc, env il y a 4 ans
flake8 0733779bb0 Fine tune flake8 config il y a 7 ans
gitignore_global 1bacaa0c96 Update adjustmends from last months il y a 4 ans
imgcat fd61c1b0b1 Update imgcat il y a 5 ans
install d1dd234b9d Add arch config file il y a 8 ans
install.conf.yaml 1bacaa0c96 Update adjustmends from last months il y a 4 ans
install_arch.conf.yaml 5ab2c4e6da Add xmodmap for arch il y a 6 ans
install_e5.conf.yaml d7abe6e9ad Relink dotbot links by default il y a 5 ans
install_osx.conf.yaml 1bacaa0c96 Update adjustmends from last months il y a 4 ans
iterm-profiles.json 2c0f1923c9 Small mountremote + osx-config update il y a 5 ans
latexmkrc 41240198dc LaTeX stuff il y a 7 ans
nvimrc 9b80b6c4f5 Some maintenance il y a 3 ans
osx_startup_script.sh 6a7186dc77 Make startup script executable properly il y a 7 ans
p10k.zsh 1bacaa0c96 Update adjustmends from last months il y a 4 ans
task.theme 0eb6d8db74 Remove almost all the taskwarrior color il y a 7 ans
taskrc 1bacaa0c96 Update adjustmends from last months il y a 4 ans
tmux.conf 9b80b6c4f5 Some maintenance il y a 3 ans
xinitrc 42cc84ab0f Try to fix capslock swap il y a 6 ans
ycm_extra_conf.py 07bfcfeb23 Move all hidden files to visible. il y a 10 ans
zlogin 3a26bef791 Small updates il y a 5 ans
zsh_local_e5 c6298ce98e Update snakemake vim plugin, local e5 changes il y a 4 ans
zsh_local_example 07bfcfeb23 Move all hidden files to visible. il y a 10 ans
zsh_local_osx 1bacaa0c96 Update adjustmends from last months il y a 4 ans
zshrc 1bacaa0c96 Update adjustmends from last months il y a 4 ans

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

Apple M1 and python quirks

Currently, adding this to the .zsh_local for x86 vs arm64 workarounds

if [ "$(uname -m)" = "x86_64" ]; then
    export X86_SLUG="86"
fi

export PATH="/opt/homebrew$X86_SLUG/bin:/opt/homebrew$X86_SLUG/sbin:$PATH"
export PYENV_ROOT="$HOME/.pyenv$X86_SLUG"
export PATH="$PYENV_ROOT/bin:$HOME/.jenv/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
eval "$(pyenv virtualenv-init -)"
eval "$(jenv init -)"

I've added a prompt segment to indicate if I'm currently in a rosetta shell.

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