projects
/
emacs-init.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
update
[emacs-init.git]
/
setup
/
sticky.el
diff --git a/setup/sticky.el
b/setup/sticky.el
new file mode 100644
(file)
index 0000000..
edae8f1
--- /dev/null
+++ b/
setup/sticky.el
@@ -0,0
+1,6
@@
+(define-minor-mode sticky-buffer-mode
+ "Make the current window always display this buffer."
+ nil " sticky" nil
+ (set-window-dedicated-p (selected-window) sticky-buffer-mode))
+
+(global-set-key "\C-xS" 'sticky-buffer-mode)