Today as i was working, i just realised how amazing my editor is.
I have been trying to learn vi from about a decade. its been on and off….
To adjust to vi, i started lessening my expectations from any editor.
The least i wanted is
1. Syntax highlighting
2. Line numbering
3. A system compatible with Ctrl-C/X / Ctrl-V. For better or for worse, i havent been able to adapt to vi’s system.
About 2-3 months back, i downloaded sublime text to see what the noise was all about…and it blew my mind. i took to it like a duck to water. It looks beautiful. and very, very 'hackerish' From then till now, i have adapted a few things to my specific use. i have added packages and themes…and i have made a few config changes to suit me.
This is for noobs.
Packages i installed:
SFTP - When we have to edit files in a remote server.
SublimeLinter - The base plugin for setting up linting.
SublimeLinter-PHP - The plugin for linting PHP code.
emmet - This plugin is awesome and cuts down on HTML dev time.
Themes i installed:
AfterGlow
Fonts i use:
Source Code Pro
InputSans
I use SourceCodePro
on my home laptop and inputSans
on my office laptop.
My Config file
{
"color_scheme": "Packages/Theme - Afterglow/Afterglow.tmTheme",
"font_face": "Source Code Pro",
"font_size": 10,
"ignored_packages":
[
"Vintage"
]
}
All the links given above are to the relevant plugin/theme documentation.
Here’s how you go about personalising your install of sublimetext:
1. I used Package Control to install all the packages. And this is how one installs it.
2. Install all the plugins and themes using PackageManager. Go there via Preferences -> Package Control
and type in install packages
in the input area.
3. Install all the fonts on your system. ( Do some googling! )
4. Go to Preferences -> Settings - User
, And paste all the config file i have shown above there. Or if you are feeling comfortable and adventurous, Do copy only what you need.
5. Restart SublimeText.