How to change Sublime Text 2 selected tab color

This is the best solution I have found: https://coderwall.com/p/jg4kog Inside of Sublime Text go to Preferences > Browse packages Navigate to the User folder. There you create a file called Default.sublime-theme Open that file in Sublime Text and copy and paste the following JSON object: . [ {“class”: “tab_control”, “attributes”: [“selected”, “file_medium_dark”],”tint_modifier”:[255, 255, 255, 80]} … Read more

Is there a quick way to convert a JavaScript object to valid JSON in the text editor?

Launch Firefox/Chrome/Safari Open Firebug/developer tools Copy/paste your code into the console. Then type console.log(JSON.stringify(object)) and voila! {“item1″:”value1″,”item2″:1000,”item3”:[“a”,”b”,”c”], “item4″:[1,2,3],”item5”:{“foo”:”bar”}} Copy/paste back into your text editor. For more control over the formatting, I have a free online webpage: http://phrogz.net/JS/NeatJSON that lets you paste JSON or JS values in one box and see JSON at the bottom, with … Read more

Text editors with vim mode?

I am a huge fan of vim myself, so whenever I am trying a new IDE, I am instantly looking for a vim plugin. Here is a short list of plugins that I found: Atom – vim-mode Eclipse – Vrapper / Vimplugin / Eclim Idea / WebStorm / pyCharm / RubyMine / CLion / PhpStorm … Read more

Sort numerically in VI editor [duplicate]

Just use Vim’s own sort function. Visually highlight the text (or use a range) and type: :sort n Documentation is available here: http://vim.wikia.com/wiki/Sort_lines Or in Vim itself: :help sort (Edited to reflect an important point of clarification from dash-tom-bang and the reference to Vim’s own help file.)