aboutsummaryrefslogtreecommitdiff
path: root/README.md
AgeCommit message (Collapse)AuthorFilesLines
2016-11-22vis-lua: introduce pre-save hookMarc André Tanner1-0/+1
The first argument is the file object while the second argument denotes the full path to which it will be written. Path might be `nil` if the file is going to be written to stdout. The Lua function is expected to return a boolean value indicating whether the write operation should proceed or be aborted.
2016-11-22vis-lua: pass path as second argument to file_save_post event hookMarc André Tanner1-1/+1
The passed path can be different from file.name for instance when opening a file `a` and then doing `:w b` where file.name will be the former and path the latter.
2016-11-21vis-lua: rename file_save event to file_save_postMarc André Tanner1-1/+1
Indicating that the event is triggered *after* a successfull write.
2016-11-21sam: change default addresses used for commands in normal modeMarc André Tanner1-3/+6
Except for special commands like `w` and `wq` treat the cursor as an implicit one character selection to which the command is applied.
2016-11-17Add code coverage badge to the READMEMarc André Tanner1-0/+1
2016-11-15Fix documentation regarding Lua paths in README and manual pageMarc André Tanner1-2/+3
Wether `/usr/local/share/vis` or `/usr/share/vis` is used depends on how the configure script was invoked. However, both are never used at the same time. This section should be completely reworked at some point.
2016-11-15vis: move initial theme loading code to luaMarc André Tanner1-6/+0
2016-11-14vis-lua: add vis.ui.colors denoting the number of available colorsMarc André Tanner1-0/+2
2016-11-11vis: add `:set shell` optionMarc André Tanner1-0/+4
2016-11-10vis-lua: change misnamed attribute values of `file.newlines`Marc André Tanner1-1/+1
Also rename underlying C code.
2016-11-10vis: split `:set show <option>` into separate optionsMarc André Tanner1-5/+3
It was the only command option which needed `=` to assign a value to. This unifies the argument parsing logic and adds the possibility to specify a per-option help text. You might want to adapt your visrc.lua configuration accordingly.
2016-11-09README: Fix instructions for lexers and themesKlemens Nanni1-3/+3
2016-11-09Use nicer IRC badge in READMEMarc André Tanner1-1/+1
2016-11-09Add another useless badge to the READMEMarc André Tanner1-1/+2
2016-09-19vis-lua: document lua file close eventMarc André Tanner1-0/+1
2016-09-19vis-lua: expose file save event to luaMarc André Tanner1-0/+1
Triggered after the new file content has been written to disk.
2016-09-19vis-lua: expose file open event to luaMarc André Tanner1-0/+1
The event is only triggerred for new files read from disk (e.g. splitting an existing window will not cause an event to be emitted).
2016-08-24vis-lua: add win:draw() functionMarc André Tanner1-0/+1
2016-08-24vis: overhaul input queue handlingMarc André Tanner1-1/+1
Let vis_keys_feed always have an immediate effect. Previously, if called from a key input handler the keys would just be added to the input queue and processed once the current key handler returned. This also affects the exposed Lua API.
2016-08-07Mention POSIX.1-2008 as a requirement in READMEMarc André Tanner1-2/+3
Close #353
2016-05-24vis-lua: cleanup Lua status bar display codeMarc André Tanner1-1/+1
2016-05-22vis-lua: add win:status functionMarc André Tanner1-0/+1
2016-05-22vis-lua: add vis.recording propertyMarc André Tanner1-0/+1
2016-05-22vis-lua: add window.{width, height} read only propertiesMarc André Tanner1-0/+1
2016-05-22vis-lua: add vis.VERSION propertyMarc André Tanner1-0/+1
It is a string in `git describe` format, as reporte by `vis -v`.
2016-05-22vis-lua: add window.viewport rangeMarc André Tanner1-0/+1
2016-05-22vis-lua: add bindings for new view style functionsMarc André Tanner1-0/+2
2016-05-22We don't use slmenu, so don't mention it.Tim Allen1-3/+2
2016-05-14vis-lua: add win:map function for window local key mappingsMarc André Tanner1-0/+1
Based on a patch by Josh Wainwright. Close #306
2016-05-04vis-lua: add new theme_change event hookMarc André Tanner1-0/+1
2016-05-04note that primary cursor is not blinkingErlend Fagerheim1-1/+2
2016-05-01vis-lua: expose vis:feedkeys APIMarc André Tanner1-0/+1
2016-04-29vis: move non-configuration sections out of visrc.lua into vis.luaMarc André Tanner1-0/+1
The intention is that vis.lua will provide parts of the Lua API not implemented in the C core. Please update your existing visrc.lua configuration file accordingly.
2016-04-26vis-lua: add file.modified propertyMarc André Tanner1-0/+1
2016-04-23Mention NixOS package in READMEMarc André Tanner1-0/+1
2016-04-21vis-lua: allow selection modification by assigning to cursor.selectionMarc André Tanner1-1/+1
2016-04-21vis-lua: implement vis:message(msg)Marc André Tanner1-1/+2
2016-04-21vis-lua: also accept a range as argument for file:delete and file:contentMarc André Tanner1-7/+11
2016-04-21vis-lua: add vis:command_register to map a Lua function to a :-commandMarc André Tanner1-0/+1
The following registers `:foo` as a command which prints a few things to stdout: vis:command_register("foo", function(argv, force, win, cursor, range) for i,arg in ipairs(argv) do print(i..": "..arg) end print("was command forced with ! "..(force and "yes" or "no")) print(win.file.name) print(cursor.pos) print(range ~= nil and ('['..range.start..', '..range.finish..']') or "invalid range") return true; end)
2016-04-19vis: add :set horizon optionDavid B. Lamkins1-0/+4
Can be used to specify the number of bytes before the visible area to consider for syntax highlighting. Defaults to 32K for now, whereas before it was 16K.
2016-04-19Integrate vis-test git submoduleMarc André Tanner1-3/+3
2016-04-17Mention #vis-editor IRC channel in READMEMarc André Tanner1-0/+3
Close #270
2016-04-17Mention slmenu(1) in READMEMarc André Tanner1-1/+3
2016-04-16vis-lua: add vis.mode propertyMarc André Tanner1-0/+1
2016-04-16vis-lua: update API documentaiton in READMEMarc André Tanner1-1/+3
2016-04-16vis-lua: add cursor.selection propertyMarc André Tanner1-0/+1
2016-04-16vis-lua: add window.cursors[] arrayMarc André Tanner1-0/+1
2016-04-16vis-lua: add window.cursors_iterator functionMarc André Tanner1-0/+1
2016-04-16vis-lua: add cursor.number propertyMarc André Tanner1-0/+1
2016-04-15vis-lua: change cursor object implementationMarc André Tanner1-2/+2