Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
Created March 4, 2011 12:05
Show Gist options
  • Select an option

  • Save ongaeshi/854520 to your computer and use it in GitHub Desktop.

Select an option

Save ongaeshi/854520 to your computer and use it in GitHub Desktop.
popwin.el setting
;;--------------------------------------------------------------------------
;; popwin.el
;;--------------------------------------------------------------------------
(require 'popwin)
(setq display-buffer-function 'popwin:display-buffer)
(setq special-display-function 'popwin:special-display-popup-window)
(push '("*Shell Command Output*" :height 20) popwin:special-display-config)
;(push '("*Shell Command Output*" :height 20 :position top) popwin:special-display-config)
(setq anything-samewindow nil)
(push '("*anything*" :height 20) popwin:special-display-config)
(push '("*anything for files*" :height 20) popwin:special-display-config)
(push '("*scratch*") popwin:special-display-config)
(push '("svnlog.txt") popwin:special-display-config)
(push '("journal.txt" :regexp t) popwin:special-display-config)
;(push '("*grep*" :height 50) popwin:special-display-config)
(push '(dired-mode :position top) popwin:special-display-config) ; dired-jump-other-window (C-x 4 C-j)
(push '("*Warning*") popwin:special-display-config)
(push '("*sdic*") popwin:special-display-config) ; 何故か動かない
(push '("*sdic*" :noselect) popwin:special-display-config) ; これも駄目
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment