Patches - martanne/vis GitHub Wiki
A list of community-provided patches.
-
smartcaseandliteralsearch options
A sample setup, where/searches for fixed strings,g/- for regular expressions:vis.events.subscribe(vis.events.INIT, function() vis:command'set smartcase on' vis:map(vis.modes.NORMAL, '/', function() vis:command'set literal on' vis:feedkeys'<vis-search-forward>' end) vis:map(vis.modes.NORMAL, 'g/', function() vis:command'set literal off' vis:feedkeys'<vis-search-forward>' end) end)
-
operator to add cursors on each line of a textobject/motion
It's mapped to<C-v>by default, as, at least in some cases, it resembles visual block mode in vim. -
Allow lua to style the line numbers
Implemented in commit 62ccfe59. -
add bell notification (beep) The bell is sounded when there is nothing to undo/redo.
-
experimental mouse support
Basic mouse support. Click anywhere to move the cursor, drag to begin visual selection, and scroll with the mouse wheel. SeeREADME.mouse.mdfor usage, implementation details as well as notes on extension and points of improvement. Asciinema demo.