I'm using Emacs on Windows. I plan on making a shortcut to Emacs for quick access.
However, I have 3 files that should always be opened when I start emacs (ideally in 3 separate tabs), and I want that to happen I click on the shortcut.
I've installed elscreen to get a tab bar-like functionality, but I'm not quite sure how to automatically open those 3 files in separate tabs.
Anyone have an idea on how to achieve this?
elscreen
. Instead, usetabbar.el
: http://emacs.stackexchange.com/questions/10081/browser-style-tabs-for-emacselscreen
is for preserving window layouts. Once you install and configuretabbar.el
, all you need to do is have three (3) lines of code in your.emacs
file usingfind-file
: http://emacs.stackexchange.com/a/26985/2287 If you are interested in organizing buffers by frames, then see: http://stackoverflow.com/questions/18346785/how-to-intercept-a-file-before-it-opens-and-decide-which-frame and alsoframe-bufs
. – lawlist Sep 21 '16 at 03:09elscreen
's goal isn't to preserve window layouts, though it's possible with another package, it's more to have tabs, but when we want, not for every file. – Ehvince Sep 21 '16 at 13:20elscreen
as "elscreen is a GNU Emacs window session manager modeled after GNU screen by NaotoMorishima.": https://www.emacswiki.org/emacs/EmacsLispScreenhttps://www.emacswiki.org/emacs/EmacsLispScreen I haveelscreen
installed, and can confirm that it is most definitely designed to manage window layouts within Emacs. – lawlist Sep 21 '16 at 14:23