commit 346e59e114eb5ea68f9fc904648cc2ca74f1f69e
parent 64f866dd036549ab1d5d7e82ee1bfc0aff3dc5f2
Author: mark <mjf@localhost.localdomain>
Date:   Fri,  7 Dec 2018 18:20:45 -0700
add emacs and bootstrap
Diffstat:
4 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/bootstrap.sh b/bootstrap.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+sudo dnf install i3wm i3lock mpd ncmpcpp ripgrep
diff --git a/dots/.bashrc b/dots/.bashrc
@@ -23,6 +23,7 @@ alias ll="ls -lh"
 alias l="ls -la"
 alias emacs="TERM=xterm-256color emacs"
 alias q="exit"
+alias :q="exit"
 alias neo="clear && neofetch"
 alias notify='terminal-notifier -title "Terminal" -message "Done with taks"'
 alias weather="curl wttr.in/\~Boulder+Colorado"
@@ -34,6 +35,7 @@ alias yt="youtube-dl"
 # Kubernetes
 alias kc="kubectl --kubeconfig=$HOME/cluster.config"
 alias helm="helm --kubeconfig=$HOME/cluster.config"
+export CORE=$GOPATH/src/gitlab.com/redeam/core
 alias c="cd $CORE"
 
 ## Kubernetes
@@ -100,7 +102,6 @@ export PATH=$PATH:$HOME/Library/Haskell/bin
 ## Go
 export GOPATH=$HOME/prog/go
 export PATH=$PATH:$GOPATH/bin
-export CORE=$GOPATH/src/gitlab.com/redeam/core
 
 ## Rust
 export PATH=$PATH:$HOME/.cargo/bin
@@ -140,3 +141,6 @@ else
         bind '"\e^":'
 fi
 }
+
+# auto command to cd without cd
+shopt -s autocd
diff --git a/dots/.config/i3/config b/dots/.config/i3/config
@@ -147,10 +147,10 @@ bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcu
 
 # resize window (you can also use the mouse for that)
 mode "resize" {
-        bindsym j resize shrink width 10 px or 10 ppt
-        bindsym k resize grow height 10 px or 10 ppt
-        bindsym l resize shrink height 10 px or 10 ppt
-        bindsym semicolon resize grow width 10 px or 10 ppt
+        bindsym h resize shrink width 10 px or 10 ppt
+        bindsym j resize grow height 10 px or 10 ppt
+        bindsym k resize shrink height 10 px or 10 ppt
+        bindsym l resize grow width 10 px or 10 ppt
 
         bindsym Left resize shrink width 10 px or 10 ppt
         bindsym Down resize grow height 10 px or 10 ppt
diff --git a/dots/.emacs.d b/dots/.emacs.d
@@ -0,0 +1 @@
+Subproject commit 85ae372dbe79c1d02325c5e1f27e685d5837a0e3