Browse Source

Major changes to tmux to accomodate emacs better, and also rebind caps lock to escape and change status bar colors to solarized

master
Taylor Bockman 9 years ago
parent
commit
44d544602a
  1. 6
      dotfiles/emacs.d/init.el
  2. 41
      dotfiles/tmux.conf
  3. 1
      dotfiles/xinitrc

6
dotfiles/emacs.d/init.el

@ -106,6 +106,7 @@
;; Unbind C-t from transpose
(global-set-key (kbd "C-t") nil)
(global-set-key (kbd "C-d") nil)
;; Neotree binds are prefixed by C-t
@ -122,9 +123,10 @@
(global-set-key (kbd "M-k") 'windmove-up)
(global-set-key (kbd "M-l") 'windmove-right)
;; Delete surrounding
(global-set-key (kbd "C-d s") 'delete-pair)
;;-------------------------------------------------------------------------------------
;; Custom
;;-------------------------------------------------------------------------------------
(custom-set-variables

41
dotfiles/tmux.conf

@ -7,12 +7,43 @@
# Rebind tmux prefix to <c-space> to match vim
unbind C-b
set -g prefix C-Space
bind Space send-prefix
unbind-key C-b
set -g prefix Escape
bind Escape send-prefix
set -s escape-time 0
###################################
# #
# Colors #
# #
###################################
set-option -g status-bg black #base02
set-option -g status-fg yellow #yellow
set-option -g status-attr default
set-window-option -g window-status-fg brightblue #base0
set-window-option -g window-status-bg default
set-window-option -g window-status-current-fg brightred #orange
set-window-option -g window-status-current-bg default
set-option -g pane-border-fg black #base02
set-option -g pane-active-border-fg brightgreen #base01
set-option -g message-bg black #base02
set-option -g message-fg brightred #orange
set-option -g display-panes-active-colour blue #blue
set-option -g display-panes-colour brightred #orange
set-window-option -g clock-mode-colour green #green
set-window-option -g window-status-bell-style fg=black,bg=red #base02, red
set -g status-bg blue
set -g status-fg black
# Once the prefix is active these binds will matter
# <prefix><Space> and <prefix><C-Space> take you to copy mode.

1
dotfiles/xinitrc

@ -5,4 +5,5 @@ xrdb ~/.Xresources
# exec ~/essentials/scripts/sysinit/xmonad_start.sh
# exec awesome
feh --bg-scale ~/essentials/backgrounds/glass-blue-bg.jpg
setkbmap -option caps:escape
exec i3

Loading…
Cancel
Save