Decrease margin sublime distraction-free mode - sublimetext2

I just discovered the wonder of distraction-free mode in sublime text. However, I've noticed that the left hand margin is really large, making the code start halfway through the screen. Here's a picture of what I mean:
Is there a way to make it so the code starts more towards the left of the screen?

If you open the default settings for Distraction Free mode (under the Preferences menu), you'll see that one of the options is
"draw_centered": true
Open the Distraction Free User preferences and set
"draw_centered": false
and you'll be all set. Remember, any setting that appears in your Default or User Preferences can be set in Distraction Free mode as well.

Related

How do I set the default position for chrome developer tools in incognito

When I open an new incognito window and open the developer tools its always docked to the bottom :S
Is there any way I can set the default dock to the right? Or is there some hotkey I can use to change the dock position?
The chromium ticket today was marked as won't fix https://code.google.com/p/chromium/issues/detail?id=376788
So it is very unlikely we will get this behavior. Personally I hate the default behavior being dock to right.
The original argument for it being changed to dock to right was because lots of people were upvoting these questions about how to dock it to right.
Chrome >=24 - how to dock devtools to the right?
How to reposition chrome developer tools
Maybe if we get enough people to upvote how to make it go back to the bottom they will change it back :)
EDIT: On second thought it looks like it is now picking up some traction, and they are working on implementing this. See comment https://code.google.com/p/chromium/issues/detail?id=376788#c45
EDIT #2: Chrome 44 was just released and now the position is carried over when you open a new incognito window
When the dev tools open right next to the x to close them you see the option to undock it and open it in a separate window... if you click and hold it, it will show you an option to dock it in the right panel.
Also, as a note... this is not specific to incognito.
There used to be a setting in the inspector settings (you can open them by pressing "?" while the inspector is open), but it was removed in favor of "position priorities", these being:
Right Dock
Bottom Dock
Undock
If you change its position it is persistent as long as you have a session, this means the position won't be remembered in incognito.
EDIT: Also, you can long-press the dock selection button (top right corner of the inspector) to select directly an option.
Discussion about it.

How can i built this tab menu on sublime text 2?

Like this, how do I set up?
ps: my sublime text is version 2
This is a one sneaky setting I wasted time to find out how to turn off:
// Allows tabs to scroll left and right, instead of simply shrinking
"enable_tab_scrolling": true,
See if it's available in ST2. Interesting part is that it's disabled on OS X by default, but enabled on Linux and Windows.

change font size of Chrome bookmarks panel

bookmarks bar doesn't zoom in with page zooming or minimal font setting in chrome.
So is there a way to increase font size for bookmarks bar?
In XP you can change font size of bookmarks and tabs of the chrome by changing the Message Box value in display properties menu;
Control Panel -> Display -> Appearance -> Advanced -> Item -> Message Box
There might be a way to change the chrome bookmark bar font size using the "chrome browser settings", but I'm not entirely sure. Alternatively, use the "OS settings". These settings are usually found in categories named: visual, appearance, theme, font size, etc... and can
be adjusted on either a specific or global scale.
OS (Windows 10)
Start > Settings > Make text size bigger
Start > Settings > Change the size of text, apps, and other items > Scale and layout
Start > Settings > Make everything bigger > Make everything bigger
On Google Chrome click on 3 dots on upper right hand corner and scroll down to settings. Settings>Advanced>Accessibility>Manage Accessibility Features>Display>Open Display Settings>Display Size>(Move bar towards middle of Tiny and Huge or to your liking)
For windows 11...
select windows start button
type font in search bar
choose "make text size bigger"
Use scale to increase text size according to your preference, select apply
THENNNN, use the magnifier (upper right icon in url bar or use CTRL and -) to reduce the size of your screen from 100%
Not ideal fix, but a temporary solution that worked for me!
Its so easy dear. Just type the following in your chrome browser:
chrome://flags
Now scroll down untill you find the option "HiDPI Support Windows".
Once you found the option change it from Default to Engable and then click on relunch now. You are done your from now your bookmark toolbar icons will be big.
Click on bookmarks.
On top of the bookmark list, click Bookmark Manager.
Then simply use the Ctrl and + or _ to increase or decrease font size.
Alternately, press Ctrl and roll the mouse wheel.

How does one set the tab width in Komodo Edit?

This is a rather simple done in Emacs or NEdit, but I could not find how to setup tab width in Komodo Edit (I use 7.1).
Komodo has a bug in the setting "Allow file contents to override tab settings". Here is the fix:
Go to: Preferences → Editor → Indentation. From this screen, turn off "Allow file contents to override tab settings" as this is very buggy and can cause Komodo to override your settings (hence the need to change the per-file-setting in other people's solutions)
From this screen, check all other tab settings, and check the per-language settings in the drop down.
Now close all files and after reopening them the settings should now take effect permanently. This is a better solution as you will no longer have to go to each file and constantly reset the per-file indent settings.
Go to the preferences page.
Depending on your display style - GTK style I think, the plus sign or what it is in front of the entry "editor" might be unvisible.
Either double click on "editor" to show the subtree, click into the free space in front of it (like sinking submarines), or search for indent or tab in the search bar.
There you will find the indentation setup details.

Auto-convert tab to 4 spaces in TextWrangler?

Is there a preference in Textwrangler to redefine a tab as 4 spaces? In Vim this is set expandtab in the vimrc, but I don't know how to set it in TW besides clicking "Detab" when I'm done editing the document.
Thanks,
Kevin
Go to "Preferences" -> "Editor Defaults" -> "Auto-expand tabs," and then set tabs to 4 spaces. Then restart TextWrangler for changes to take place.
For docs that already exist you have to hit the "Text Options" button in the top of the editor window of the open document. In older versions, it's the button that looks like a "T" with a light switch next to it; with newer versions, it's a gear "⚙" icon. In that drop down there is the "auto-expand tabs" as well.
in version 4.5.5, there is 'Text -> Detab...', which pops up a requester for how many space per tab, preset for 4.
Go to Edit -> Text Options and tick Auto-expand tabs. This will make all the new tabs to change to spaces.
To change all current tabs to spaces as well, go to Text -> Detab and hit Detab.
Hope that helps!
For Mac, another easy way to check and enable "Auto-expand tabs" is to hit the gear button on top left.
You can also use "Normalize Options..." to set the text options of an already-open document to whatever you have set in your Preferences. This is useful for dealing with pre-existing code.
There are two places you need to set the settings for this to work. One is for previously opened documents, and the other for all documents to be opened or created in the future.
The Settings
set "Auto-expand tabs" to checked
set "Tab width" to 4
Previously Opened Documents
Click the "Text Options" button. It is in the top left of the editor window directly above the document view of the open document. In newer versions it's a gear "⚙" icon. And in older versions it is a "T" and light switch.
New Documents
go to preferences menu: BBEdit -> Preferences
choose "Editor Defaults" from the side-bar in Preferences