From 09ea92f9cc7674cd957437a3a89da5e63201123a Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Tue, 29 Sep 2020 17:40:57 +0100 Subject: (Emacs)~evil-window-vsplit -> make-frame Now fset all evil-window-vsplit calls with make-frame. Also call switch-buffer when creating new frames. The reason for this decision was that I use a tiling window manager, which is something I can take off the shoulders of Emacs and onto my wm. --- Emacs/.config/emacs/config.org | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Emacs/.config/emacs') diff --git a/Emacs/.config/emacs/config.org b/Emacs/.config/emacs/config.org index 4eec654..8bfd6ee 100644 --- a/Emacs/.config/emacs/config.org +++ b/Emacs/.config/emacs/config.org @@ -336,7 +336,6 @@ Setup the evil package, with some basic keybinds. :general (general-def :states 'normal - [remap evil-window-vsplit] #'make-frame "TAB" #'evil-jump-item "r" #'evil-replace-state) (general-def @@ -352,6 +351,7 @@ Setup the evil package, with some basic keybinds. evil-vsplit-window-right t evil-want-abbrev-expand-on-insert-exit t) :config + (fset #'evil-window-vsplit #'make-frame) (evil-mode)) #+end_src *** Evil surround @@ -496,6 +496,12 @@ to as a fully fledged completion framework. ido-enable-dot-prefix t ido-enable-regexp nil) :config + (add-to-list + 'after-make-frame-functions + #'(lambda (frame) (interactive) + (with-selected-frame frame + (ido-switch-buffer)))) + (ido-mode) (ido-everywhere)) #+end_src -- cgit v1.2.3-13-gbd6f