In fact it used TextMate file formats for colorschemes and snippets, making it relatively easy for TextMate users to migrate to ST2. Sublime Text (starting with version 2) was heavily inspired by TextMate. Sublime Text is arguably a spiritual descendant of BBEdit. I can't compare features, but I can tell an interesting story. I haven't used BBEdit in over a decade, so my sense of its capabilities are surely out of date. essentially getting you back to exactly what you had at the time of the interruption. What would be interesting to see are "super swap files" that are passively created (like ordinary swap files, requiring no intervention) but do everything that session files do and more, like preserving movements, markers, undo history try, etc. This will re-open whatever files you had open at the time, in the same layout, and more. Vim also supports a closely related concept "sessions", which you can force with ":mks" and restore with the "-S" flag. Any unsaved changes you made will be reconstructed from swap, rendering the file in the same state it was before. When you bring your system back up and try to edit foo.src again, you'll get a message "Swap file "." already exists!" and prompt you for whether you'd like to recover it or not. If your system crashes or you lose power while editing foo.src, it will leave the swap file behind, which is eagerly written to disk while editing and only removed when the process shuts down gracefully. Or you could see my linked answer and lock those values.Vim (cross-platform) supports ability to restore from the "swap" file (by default, AFAIK, but that may very well be a special configuration decision by my distro). That way you would have an automatic way to change the position of your program's window, although you would have to run it whenever you wanted to restore. You can conceivably alter the values of your program and afterwards create a backup of the registry keys you changed. DX and DY are the width and height of the window. X and Y are the coordinates of the window's top left corner. Then modify the following values iWindowPosX HKEY_CURRENT_USER\Software\Microsoft\Notepad In the registry, go to the following folder: (The following is quoted from the first link but as blockquotes make this ugly I retained original formatting)įor Notepad, this is how you should proceed. I'm basing my answer on this but like I said and researched, different programs use different keys to store the same information. This isn't a one-size fits-all solution, because programs don't follow any naming convention regarding window placement. The following was something I wrote before that might help you if you want to lock the values. Use the keyboard arrows to move the window to the position you want.Right click on the program's "icon" on the taskbar.Although I don't know of any ability like that on XP, standard Move and Dimensioning (right click on the program on the taskbar) seem to not work as expected.Īfter doing a little digging, try the following: I've recently answered a question regarding window configurations and ultimately resorted to using the Registry.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |