diff --git a/.gitignore b/.gitignore index 67d54b2..d4363db 100644 --- a/.gitignore +++ b/.gitignore @@ -44,3 +44,8 @@ dotfiles/emacs.d/network-security.data dotfiles/emacs.d/recentf +# Wireshark temporary files +dotfiles/config/wireshark/recent +dotfiles/config/wireshark/dfilters +dotfiles/config/wireshark/recent_common + diff --git a/README.md b/README.md index 516d6a5..8feed5c 100644 --- a/README.md +++ b/README.md @@ -14,63 +14,3 @@ The directory structure is as follows: 5. *scripts/diagnostics/* - This directory contains scripts for helping to diagnose problems 3. *installation_instructions* - This file contains a series of command you copy and paste during install of Arch 4. *nix/* - This contains all the stuff needed to get up and running with my nix configuration - -Take care with the dotfiles. My configurations change the terminal colors to be solarized dark. If you do not like them -they can be easily changed in the Xresources dotfile. - -# Issues - -There are of course a things that aren't covered (yet). - -1. Thinkpad T440s function keys don't work (in the works) -2. Thinkpad T440s mousepad right-click and gestures do not work -3. No automated way to setup locker -4. No automated way to setup suspend on lid close -5. No chef script to do everything for you -6. Rustc - local libs aren't initially visible - 1. Rustc requires you to manually enter sudo ldconfig /usr/local/lib once so that it can find its libraries - -# Software To Install - -Below is a not a comprehensive list of software you should install and configure. The *install_packages.sh* script is -a work in progress that will get the system up and running with everything I am using. - - -## Package Management -1. Yaourt - -## Wallpaper -1. Feh - -In order to install wallpapers properly, the xinitrc in this repository includes a line to start a task in the -background to show the wallpaper. If you use sh instead of zsh, change it appropriately. - -## Terminal -1. rxvt-unicode-256color - -## Display -1. xorg -2. xorg-xinit -3. i3 - -## Screen Locking -1. Physlock - -## Fonts -1. infinality-bundle -2. ibfonts-meta-base -3. ttf-inconsolata (for the terminal) - -## Mousepad -1. Synaptic - -## Editing -1. GVim - -## Browsing -1. Google Chrome - - -# Neovim Configuration Notes - -1. Make sure to run `:GoInstallBinaries` if you want to use `vim-go`. Make sure Go and `$GOPATH` are available. diff --git a/dotfiles/Xmodmap b/dotfiles/Xmodmap index d48e9fd..85bd1fb 100644 --- a/dotfiles/Xmodmap +++ b/dotfiles/Xmodmap @@ -1,3 +1,9 @@ -clear Lock -keycode 66 = Hyper_L -add mod4 = Hyper_L +! +! Swap Caps_Lock and Control_R +! +remove Lock = Caps_Lock +remove Control = Control_R +keysym Control_R = Caps_Lock +keysym Caps_Lock = Control_R +add Lock = Caps_Lock +add Control = Control_R diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 4436abb..b646540 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -99,14 +99,19 @@ setq org-log-done t) (filename . "emacs.d"))) ("Org" (or (mode . org-mode) (filename . "OrgMode"))) - ("Magit" (name . "\*magit\*")) + ("Magit" (name . "magit")) + ("Help" (or (name . "\*Help\*") (name . "\*Apropos\*") (name . "\*info\*"))) ("Dired" (mode . dired-mode)) ;; Dev has groups for all languages you program in - ("Dev" (or (mode . cc-mode)) - ) + ("Dev" (or (mode . cc-mode) + (filename . ".c") + (filename . ".h") + (filename . ".am") + (mode . yaml-mode)) + ) ("Emacs" (or (name . "^\\*scratch\\*$") (name . "^\\*Messages\\*$"))) ("Gnus" (or (mode . message-mode) diff --git a/dotfiles/emacs.d/package.el b/dotfiles/emacs.d/package.el index 87104d8..e0aaae0 100644 --- a/dotfiles/emacs.d/package.el +++ b/dotfiles/emacs.d/package.el @@ -2,6 +2,8 @@ (defvar my-packages '(ag auto-complete cc-mode + yaml-mode + markdown-mode counsel expand-region flycheck diff --git a/dotfiles/zshrc b/dotfiles/zshrc index 9af3f12..3a5799c 100644 --- a/dotfiles/zshrc +++ b/dotfiles/zshrc @@ -29,7 +29,7 @@ export GOPATH=$HOME/go/ export PATH=$PATH:"$GOPATH/bin" alias emacs='emacs -nw' -alias vim='nvim' +alias vim='emacs' # LOL alias irssi='TERM=screen-256color irssi' alias scheme='rlwrap mit-scheme' alias startpg='pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start'