Sublime as default editor

Actually it is not my answer, I have just googled it: Open regedit (Win+R, type “regedit”, select OK). Navigate to HKEY_CLASSES_ROOT\Applications\sublime_text.exe\shell\open\command Verify that the path is accurate, correct it if it is not. Exit regedit. Open task manager via Ctrl+Alt+Del (or Ctrl+Shift+Esc for later versions of Windows), kill explorer.exe, go to run (Win+R) and type … Read more

How do I exclude a folder from search in sublime text 3 permanently?

Go to the Settings menu and in the Preferences.sublime-settings file for the user and add a new node to the json named folder_exclude_patterns. In it, add the folders that you don’t want to be displayed (in json array format). Example: { // … other settings “folder_exclude_patterns”: [“node_modules”, “another_folder”], } If you want to exclude certain … Read more

What specific productivity gains do Vim/Emacs provide over GUI text editors?

For Vim: Vim has better integration with other tools (shell commands, scripts, compilers, version control systems, ctags, etc.) than most editors. Even something simple like :.!, to pipe a command’s output into a buffer, is something you won’t find in most GUI editors. A tabbed interface is not as nice as the “windowed” interface that … Read more

Add quotation at the start and end of each line in Notepad++

You won’t be able to do it in a single replacement; you’ll have to perform a few steps. Here’s how I’d do it: Find (in regular expression mode): (.+) Replace with: “\1” This adds the quotes: “AliceBlue” “AntiqueWhite” “Aqua” “Aquamarine” “Azure” “Beige” “Bisque” “Black” “BlanchedAlmond” Find (in extended mode): \r\n Replace with (with a space … Read more