Or allow syncing config file through dropbox, like the Alfred do?
I guess you can by placing ~/Dropbox/karabiner/karabiner.json and symlinking ~/Dropbox/karabiner to ~/.config/karabiner, but if you deal with multiple profiles switching your current profile on one machine will affect others.
It is in ~/.config...you save my day, thx
@knu It worked. Thank you!
This works, it would still be nice to have the old export/import feature back
This works but not ideal. I link the json file from my backup (think dropbox) into ~/.config/karabiner/karabiner.json, but it turns out that karabiner overwrites that file (not update) every time it makes a change. so if I make a change, the link is now broken.
Create a symlink ~/.config/karabiner instead of ~/.config/karabiner/karabiner.json
Example:
https://pqrs.org/osx/karabiner/document.html#configuration-file-path
@tekezo that folder has a lot of files that I am not interested in adding to git(I store the conf in my dotfiles repo in github)
@karthikbeam Create karabiner directory into your dotfiles repo and move karabiner.json into karabiner/karabiner.json, then symlink to karabiner directory.
Added that and the below in my gitignore to get this working without having the other files (backups, assets) messing up my git status / history
karabiner/*
!karabiner/karabiner.json
I misunderstood your desire.
I just understand that you didn't want to include automatic_backups.
Your gitignore is right way to do it.
Most helpful comment
I guess you can by placing ~/Dropbox/karabiner/karabiner.json and symlinking ~/Dropbox/karabiner to ~/.config/karabiner, but if you deal with multiple profiles switching your current profile on one machine will affect others.