Using emacs -nw file1 file2
I can open multiple files at once. However, emacs will open them in horizontal splits. Is there a way to set default split behavior to vertical? I have looked at:
If I could have emacs call that automatically every time I open multiple files that would do what I am looking for.
I also looked at this SO post.
Their suggestion of adding (setq split-height-threshold nil)
and (setq split-width-threshold 0)
in ~/.emacs
did not work for me. I have tried them separately and together.