I've a little question:
I have been working for 2 years with Sublime Text and it wonders me if there is a way to add a terminal in Sublime Text like Emacs does?
In package control you can install Glue or SublimeRepl. There are many other options but those are the 2 I use the most.
Related
In vim I can search for a visually selected string using a number of techniques including what can be found here:
http://vim.wikia.com/wiki/Search_for_visually_selected_text
Is there a way to do the same thing in VSCode with the Vim extension?
Right now, VsCodeVim doesn't support the command in search mode, so that keybinding isn't possible.
If you want to see that in the future, opening an issue at https://github.com/VSCodeVim/Vim/issues would help.
EDIT: https://github.com/bronson/vim-visual-star-search is implemented, so this functionality is now there.
I was searching for some way to change Netbeans tabs behavior to act like Sublime Text or Google Chrome, but found nothing so far.
In sublime, you can change tabs using the CTRL + number (Or Command + number in OSX), as seen in the following image:
So my question is: Does anyone knows a way to do this in Netbeans ? I still love the IDE, but this feature is really important to me, because make me more productive.
Currently in Sublime Text 2 I can do the following while editing a .html file:
hr.margin-none <TAB>
and it will expand automatically to
<hr class="margin-none"></hr>
Is there a similar function in Emacs? I found something on Flexible Expand but it doesn't seem to do what I was hoping (or maybe I'm just using it wrong.)
Thanks!
You can do the same thing in Emacs. Just install the emmet-mode and enable it. Reading the following page would help you.
https://github.com/smihica/emmet-mode
I'm using Sublime text 2 as text editor for HTML and JavaScript and I have a small problem. I'm using autocomplete but some of the function's names are so long that I can see only first 5 or 6 symbols of it. Is anybody knows how can I resize the autocomplete window? Thanks again.
As far as I know, it's not possible in ST2. It might not be in ST3 either, but at least the autocomplete pop-up adapts its size to the content. Should you consider an update, make sure to have a look at the Can I switch to Sublime Text 3 website first.
I have the following problem.
I use ubuntu 12.04 and sublime-text-2 or gedit.
Sometimes i copy/paste something in a haml/ruby file, i indent it at 2 spaces, but when i push it up to github, the indentation is all wrong and not only the part I've copy/pasted. In my editor looks good.
If I open the file with LibreOffice/LeafPad the identation is like on github, but i wanna have it working on ST2.
Any suggestions?
To have correct indent across the service you should not use hard tabs
http://opensourcehacker.com/2012/05/13/never-use-hard-tabs/
You can achieve this functionality in Sublime Text 2 with a tab policy setting:
http://opensourcehacker.com/2012/05/11/sublime-text-2-tips-for-python-and-web-developers/#Configure_sane_tab_and_whitespace_policy_and_other_settings
Also not that you might need to choose new policy for existing files from View > Indentation menu.
You can also mass-convert existing files away from tabs.
With Sublime Text 2:
http://opensourcehacker.com/2012/05/11/sublime-text-2-tips-for-python-and-web-developers/#Converting_existing_files_to_use_spaces_instead_of_tabs
... or batch convert the whole project:
http://miohtama.github.com/vvv/tools/expandtabs.html