From 56e17273a61192ff2c0d8fb57b5485fb2b3b3c92 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 28 Nov 2013 22:51:26 +0900 Subject: [PATCH 1/2] emacs.el: disable my-idle-hook --- emacs.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index a7c6107..3adfb8b 100644 --- a/emacs.el +++ b/emacs.el @@ -157,9 +157,9 @@ found, otherwise returns nil." (lambda () (run-hooks 'my-idle-hook))) -(add-hook 'my-idle-hook - (lambda () - (message "idle hook message"))) +;; (add-hook 'my-idle-hook +;; (lambda () +;; (message "idle hook message"))) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; start and quit From 8971d64eb6cdcfddb641d436992196a9624b608e Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 28 Nov 2013 23:01:49 +0900 Subject: [PATCH 2/2] fix tmux.conf bug that version string wont update --- setup.sh | 2 +- tmux.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/setup.sh b/setup.sh index d71e4ea..9083e6e 100755 --- a/setup.sh +++ b/setup.sh @@ -76,7 +76,7 @@ gen_tmux_conf_local(){ # $tmux_conf_local # Automatically generated from $0 -set -g status-right "${USER}@$(hostname) | $(tmux -V) " +set -g status-right "${USER}@$(hostname) | #(tmux -V) " set -g status-bg $tmux_bg_color set -g status-fg $tmux_fg_color diff --git a/tmux.conf b/tmux.conf index efacd2b..33e817d 100644 --- a/tmux.conf +++ b/tmux.conf @@ -20,6 +20,10 @@ setw -g mode-mouse off set -g set-titles on set -g display-panes-time 5000 +# disable updating status-left and status-right +set status-interval 0 +set status-keys emacs + set -g message-bg white set -g message-fg black setw -g window-status-current-bg white