There are many user config files in my OSX. To migrate my local config to another OSX account, I push my local user config files into this repository.
Karabiner is a tool that helps you manage your keymap in OSX, especially when you're using your HHKB.
This manual teaches you how to export your karabiner's local config into a shell file.
/Applications/Karabiner.app/Contents/Library/bin/karabiner export > ~/Desktop/karabiner-import.sh
To import your config, you need to execute this file, and you have to reset the configuration before it.
/Applications/Karabiner.app/Contents/Library/bin/karabiner \
be_careful_to_use__clear_all_values_by_name \
YOUR_PROFILE_NAME
Then execute it.
curl -L https://raw.githubusercontent.com/ \
LumpyChen/Conf-mac/master/Karabiner/ \
karabiner-import.sh | bash
- Key
Escape
asCapsLock
- Key
CapsLock
asControl_L
- Key
Command_R
asCommand_L + Arrow_Left
(Setting the cursor to line-head) - Key
Option_R
asEscape
- Key
Shift+Delete
asDelete Reverse
- Key
Fn + w
as toggle WIFI - Key
Option_L + IJKL
asArrow Keys
(In HHKB) - Key
Shift_R
as^
(Line head in Vim) - Key
Command + q
double times asQuit an app
- Disable medium keyboard
Iterm2 is a great terminal app in OSX.
Using my config, you should install a font called Fira Code first.
Execute the from shell:
curl -L https://raw.githubusercontent.com \
/LumpyChen/Conf-mac/master/ \
Iterm/shell/install.sh | bash
Remember to quit your iterm2 when the shell executing.
It's the raw config plist
file.
https://raw.githubusercontent.com/LumpyChen/Conf-mac/master/Iterm/com.googlecode.iterm2.plist
Use Alfred to control your mac by only keyboard.
All my workflows has been placed into the alfred/workflows/
folder.
And my preferences file was placed nearby.
To import preferences, you need to open Alfred preferences, set sync folder in advanced tab and click click "Set folder and restart Alfred".
I adapt Spf13-vim as my packages library, which contains a lot of plugins.
Somehow there has been bugs with my local setting,
which forces me to alter bundles' source code,
which had been installed by vundle
.
That's why I put all of my vimrc
files & bundles in this repository.
I overwrote the Spf13-vim
config without modified it,
but I still have to push all the files here......