Dine kommentarer

It isn't like http://nschum.de/src/emacs/highlight-symbol/ though, right? Highlighting several different words...

Cool, one of the few settings I had not touched, and they work great on Windows, Should probably be the default!

Another option would be to make it a little more different...

Also, other kinds of generic panels and tooltips would be great and bring it closer to a modern Emacs dream :)

Here's my current solution.


Bind space like this:


    { "keys": [" "], "command": "space_and_wrap_lines", "context": [
         { "key": "selector", "operator": "equal", "operand": "text.html.markdown, text.tex.latex" },
         { "key": "following_text", "operator": "regex_contains", "operand": "^$", "match_all": true }
         ],
    }


And write this little command in a new plugin:


import sublime, sublime_plugin
class SpaceAndWrapLinesCommand(sublime_plugin.WindowCommand):
    def run(self):
        self.window.run_command("wrap_lines")
        self.window.run_command("insert", {"characters": " "})


HTH

Me too, I just wish I could extend it in more fun ways, like Emacs, that I also love, but its getting old.

No, that's manual wrapping.

No, that's manual wrapping.

This is auto-fill-mode in Emacs, and the only sane way to write text-based documentation to be read on other editors, web, etc.



Kundesupport af UserEcho