I'm using SublimeText3 and have a few questions around managing bookmarks. I tried better bookmarks but the only problem is that when you close the file the bookmarks are cleared and when you close and reopen ST3 its all gone. I want to preserve the bookmarks when you close files/ST3. Is there any package that can support this?
I also tried sublimebookmarks and the same problem, when I close the file I loosed the bookmarks.
I got sublime bookmarks working based on the following link.
https://github.com/bollu/sublimeBookmark/issues/23
Basically you need to modify the sublimebookmark.py file and its all good. I tested it as well. The bookmarks take a bit of time to load but apart from that its all good.
Related
I have a Utilities file which contains a number of macros which I use a lot. My old Excel loads this file on launch, but does not show the window. This is exactly the desired behaviour.
However I recently updated my Excel (16.56 on Big Sur) and now, when Excel launches, the window shows.
Is there any way to make it be invisible? I've tried deleting all the worksheets but Excel won't let me. Googling is throwing up scads of completely useless hits and nothing here seems to be relevent, either.
OK, so after much more Googling, I found the answer. Menu item Window -> Hide. Then quit Excel, answering Yes to save the file. On relaunch it opens invisibly.
Okay, this has been asked before.
But the answers did not really cover what I was looking for. I do not even get the purpose of t shortcut, it just opens another nerdtree where I can't even open folders with enter.
What I would like to do is to open files in new tabs inside one nerdtree session, just like in any other non-terminal text editor.
Now, if I open another file with enter, it closes the previously edited file. It becomes quite tedious very fast while working on a project.
Anybody has a solution for this?
I like to work in multiple columns when working on a project.
I will often switch back and forth between the columns and open other files using cmd+p.
If one column has the file open already then it will just refocus on that tab (good!). However, if I am in a column where the file isn't opened, instead of switching focus to that column, it will open a new tab and clutter my workspace(bad!).
Is there a setting I can change so I can achieve the desired behavior I described above? Chrome has an extension that can do this
There's a plugin for Sublime text 3 for this as well, it's called Open in relevant window and it works just like you just described.
Installation is simple and just like any other ST3 plugin, through package control.
Hope this helps!
I am navigating the code of a big JavaScript library using Sublime Text 3. So I need to open a lot of tabs and switch between them to capture the code co-reference. However, Sublime closes 'unused' tabs automatically for me.
How to disable it? I googled but cannot find a solution. I find a shortcut ctrl+shift+t to restore the most recent closed file, but that is not enough. I need to disable the automatic closing, and that would be better if someone shows me the short key to "display and select a file from all open files". Thanks.
When you single-click on a file in the sidebar, Sublime displays it in a "temp" view that is overwritten the next time you single-click on a file. To open a file in a "permanent" tab that stays open even when other files are opened, you simply need to double-click on the file in the sidebar.
A more direct solution that I find mildly preferable, at least until I can retrain myself to double-click when I want a tab to stay open:
In the Settings, set preview_on_click to false.
This is not quite what I want since it all it does is disable the behavior to open a preview tab on single click -- thereby forcing the user to always double click. But perhaps by working this way for a week or so I will be able to retrain my ingrained assumptions and can go back to the default behavior.
Double click that file on left sidebar you do not want to close automatically.
I have been using my Vim setup for quite some time now, but all of a sudden the saving of code does not update the code. I use FuzzyFinder for browsing files.
Opening a file normally, i.e. as Vim from console doesnt seem to give problems.
But when I open a file through FuzzyFinder it shows the old code without changes.
However, opening it through a other editor (or without the plugin) or doing git diff shows the changes.
Is it some problem caused by Git, a bug in the plugin, or maybe a cache issue?
Do you try use :edit!? I think problem is buffer. Vim have buffered file and don't reload it, when you open it via Fuzzy Finder.
Have you tried setting the autoread option in your .vimrc? It should force a reload after changes have been made.
From its help page:
When a file has been detected to have been changed outside of Vim and
it has not been changed inside of Vim, automatically read it again.
When the file has been deleted this is not done.