Commits

firefly committed 7fe8c16

Fancier tmux config

  • Participants
  • Parent commits 51a56da

Comments (0)

Files changed (3)

 try_alias  ls    ls --color=auto
 #try_alias  grep  grep -P --color=auto
 try_alias  sed   ssed -R
-#try_export PAGER "/usr/share/vim/vim73/macros/less.sh"
-try_export PAGER "$HOME/.vim/macros/less.sh"
+# not ready yet--the word wrapping is too bad :(
+#try_export PAGER "$HOME/.vim/macros/less.sh"
 
 # `less` is in my muscle memory...
 #alias less=$PAGER
-
-# Vim-like window management
+##-- Keybindings ----------------------------------------------------
 bind-key h  select-pane -L
 bind-key j  select-pane -D
 bind-key k  select-pane -U
 bind-key l  select-pane -R
 
+bind-key t  previous-window
+
+bind-key -  split-window
+bind-key |  split-window -h
+
+bind-key -r H resize-pane -L 5
+bind-key -r J resize-pane -D 5
+bind-key -r K resize-pane -U 5
+bind-key -r L resize-pane -R 5
+
+
+##-- Colours --------------------------------------------------------
+set message-fg     colour248
+set message-bg     colour235
+set pane-border-fg colour242
+set status-bg      colour233
+set status-left-fg red
+set status-left-bg colour235
+
+
+##-- Misc -----------------------------------------------------------
 set-option -g default-terminal "screen-256color"
 set statusline=
 set statusline+=%<              " truncation location marker
 set statusline+=%1*             " --> gray bg
-set statusline+=%f\             " filename, space
+set statusline+=\ %f\           " space, filename, space
 set statusline+=%*              " <-- regular bg
 set statusline+=%y%m%r          " space, info (filetype, edited?, readonly?)
 set statusline+=%=              " spacer <==>