(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.
This commit is contained in:
@@ -336,7 +336,6 @@ Setup the evil package, with some basic keybinds.
|
|||||||
:general
|
:general
|
||||||
(general-def
|
(general-def
|
||||||
:states 'normal
|
:states 'normal
|
||||||
[remap evil-window-vsplit] #'make-frame
|
|
||||||
"TAB" #'evil-jump-item
|
"TAB" #'evil-jump-item
|
||||||
"r" #'evil-replace-state)
|
"r" #'evil-replace-state)
|
||||||
(general-def
|
(general-def
|
||||||
@@ -352,6 +351,7 @@ Setup the evil package, with some basic keybinds.
|
|||||||
evil-vsplit-window-right t
|
evil-vsplit-window-right t
|
||||||
evil-want-abbrev-expand-on-insert-exit t)
|
evil-want-abbrev-expand-on-insert-exit t)
|
||||||
:config
|
:config
|
||||||
|
(fset #'evil-window-vsplit #'make-frame)
|
||||||
(evil-mode))
|
(evil-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Evil surround
|
*** Evil surround
|
||||||
@@ -496,6 +496,12 @@ to as a fully fledged completion framework.
|
|||||||
ido-enable-dot-prefix t
|
ido-enable-dot-prefix t
|
||||||
ido-enable-regexp nil)
|
ido-enable-regexp nil)
|
||||||
:config
|
:config
|
||||||
|
(add-to-list
|
||||||
|
'after-make-frame-functions
|
||||||
|
#'(lambda (frame) (interactive)
|
||||||
|
(with-selected-frame frame
|
||||||
|
(ido-switch-buffer))))
|
||||||
|
|
||||||
(ido-mode)
|
(ido-mode)
|
||||||
(ido-everywhere))
|
(ido-everywhere))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|||||||
Reference in New Issue
Block a user