Timeline for Is there a way to write and kill a buffer in a single command in Spacemacs / Evil?
Current License: CC BY-SA 4.0
4 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Dec 21, 2023 at 21:16 | vote | accept | dalanicolai | ||
S Dec 21, 2023 at 21:16 | vote | accept | dalanicolai | ||
S Dec 21, 2023 at 21:16 | |||||
Dec 1, 2019 at 11:11 | comment | added | dalanicolai |
I did not realize that I never used this in vim. I only worked half a year in vim and used to open multiple files in multiple windows (switching windows with alt+` in gnome is quite efficient too for simple projects). I checked now how this would work in (neo)vim and I found that the command :w|bd does the job. I tested this command in evil too but it writes a file named |bd so I will consider to file a bug then. Anyway, thanks for your great answer! I will accept it after I tested it but for now as I said I am new to (Spac)Emacs and Evil. @wasamasa
|
|
Nov 30, 2019 at 18:36 | history | answered | wasamasa | CC BY-SA 4.0 |