Created
July 20, 2012 04:59
-
-
Save Spoygg/3148785 to your computer and use it in GitHub Desktop.
Script to run after installation of OS.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Setup Vim | |
# For persist Vim undo history beyond closing file | |
mkdir ~/.vim-meta-files | |
# Link Vim config to sync with Dropbox | |
ln -s ~/Dropbox/vim ~/.vim | |
ln -s ~/.vim/vimconfig ~/.vimrc | |
echo "Vim setup." | |
#Customize OS | |
# Import custom keyboard layout | |
sudo ln -s /usr/share/X11/xkb/symbols/yg ~/Dropbox/SpoyggLayout | |
sudo -k | |
# Activate custom keyboard layout | |
echo "setxkbmap -symbols 'pc+yg+inet(evdev)+level3(ralt_alt)+level3(rwin_switch)+capslock(none)+level3(menu_switch)'" >> ~/.bashrc | |
touch ~/.xinitrc | |
echo "setxkbmap -symbols 'pc+yg+inet(evdev)+level3(ralt_alt)+level3(rwin_switch)+capslock(none)+level3(menu_switch)'" >> ~/.xinitrc | |
echo "Keyboard layout setup." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment