aboutsummaryrefslogtreecommitdiff
path: root/home/.emacs.d/init.el
diff options
context:
space:
mode:
authorJakob Odersky <jakob@odersky.com>2016-09-05 15:50:03 -0700
committerJakob Odersky <jakob@odersky.com>2016-09-05 15:50:03 -0700
commit65d44f4d86a2e36ff1c3a4d8205738bc3db11510 (patch)
tree7fd01a3110eaa997a7bb5309bd863949ffd6e986 /home/.emacs.d/init.el
parente288fccafac5ed98dadcdd9df161dfad578a3077 (diff)
downloaddotfiles-65d44f4d86a2e36ff1c3a4d8205738bc3db11510.tar.gz
dotfiles-65d44f4d86a2e36ff1c3a4d8205738bc3db11510.tar.bz2
dotfiles-65d44f4d86a2e36ff1c3a4d8205738bc3db11510.zip
Kill current buffer without confirmation
Diffstat (limited to 'home/.emacs.d/init.el')
-rw-r--r--home/.emacs.d/init.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/home/.emacs.d/init.el b/home/.emacs.d/init.el
index 19aef8f..7ceee88 100644
--- a/home/.emacs.d/init.el
+++ b/home/.emacs.d/init.el
@@ -23,6 +23,9 @@
;; uniform questions
(defalias 'yes-or-no-p 'y-or-n-p)
+;; kill the current buffer immediately (only ask if buffer modified)
+(global-set-key (kbd "C-x k") 'kill-this-buffer)
+
;; default window size
(when window-system (set-frame-size (selected-frame) 160 60))
@@ -36,7 +39,7 @@
;(setq-default highlight-tabs t)
;; Show trailing white spaces
-(setq-default show-trailing-whitespace t)
+;(setq-default show-trailing-whitespace t)
;;; Other configuration
(mapc 'load (file-expand-wildcards "~/.emacs.d/config/*.el"))