4 résultats taggé sublimetext

Remove/Add Line Breaks after Specific String using Sublime Text

Ctrl + Ftype stringAlt + F3ÉchapFlèche droiteline break

The important part being Ctrl + Win + G to select all matches.

Exporting and sharing Sublime Text configuration

Packages/User/Preferences.sublime-settings for settings

Packages/User/Package Control.sublime-settings for list of plugins

Other configuration files (shortcut keys, SFTP server configs, etc.) could be transferred, but they are not critical or may contain sensitive information

Change middle mouse button in Sublime Text

In Sublime, create a new file with JSON syntax and the following contents:

[
// Mouse 3 column select
{
"button": "button3",
"press_command": "drag_select",
"press_args": {"by": "columns"}
},
{
"button": "button3", "modifiers": ["ctrl"],
"press_command": "drag_select",
"press_args": {"by": "columns", "additive": true}
},
{
"button": "button3", "modifiers": ["alt"],
"press_command": "drag_select",
"press_args": {"by": "columns", "subtractive": true}
}
]

Then, save the file as ~/.config/sublime-text-3/Packages/User/Default (Linux).sublime-mousemap. You should now be able to mimic the Windows middle mouse functionality in Linux.

Replace \n with actual new line in Sublime Text

Turn on Regex Search and Replace

Find What: \\n

Replace With: \n