Tag Info

Hot answers tagged

3

This appearance, with every other indent level dropped, is usually (and seems to be the case in your code) a symptom of looking at code which has 4 spaces per indent, but 8-space tabs tabs on every other line (e.g. 4s, 1t, 1t4s, 2t), with a tabstop setting of 4. For Python code, you should simply replace all tabs in the code with eight spaces, since that ...


2

You can accomplish this by combining the tab command with the sb[uffer] command. First you'll need to know the buffer id of the buffer you wish to open in a new tab. You can find this out with the ls command: :ls 1 %a "foo" line 1 2 "bar" line 0 Once you have the id, you can easily open it in a ...


1

There was once an add-on called "Smart Middle Click" that provided the ability to middle-click JavaScript links. It's no longer available at addons.mozilla.org or the author's website, but I've uploaded a copy for you: http://www67.zippyshare.com/v/7SsmjES2/file.html SMC doesn't work with all JS links, but rarely has trouble with the type you described. ...



Only top voted, non community-wiki answers of a minimum length are eligible