Merge branch 'master' of bitbucket.org:/ambrevar/home-config
commit
c0ebb39f48
|
@ -609,6 +609,10 @@ awful.rules.rules = {
|
|||
{ rule = { name = "mutt"},
|
||||
properties = { tag = tags[1][7] } },
|
||||
|
||||
-- Emacs Speedbar
|
||||
{ rule = { name = "Speedbar 1.0"},
|
||||
properties = { width = 20 },
|
||||
callback = function( c ) awful.tag.setmwfact(0.15) end },
|
||||
}
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
@ -204,3 +204,49 @@
|
|||
|
||||
;; Ediff in one frame.
|
||||
(setq ediff-window-setup-function 'ediff-setup-windows-plain)
|
||||
|
||||
;; Change GUD many-windows layout.
|
||||
(defun gdb-setup-windows ()
|
||||
"Layout the window pattern for `gdb-many-windows'."
|
||||
(gdb-display-locals-buffer)
|
||||
(gdb-display-stack-buffer)
|
||||
(delete-other-windows)
|
||||
(gdb-display-breakpoints-buffer)
|
||||
(delete-other-windows)
|
||||
(switch-to-buffer
|
||||
(if gud-last-last-frame
|
||||
(gud-find-file (car gud-last-last-frame))
|
||||
(if gdb-main-file
|
||||
(gud-find-file gdb-main-file)
|
||||
;; Put buffer list in window if we
|
||||
;; can't find a source file.
|
||||
(list-buffers-noselect))))
|
||||
(setq gdb-source-window (selected-window))
|
||||
(split-window-horizontally)
|
||||
(other-window 1)
|
||||
(split-window nil ( / ( * (window-height) 3) 4))
|
||||
(split-window nil ( / (window-height) 3))
|
||||
(gdb-set-window-buffer (gdb-locals-buffer-name))
|
||||
(other-window 1)
|
||||
(pop-to-buffer gud-comint-buffer)
|
||||
(when gdb-use-separate-io-buffer
|
||||
(split-window-horizontally)
|
||||
(other-window 1)
|
||||
(gdb-set-window-buffer
|
||||
(gdb-get-buffer-create 'gdb-inferior-io)))
|
||||
(other-window 1)
|
||||
(gdb-set-window-buffer (gdb-stack-buffer-name))
|
||||
(split-window-horizontally)
|
||||
(other-window 1)
|
||||
(gdb-set-window-buffer (gdb-breakpoints-buffer-name))
|
||||
(other-window 1))
|
||||
;; Set GUD to display many windows by default.
|
||||
(setq gdb-many-windows t)
|
||||
|
||||
;; Support for dwb edit.
|
||||
(add-hook
|
||||
'find-file-hook
|
||||
(lambda ()
|
||||
(if (string-match "edit*" (buffer-name))
|
||||
(auto-fill-mode -1))))
|
||||
|
||||
|
|
|
@ -488,13 +488,6 @@ properly escaped with double-quotes in case it has spaces."
|
|||
;; (global-set-key (kbd "<f10>")
|
||||
;; 'flymake-display-err-message-for-current-line)
|
||||
|
||||
;;==============================================================================
|
||||
;; GUD
|
||||
;;==============================================================================
|
||||
|
||||
;; Set GDB to display many windows by default.
|
||||
;; (setq gdb-many-windows t)
|
||||
|
||||
;;==============================================================================
|
||||
;; Ediff
|
||||
;;==============================================================================
|
||||
|
|
4
README
4
README
|
@ -297,7 +297,6 @@ gaupol
|
|||
gcolor2
|
||||
gdb
|
||||
gimp
|
||||
gnumeric
|
||||
gnuplot
|
||||
gparted
|
||||
graphicsmagick
|
||||
|
@ -323,7 +322,6 @@ mediainfo
|
|||
mercurial
|
||||
mkfs
|
||||
mkvtoolnix
|
||||
movgrab
|
||||
mplayer2
|
||||
mutt
|
||||
nasm
|
||||
|
@ -340,7 +338,6 @@ odt2txt
|
|||
okular
|
||||
openshot
|
||||
openssh
|
||||
oss
|
||||
p7zip
|
||||
pari
|
||||
parted
|
||||
|
@ -348,7 +345,6 @@ patch
|
|||
poppler
|
||||
pstotext
|
||||
pwgen
|
||||
qpdf
|
||||
ranger
|
||||
re2c
|
||||
rsync
|
||||
|
|
Loading…
Reference in New Issue