(use-feature window
:bind
- (("C-c w s l" . b/split-window-right)
- ("C-c w s j" . b/split-window-below)
+ (("C-c w e" . (lambda ()
+ (interactive)
+ (split-window-right)
+ (other-window 1)
+ (erc-switch-to-buffer)))
+ ("C-c w s l" . (lambda ()
+ (interactive)
+ (split-window-right)
+ (other-window 1)))
+ ("C-c w s j" . (lambda ()
+ (interactive)
+ (split-window-below)
+ (other-window 1)))
("C-c w q" . quit-window))
- :init
- (defun b/split-window-right ()
- (interactive)
- (split-window-right)
- (other-window 1))
- (defun b/split-window-below ()
- (interactive)
- (split-window-below)
- (other-window 1))
:custom
(split-width-threshold 150))