-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I have 175KB plaintext file with some very large lines. The largest one has 20K characters. All characters are standard ASCII chars, none of them are trollish.
If I open this file and :set nowrap, Vim becomes very slow and laggy. Disabling vim-troll-stopper plugin solves it.
The same happens when I open an SVG file, because several lines are very long.
Ideas for solutions:
- Add some commands:
:TrollStartto enable it;:TrollStopto disable it (I think this is already implemented);:TrollToggleto toggle it. Alternatively, could be:TrollOnandTrollOff. Maybe even:Trolloloto toggle it. - Add an option to have the plugin off by default.
- The plugin could be off by default, but it could check for troll characters only once (on file load, or something), and if any troll character is found, a warning message could be shown at the status bar: Troll characters were found, run :TrollStart to highlight them.
Metadata
Metadata
Assignees
Labels
No labels