| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-12-03 | vis: improve :set option number parsing | Marc André Tanner | 1 | -1/+0 | |
| Only accept numbers in range [0, INT_MAX]. Reject trailing garbage, where before something like `:set cc 50NaN` worked it will now cause an error. Close #418 | |||||
| 2016-11-28 | vis: move mark description into core code | Marc André Tanner | 1 | -0/+1 | |
| 2016-11-25 | vis: fix I/O redirection bugs, cleanup vis_pipe | Marc André Tanner | 1 | -5/+5 | |
| The `:!` command did redirect stdout to a pipe which was used by `vis-menu` to return the selected entry. However, this breaks other interactive commands such as `:!/bin/sh` where command output was never displayed. Instead we modified `vis-menu` to re-open /dev/tty for its user interface which makes it work as a regular filter `:|` This patch also obsoletes the interactive flag previously passed to the vis_pipe function. Interactive mode is instead enabled by piping an invalid range. | |||||
| 2016-11-22 | vis-lua: introduce pre-save hook | Marc André Tanner | 1 | -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-22 | vis-lua: pass path as second argument to file_save_post event hook | Marc André Tanner | 1 | -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-21 | vis-lua: rename file_save event to file_save_post | Marc André Tanner | 1 | -1/+1 | |
| Indicating that the event is triggered *after* a successfull write. | |||||
| 2016-11-16 | sam: use default shell command for <, >, | and ! when applicaple | Marc André Tanner | 1 | -0/+1 | |
| If the shell command is omitted, the last shell command (of any type) is substituted. The most recently used shell command is stored in a new register currently named `!`. | |||||
| 2016-11-15 | vis: generalize special stdin handling | Marc André Tanner | 1 | -0/+5 | |
| In preparation to move argument parsing code out of vis.c. | |||||
| 2016-11-09 | vis: add replace operator VIS_OP_REPLACE | Marc André Tanner | 1 | -0/+2 | |
| Delete the given range and insert the same number of replacement characters. | |||||
| 2016-11-09 | vis: unify VIS_OP_{INSERT,REPLACE} implementation | Marc André Tanner | 1 | -2/+2 | |
| They both perform a motion before changing mode. | |||||
| 2016-09-25 | vis: disable language map for replacement character of `r` command | Marc André Tanner | 1 | -0/+2 | |
| The character following the `r` command in normal mode should be treated as regular input given in insert/replace mode, that is no tranformation should be applied. Temporarily disable the language map for this reason. Close #382 | |||||
| 2016-09-25 | vis: move file name and word completion logic to a shell script | Marc André Tanner | 1 | -0/+3 | |
| The shell script should be reviewed for quoting issues, currently it allows command injections as in: $ vis-complete "'; rm -f some-file; echo " However it is intended for interactive usage and from within vis it is only ever called with a valid completion prefix. The file name completion logic now supports nested directories. Close #347 | |||||
| 2016-08-24 | vis: implement gJ like behavior | Marc André Tanner | 1 | -0/+1 | |
| The behavior is not exactly the same because vim preserves any existing white spaces wihle we remove existing ones but do not insert additional ones. The vim behavior (essentially only deleating new lines) can be achived using something like: :x/\n/d Close #374 | |||||
| 2016-08-24 | vis: add vis_mode_get function | Marc André Tanner | 1 | -0/+1 | |
| 2016-08-24 | vis: overhaul input queue handling | Marc André Tanner | 1 | -4/+2 | |
| 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-05-26 | vis: use normalized absolute file names as internal representation | Marc André Tanner | 1 | -2/+0 | |
| Try to display a shorthand version in the status bar, this currently only works for files below the current working directory of the editor process. | |||||
| 2016-05-22 | vis: refactor status line handling | Marc André Tanner | 1 | -2/+1 | |
| Make window status bar content configurable via Lua. | |||||
| 2016-05-22 | vis: add function to change window statusbar content | Marc André Tanner | 1 | -0/+2 | |
| 2016-05-22 | vis: add functions to query window size | Marc André Tanner | 1 | -0/+3 | |
| 2016-05-22 | vis: consider :set horizon setting when syntax highlighting | Marc André Tanner | 1 | -1/+1 | |
| 2016-05-22 | vis: move syntax highlighting to pure Lua code | Marc André Tanner | 1 | -0/+6 | |
| 2016-05-18 | vis: add #define for VIS_MENU | Marc André Tanner | 1 | -0/+11 | |
| 2016-05-18 | vis: add an interactive mode to vis_pipe{,_collect}(...) | Marc André Tanner | 1 | -2/+6 | |
| Previously the interactive mode was implicitly enabled by passing an invalid range. However for some use cases (e.g. completion) we need to be able to pipe a given text range to an external process without also redirecting stderr (which is used to draw the slmenu interface on top of vis). | |||||
| 2016-05-18 | vis: introduce vis_pipe_collect utility function | Marc André Tanner | 1 | -0/+5 | |
| 2016-05-13 | vis: clean up key mapping implementation | Marc André Tanner | 1 | -4/+5 | |
| 2016-05-08 | Fix autoindent when using O | Richard Burke | 1 | -0/+3 | |
| 2016-05-04 | vis: enable large file optimizations for files with long lines | Marc André Tanner | 1 | -2/+0 | |
| 2016-05-01 | vis: further cleanup input handling, introduce vis_keys_feed API | Marc André Tanner | 1 | -8/+6 | |
| 2016-05-01 | vis: cleanup input handling, improve macro replay | Marc André Tanner | 1 | -7/+6 | |
| 2016-04-21 | vis: add infrastructure to register custom :-commands | Marc André Tanner | 1 | -0/+8 | |
| 2016-04-20 | vis-lua: trigger start event after ui has been initialized | Marc André Tanner | 1 | -0/+1 | |
| 2016-04-19 | vis: add an unsigned option type for :set command | Marc André Tanner | 1 | -0/+1 | |
| 2016-04-12 | Add "[(" and "])" motions for jumping to a parenthese pair's start/end | Rob Pilling | 1 | -0/+2 | |
| 2016-04-12 | Add "[{" and "]}" motions to jump to a block's start/end | Rob Pilling | 1 | -0/+2 | |
| 2016-04-08 | vis: let :e recreate a window at the same location as the old one | Marc André Tanner | 1 | -0/+2 | |
| Close #224 | |||||
| 2016-04-08 | vis: cleanup window focusing code | Marc André Tanner | 1 | -0/+2 | |
| 2016-04-03 | vis: change vis_pipe API and cleanup related code | Marc André Tanner | 1 | -3/+3 | |
| 2016-04-01 | vis: cleanup vis_pipe API | Marc André Tanner | 1 | -1/+10 | |
| 2016-03-15 | vis: add support for command register ": | Marc André Tanner | 1 | -0/+1 | |
| 2016-03-13 | vis: convert gn and gN text objects to use "/ register content | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-12 | vis: overhaul search related code, support "/ register | Marc André Tanner | 1 | -0/+5 | |
| 2016-02-25 | vis: use standard registers for macro recordings | Marc André Tanner | 1 | -22/+12 | |
| Also support upper case register to append to an existing macro. | |||||
| 2016-02-18 | Add infrastructure to register custom text object functions | Marc André Tanner | 1 | -0/+5 | |
| 2016-02-18 | vis-lua: expose vis:textobject(id) | Marc André Tanner | 1 | -1/+1 | |
| 2016-02-18 | Add infrastructure to add custom motion functions | Marc André Tanner | 1 | -0/+7 | |
| A motion function can be registered with vis_motion_register(...) the returned id (if non negative) can then be used as an argument to vis_motion(...) | |||||
| 2016-02-18 | vis-lua: expose mode constants to lua | Marc André Tanner | 1 | -2/+0 | |
| 2016-02-18 | vis: add possibility to bind keys to lua functions | Marc André Tanner | 1 | -1/+2 | |
| 2016-02-18 | vis: add insfrastructure to support global key mappings | Marc André Tanner | 1 | -0/+3 | |
| Except for insert/replace mode keys get translated before any key bindings are evaluated. This is useful for non-english/latin keyboard layouts. | |||||
| 2016-02-15 | Add text object to cover lines with same indentation level | Marc André Tanner | 1 | -0/+1 | |
| By default it is mapped to i<Tab> and a<Tab> however there is currently no difference between the inner and regular version. | |||||
| 2016-02-12 | Mark some tables as const | Marc André Tanner | 1 | -2/+2 | |
| This allows them to be placed into the read only ELF section. | |||||
