diff --git a/linux/arch/readme.md b/linux/arch/readme.md index 2b10a9b..de4be3e 100644 --- a/linux/arch/readme.md +++ b/linux/arch/readme.md @@ -1,4 +1,71 @@ -Arch linux configs +# Arch Linux -* `config` -> map contents to `~/.config`. -* `home` -> map contents to `~/`. +* `config/` -> map contents to `~/.config`. +* `home/` -> map contents to `~/`. + +# Setup + +* Full disk encryption with Veracrypt + +* Store /tmp in RAM + +* Move browser cache directories to /tmp as a means of reducing file writes on SSD + +* Fix fonts by placing the following XML into `/etc/fonts/conf.avail/29-prettify.conf` + and then symlinking: `ln -s /etc/fonts/conf.avail/29-prettify.conf /etc/fonts/conf.d/29-prettify.conf` + + ``` + + + + + + rgb + + + + + true + + + + + hintslight + + + + + true + + + + + lcddefault + + + + ``` + +## Map caps to left-ctrl + +* Most promising method + + * Install `xorg-xmodmap` + * Map `linux/home/Xmodmap` to ~/ + * The above taken from https://wiki.archlinux.org/index.php/xmodmap + +* Second method: map caps key to left-ctrl (see https://wiki.archlinux.org/index.php/Map_scancodes_to_keycodes for details) + * edit `/etc/udev/hwdb.d/10-my-modifiers.hwdb` + * add: + + ``` + evdev:atkbd:dmi:* # built-in keyboard: match all AT keyboards for now + KEYBOARD_KEY_3a=leftctrl # bind capslock to leftctrl + ``` + + * run `udevadm hwdb --update` then reboot + +## Install clipboard getter + +* `pi xsel` +* Now we can grab clipboard content in vim using `:read !xsel --clipboard --output` diff --git a/notes/setup.md b/notes/setup.md deleted file mode 100644 index 6fdb38d..0000000 --- a/notes/setup.md +++ /dev/null @@ -1,97 +0,0 @@ -# Setup Windows - -* map caps to left-ctrl using https://sharpkeys.codeplex.com/ -* install git for windows -* edit ~/.profile and add `source ~/.bashrc` -* after installing dotfiles, edit ~/.gitconfig and change the editor to be `vim` instead of `/usr/bin/vim` - -# Setup Arch - -* Full disk encryption with Veracrypt - -* Store /tmp in RAM - -* Move browser cache directories to /tmp as a means of reducing file writes on SSD - -* Fix fonts by placing the following XML into `/etc/fonts/conf.avail/29-prettify.conf` - and then symlinking: `ln -s /etc/fonts/conf.avail/29-prettify.conf /etc/fonts/conf.d/29-prettify.conf` - - ``` - - - - - - rgb - - - - - true - - - - - hintslight - - - - - true - - - - - lcddefault - - - - ``` - -## Map caps to left-ctrl - -* Most promising method - - * Install `xorg-xmodmap` - * Map `linux/home/Xmodmap` to ~/ - * The above taken from https://wiki.archlinux.org/index.php/xmodmap - -* Second method: map caps key to left-ctrl (see https://wiki.archlinux.org/index.php/Map_scancodes_to_keycodes for details) - * edit `/etc/udev/hwdb.d/10-my-modifiers.hwdb` - * add: - - ``` - evdev:atkbd:dmi:* # built-in keyboard: match all AT keyboards for now - KEYBOARD_KEY_3a=leftctrl # bind capslock to leftctrl - ``` - - * run `udevadm hwdb --update` then reboot - -## Install clipboard getter - -* `pi xsel` -* Now we can grab clipboard content in vim using `:read !xsel --clipboard --output` - - -# Setting up Ruby - -* Install rvm -* Install bundler -* Install Ruby Docs - gem install rdoc-data - rdoc-data --install - # to regenerate all gem docs - gem rdoc --all --overwrite - - -# Setup Vim - -Map to in System Preferences -> Keyboard -> Modifier Keys. Now can leave insert mode. - - -# Setup Git - -Vim might not work properly when writing commit messages. To fix, run: - - $ git config --global core.editor /usr/bin/vim - diff --git a/osx/readme.md b/osx/readme.md new file mode 100644 index 0000000..43553b5 --- /dev/null +++ b/osx/readme.md @@ -0,0 +1,23 @@ +# OSX + +## Setting up Ruby + +* Install rvm +* Install bundler +* Install Ruby Docs + gem install rdoc-data + rdoc-data --install + # to regenerate all gem docs + gem rdoc --all --overwrite + + +## Setup Keyboard + +Map to in System Preferences -> Keyboard -> Modifier Keys. Now can leave insert mode. + + +## Setup Git + +Vim might not work properly when writing commit messages. To fix, run: + + $ git config --global core.editor /usr/bin/vim diff --git a/vim/undo/%home%michael%jelly%dev%projects%dotfiles%linux%arch%readme.md b/vim/undo/%home%michael%jelly%dev%projects%dotfiles%linux%arch%readme.md new file mode 100644 index 0000000..1b3a72f Binary files /dev/null and b/vim/undo/%home%michael%jelly%dev%projects%dotfiles%linux%arch%readme.md differ diff --git a/vim/undo/%home%michael%jelly%dev%projects%dotfiles%notes%setup.md b/vim/undo/%home%michael%jelly%dev%projects%dotfiles%notes%setup.md new file mode 100644 index 0000000..fe8e16c Binary files /dev/null and b/vim/undo/%home%michael%jelly%dev%projects%dotfiles%notes%setup.md differ diff --git a/vim/undo/%home%michael%jelly%dev%projects%dotfiles%osx%readme.md b/vim/undo/%home%michael%jelly%dev%projects%dotfiles%osx%readme.md new file mode 100644 index 0000000..9292821 Binary files /dev/null and b/vim/undo/%home%michael%jelly%dev%projects%dotfiles%osx%readme.md differ diff --git a/vim/undo/%home%michael%jelly%dev%projects%dotfiles%windows%readme.md b/vim/undo/%home%michael%jelly%dev%projects%dotfiles%windows%readme.md new file mode 100644 index 0000000..ddad1f8 Binary files /dev/null and b/vim/undo/%home%michael%jelly%dev%projects%dotfiles%windows%readme.md differ diff --git a/windows/readme.md b/windows/readme.md new file mode 100644 index 0000000..6a157d2 --- /dev/null +++ b/windows/readme.md @@ -0,0 +1,7 @@ +# Windows + +* map caps to left-ctrl using https://sharpkeys.codeplex.com/ +* install git for Windows +* edit ~/.profile and add `source ~/.bashrc` +* after installing dotfiles, edit ~/.gitconfig and change the editor to be `vim` instead of `/usr/bin/vim` +