From f3b589680cabc0261eb6b01ad3b21cdf9e87d2c4 Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sun, 13 May 2012 01:16:59 +0900 Subject: [PATCH] misc changes --- emacs.el | 4 ++++ tmux.conf | 1 + 2 files changed, 5 insertions(+) diff --git a/emacs.el b/emacs.el index 53e7eb8..58afbb7 100644 --- a/emacs.el +++ b/emacs.el @@ -506,6 +506,8 @@ Return nil if library unfound and failed to download, otherwise the path where t ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; buffer killing +(defun my-delete-window-killing-buffer () nil) + (defun my-query-kill-this-buffer () "" (interactive) @@ -514,6 +516,8 @@ Return nil if library unfound and failed to download, otherwise the path where t (substitute-key-definition 'kill-buffer 'my-query-kill-this-buffer global-map) ;;(global-set-key "\C-xk" 'my-query-kill-this-buffer) +;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; +;; package '(setq package-archives '(("ELPA" . "http://tromey.com/elpa/") ("gnu" . "http://elpa.gnu.org/packages/") diff --git a/tmux.conf b/tmux.conf index e160d4c..0ca4267 100644 --- a/tmux.conf +++ b/tmux.conf @@ -1,6 +1,7 @@ unbind C-b set -g prefix C-z bind-key C-z send-prefix +bind-key C command-prompt "new-window '%%'" set -g default-command /bin/bash set -g default-terminal screen-256color