Sublime Forum

Newbie question - open the same file in two windows

#1

sorry for the newbie question, but I coulnd’t find how to do it

How can I open the same file twice, or split the current window

I just want to see two different parts of the same file…

I tried with shift-alt-8 (horizontal split) but I couldn’t find the way to open the same file

thanks a lot

saludos

sas

1 Like

#2

In the File menu there is an entry “New View into File”

1 Like

#3

thanks a lot,

now I want to automate it a little bit, see Shortcut to open the same file in two windows

I was wondering how to configure a shortcut to open the same file in two windows…

0 Likes

#4

Origami will bring you very close indeed. You’ll probably need a macro to implement the full behaviour you want.
Try investigating Origami’s source files and see where you need to hook into. You can then automate the respective command after opening the new file (the “New View into File” command name is “clone_view”).
About macros: docs.sublimetext.info/en/latest/ … acros.html

0 Likes

#5

[quote=“opensas”]thanks a lot,

now I want to automate it a little bit, see Shortcut to open the same file in two windows

I was wondering how to configure a shortcut to open the same file in two windows…[/quote]

Thank you I was wondering the same question.

0 Likes