Tag Archives: textmate

Sublime Text: Disable Auto Complete on Return / Enter key

Recently I’ve been trying to switch from TextMate to SublimeText. For the most part it is an easy transition, but there are a few things that cause me hangups. One of them is how the autocomplete works. In Text Mate, you can use enter / return to get a new line after typing something like a CSS or LESS rule. In SublimeText, if your CSS, LESS, SASS rule matches an auto complete snippet, pressing enter (or return) will cause that to be autocompleted. Fortunately you can edit your Preferences.sublime-settings file and add the following rule to keep autocomplete on but disable enter / return from autocompleting: “auto_complete_commit_on_tab” : false

Posted in Mac, Software, Tech Tips | Tagged , | Leave a comment

Textmate: Toggle Insert Anywhere

When I click somewhere on a line of text – in the empty space part after content – the cursor moves to the exact position I’ve clicked rather than jumping to the end of the line like every other editor seems to do. This is how to reset this behavior and fix Textmate – that is, to click and have the cursor move to the end of that line and not to the actual position you click with the mouse. This is caused by Freehand Editing mode being turned on. Here are the two editing modes that Textmate allows, and here is how to enable / disable both of them: Freehand Editing (Edit » Mode » Freehand Editing) Allows the caret to move past end of line and inside tab characters. It is also possible to place the caret unrestricted by line endings (and tabs) by holding down ? while placing the caret with the mouse. Overwrite Mode (Edit » Mode » Overwrite Mode) This lets you type over existing text

Posted in Mac, Software, Tech Tips | Tagged , , , , , | 1 Comment

Textmate: Select Balanced HTML Tag

Posted in Tech Tips, Web Development | Tagged , , , , | 1 Comment