From 6a87b4cab9403643523ed37e47c895cdcae81127 Mon Sep 17 00:00:00 2001 From: Michael Campagnaro Date: Mon, 12 Dec 2016 00:03:56 -0500 Subject: [PATCH] Move notes --- linux/arch/readme.md | 73 ++++++++++++- notes/setup.md | 97 ------------------ osx/readme.md | 23 +++++ ...dev%projects%dotfiles%linux%arch%readme.md | Bin 0 -> 4967 bytes ...jelly%dev%projects%dotfiles%notes%setup.md | Bin 0 -> 3067 bytes ...%jelly%dev%projects%dotfiles%osx%readme.md | Bin 0 -> 3567 bytes ...ly%dev%projects%dotfiles%windows%readme.md | Bin 0 -> 7101 bytes windows/readme.md | 7 ++ 8 files changed, 100 insertions(+), 100 deletions(-) delete mode 100644 notes/setup.md create mode 100644 osx/readme.md create mode 100644 vim/undo/%home%michael%jelly%dev%projects%dotfiles%linux%arch%readme.md create mode 100644 vim/undo/%home%michael%jelly%dev%projects%dotfiles%notes%setup.md create mode 100644 vim/undo/%home%michael%jelly%dev%projects%dotfiles%osx%readme.md create mode 100644 vim/undo/%home%michael%jelly%dev%projects%dotfiles%windows%readme.md create mode 100644 windows/readme.md 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 0000000000000000000000000000000000000000..1b3a72fd47a233d6109059a101fe8cd380d2135a GIT binary patch literal 4967 zcmeI0xk^Jp6ow~@y9h3YjW{uiBAPVD!VLsL3$ZXLc19#>z$}^stb{y)Scx`PHrBS< z+F1AoR^kh29nU}ap6kK2ak@D$ch);I{2ynw^<4gPt*}shR^hAF^V8Rhr-%B@{b2I$ zV5l#AK9%n1KE1iPJvr;_Z&yk!QizS}%w92{&FJwto!=_y?P8&lEmX?7Qq-B_WF|q4 zq7<4agebI8fFb6fHdd0eQPf7%<|As!!d_&)s6r>k>SU%XE^zTbD?m5~3=XBw^O*i8(^~pq&E;rED63 z8~zNAn+*x*=x<7+-9U}+RH0J0$O zFbQR>Bni`q@vM-yYf1SfCX@pq8xSpV#$jS5Y{i6WOfG;pTeAET6R@zCVJ>{EL|Qpa zMh1%?!jzDhFcgjszy(ZQ*q`)%u24O~O<*UtTlSYhfZ`pEk_ICFFfbiBNMh3n+{AC- zdgA72@hv(aY88_MMxetT(D@uhuxf;E(x3}_I~WF&KF8>mzwtVt;u|;q1IFNJ@4OC@ z*fc^nExnF!S-f11((8%0O#bwKlJKh&{xT~45Hkl{oG`JxI$wkcR*itp7@!f)7x@mx NKx2PChox#S*YEY6u}%O0 literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..fe8e16caae5f3e1036fd19b3756e0893b585bbfa GIT binary patch literal 3067 zcmeHJ&5smC6mJOV8i+`(*ul@#7C~!-mxx6Uq|2!h~MY+g(CPp}Wa`>o z!5>HQ{WSJ7*aG_k_TgpfD_0e?Ud9Q&d7Ws}2UVJq)OJiNkIQ-Cw8?3zT|!q?Df~^% z8@$-2zB8qw&}9YboVM4u8q#)~w#-D)pfppfN{U6CC}=HJ3<<3)Ia7-XOM)^ba!Y1N zrIJ;w^AQbos%Tnj2Ughc_ct2NSAkH^XlQb0X)vcE6<)wW|InnVnX>q`t&ac*Hlk3u zIP~0MZ1Q1OOoUFux8Lm)rE*RW=Uu*zpgkcHxg;pc$=VPeqQIzJ?vGj0?{=p{i zX^WjXNEAhE_z2O;`B|3IM3olNUTvM}o^G9A1L;iy?fAy!3p>}ZY+WQI3>b^)fAD;_D!StfY378L3uV!dgAbTa=3o zU*%{ZYED+eYXzFETLWQ**4Q1%ouv34}@^4mc1{81kZ?Ps8JmC%uqfs zCS7x7rB*_Jd`u7==6{O=gRpL%sv1UvVlNn;n(9&F{->Bc2#!EVM5={-?5J=+@0A_= zY;Eu6{gWe&C92e^(x=|vVgjO6Ls6xV5EEqYiZ9jM*}JF_;0cZ{FVmJN&`b*7KTSE?p8NKaBVWz4qA;EaC>uNjAk)}JxZJ_Y%dI_daSzw9o4Jp!b+%fsb<|G zDZ<8H1L$+~PX%9PgR@7#QhPU6bGEtgkWN~q9?k}Q*tN09W7Mg)nm#-tpEU}D`ve&q7fR5$)o zp`W} zKjlPcRQVK*dZiMQjb)ka=MU5auAit5f{~}H*Rc61K0|E`ksEkn-(|Q3N#l5yv2WF-b|dVLbo2M@$Bj4< z`3Ri^J%wu#C5pNqD2k9Gkypg&fzc=mD_e$0_mC;DR!?E&u=k literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..9292821e16345a1bd99af4cab4e026f3ef41ea8d GIT binary patch literal 3567 zcmeI!Jxc>I7zgm&^?bwnR$s@1egG#0siWxTpjg}#p~wxbH{1=5PHs-lidvz)h~A%Ye%2TzpG8|$EUBAQfv7w{J!?u z>H7Oh=X~|?EN*)3%8OEJoV zB*oq%x!ssHzSg}9Bf8nXpw8*#nam sGO{8~BBLDyZ literal 0 HcmV?d00001 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 0000000000000000000000000000000000000000..ddad1f86f0c8b14bf4296bd303d700a386031e7e GIT binary patch literal 7101 zcmeH}zl#(}6vx~3=c%iRh$pB#Sff2>2L%yi*+jYHIDg^q?6#-7y0^5uYpAZ7aT39c z@9tj^E|N1d7csx!0?iE+6BCiuP~W$vYV1W}*XarSLCveKnpgGued@jH8!~@zy*Q^{ z2Qx1}{P#q^d-lhxN5|gpdHC?f>QDcCe0qBJ?aAkt-psAeKMsOmJ2%LVkqS1k-s}3% zz6G}~w*TIO*_q(?|J@&EoQA^GXqr2pSnLyK8u|VRj3ddW=zC0k-)9_&#SsLnKf3jS z;|Mnx?46^l!t}ayQx>rrl&9`nYM9!?%?nJnaNCc8h8m(!LpDN9S!$a`)Hd^GTe*2^ zhvrEZr3tf)QfVkrng(n5ffrH|h7hpysoU_gA*t~*jwG*fnA-`r7P8LvIqUwcW*yS< z2X5eZfZINsbw(B`aq3;^b%s0$nVqL!9a!DZd0^j{fljZ8Gog8K|Cd47(m55CJbaKS z75VsN=vYOqI5Z(o9UvM%Qmf?-4^JE=nj@n~i&PXshenV+RlE+HW7Wf>RbkGSm~6FF zU+96BM)16sUA~gskZ>H*y%2V3@od;F&#UOp682dO3uIB7mB?SQCN|nFht$FJx^g`_}IBD!GVaCNn|F<;{>d9uf4!^*I^Hfn4*=i zNClY{VgJC~`K)&YEi?6HyO0QDQVA_r&%-kBHY)JjxP$#sB;bP;>zywhn8CdfxI^S` zWDMazq0*0Ey*We(OAXn`4L$f)g|~Y;ME=(He&7SDLFA)RS5E~IkRbQGpcXWUd^GCn zsUY&@**oJ)rG0J+oe#@|dMb$4AYn)RZQ3B3kjfgfjUc+a-d*HBBmBxJa%lErqsby4 zmI?J#5CO-|iUauKYY