Browse Source

Get emacs to work with solarized, change tmux bottom bar to match theme

master
Taylor Bockman 9 years ago
parent
commit
e53b2e2ca3
  1. 14
      dotfiles/emacs.d/init.el
  2. 2
      dotfiles/emacs.d/package.el
  3. 11
      dotfiles/tmux.conf
  4. 6
      dotfiles/zshrc

14
dotfiles/emacs.d/init.el

@ -38,7 +38,7 @@
;; Theme
;;-------------------------------------------------------------------------------------
(load-theme 'solarized-dark t)
(load-theme 'solarized t)
;; 10 pt font
(set-frame-font "inconsolata")
@ -70,6 +70,15 @@
(ido-mode 1)
;;-------------------------------------------------------------------------------------
;; ZSH script detection
;;------------------------------------------------------------------------------------
(add-hook 'sh-mode-hook
(lambda ()
(if (string-match "\\.zsh$" buffer-file-name)
(sh-set-shell "zsh"))))
;;-------------------------------------------------------------------------------------
;; Alignment
;;-------------------------------------------------------------------------------------
@ -125,8 +134,7 @@
;; If there is more than one, they won't work right.
'(custom-safe-themes
(quote
("8aebf25556399b58091e533e455dd50a6a9cba958cc4ebb0aab175863c25b9a4" default)))
'(inhibit-startup-screen t))
("8db4b03b9ae654d4a57804286eb3e332725c84d7cdab38463cb6b97d5762ad26" default))))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.

2
dotfiles/emacs.d/package.el

@ -4,7 +4,7 @@
flycheck-clojure flycheck-haskell flycheck-rust
flycheck-pos-tip flx-ido gitignore-mode haskell-mode js2-mode
less-css-mode neotree paredit scss-mode powerline projectile
rust-mode solarized-theme wrap-region)
rust-mode color-theme-solarized wrap-region)
"Packages to make sure are installed")
(defun my-packages-installed-p ()

11
dotfiles/tmux.conf

@ -11,6 +11,8 @@ unbind C-b
set -g prefix C-Space
bind Space send-prefix
set -g status-bg blue
# Once the prefix is active these binds will matter
# <prefix><Space> and <prefix><C-Space> take you to copy mode.
@ -53,12 +55,3 @@ bind p paste-buffer
# Enable vi-like keybindings
set-window-option -g mode-keys vi
set -g mode-mouse on
set -g mouse-resize-pane on
set -g mouse-select-pane on
set -g mouse-select-window on
set-window-option -g mode-mouse on

6
dotfiles/zshrc

@ -5,13 +5,7 @@ export LANG=en_US.UTF-8
export VISUAL=vim
export EDITOR="$VISUAL"
export ITERM_24BIT=1
if [[ `uname` == 'Linux' ]]
then
export TERM=xterm
else
export TERM=xterm-256color
fi
alias emacs='emacs -nw'
alias irssi='TERM=screen-256color irssi'

Loading…
Cancel
Save