| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2020-02-23 | sam: warn when attempting to write to an existing file | Marc André Tanner | 1 | -0/+4 | |
| Add ! to override. | |||||
| 2020-02-23 | sam: fix modification time comparision when writing file | Marc André Tanner | 1 | -6/+13 | |
| The modification time should only be compared when dealing with the same file i.e. the following should work without a warning: $ touch foo; sleep 1; touch bar $ vis foo :w bar Also switch from path to inode based file equality testing. | |||||
| 2020-02-22 | sam: re-take range after pre-save hooks are run | alex | 1 | -2/+14 | |
| A vis.events.FILE_SAVE_PRE callback may mutate the file text, making the original range passed to cmd_write incorrect. It is unclear how to realign the range after the callback is done for the cases where an active selection in visual mode is present or an explicit range like :1,2w! was specified. However, this commit resolves the issue for the case where the whole file is expected to be written. | |||||
| 2020-02-12 | sam: support optional count for text commands | Marc André Tanner | 1 | -12/+21 | |
| The text given for the a, i and c commands can be prefixed with an optional count indicating how often the text should be inserted, defaults to 1. | |||||
| 2020-02-12 | sam: move parse_number code, no functional change | Marc André Tanner | 1 | -9/+9 | |
| 2020-01-28 | vis: support an optional exit status in :q and :qall commands | Marc André Tanner | 1 | -2/+2 | |
| This can for example be used to abort git commit messages with :q! 1. | |||||
| 2020-01-27 | vis: pass absolute path to pre/post save events | Marc André Tanner | 1 | -13/+24 | |
| 2020-01-24 | sam: fix ^ anchor behavior in looping commands | Marc André Tanner | 1 | -3/+7 | |
| Previsouly a command like: x/^.*\n/ would only select every second line. Fixes #774 | |||||
| 2020-01-23 | remove redundant layout option abbreviation | Karl Schultheisz | 1 | -1/+1 | |
| No need to explicitly specify "lay" as an abbreviation, since "layout" already makes it available via prefix logic. | |||||
| 2019-05-23 | Add layout option | Karl Schultheisz | 1 | -0/+6 | |
| This introduces a new `set` option for setting the layout to vertical or horizontal, which previously could not be done without creating a new window (via `split` or `vsplit`). Now, `set layout|lay h|v` will control this without creating a new window. | |||||
| 2018-05-30 | vis: add loadmethod option | Marc André Tanner | 1 | -0/+6 | |
| Valid values are `read`, `mmap` or `auto`. | |||||
| 2018-05-30 | sam: always apply | command to existing selections | Marc André Tanner | 1 | -1/+1 | |
| 2018-05-30 | sam: normalize selections after command execution | Marc André Tanner | 1 | -0/+3 | |
| As a trivial example if multiple selections exist running a command like :, should merge them. | |||||
| 2018-05-30 | sam: change nomencalture, use selection where appropriate | Marc André Tanner | 1 | -16/+16 | |
| 2018-05-16 | sam: keep selections after :> command | Marc André Tanner | 1 | -3/+0 | |
| Fix #700 | |||||
| 2018-04-15 | Update year numbers in copyright information | Marc André Tanner | 1 | -1/+1 | |
| 2018-02-19 | sam: fix g/^$/ | Marc André Tanner | 1 | -2/+7 | |
| With POSIX ERE the pattern ^$ matches strings ending with a new line because an empty match is reported after the trailing newline at the very end of the input. This is undesirable for use cases like x g/^$/ d which is supposed to delete all empty lines of a file. As a fix we disregard empty matches at the end of the given range. | |||||
| 2017-07-14 | vis-lua: make selection first class primitives in Lua API | Marc André Tanner | 1 | -3/+3 | |
| 2017-07-10 | vis: implement jump list in terms of marks | Marc André Tanner | 1 | -0/+1 | |
| 2017-07-07 | vis: use marks instead of registers to store selections | Marc André Tanner | 1 | -5/+10 | |
| The key binding remain the same, but the selections are now stored on a per-buffer basis. | |||||
| 2017-06-27 | Merge branch 'show-eof' of https://github.com/p-e-w/vis | Marc André Tanner | 1 | -0/+6 | |
| Conflicts: view.c view.h | |||||
| 2017-06-15 | sam: simplify print command implementation | Marc André Tanner | 1 | -16/+11 | |
| 2017-06-15 | vis: rename uses of Cursor to Selection | Marc André Tanner | 1 | -110/+110 | |
| 2017-06-15 | view: rename view_cursors | Marc André Tanner | 1 | -6/+6 | |
| 2017-06-15 | view: rename view_selection_anchored | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_count | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: rename view_cursors_next | Marc André Tanner | 1 | -4/+4 | |
| 2017-06-15 | view: rename view_cursors_selection_start | Marc André Tanner | 1 | -3/+3 | |
| 2017-06-15 | view: rename view_cursors_selection_clear | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_selection_get | Marc André Tanner | 1 | -6/+6 | |
| 2017-06-15 | view: rename view_cursors_primary_{get,set} | Marc André Tanner | 1 | -4/+4 | |
| 2017-06-15 | view: rename view_cursor_disposed | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | view: rename view_cursors_dispose | Marc André Tanner | 1 | -4/+4 | |
| 2017-06-15 | view: rename view_cursors_new | Marc André Tanner | 1 | -2/+2 | |
| 2017-06-15 | view: remove view_cursors_multiple | Marc André Tanner | 1 | -1/+1 | |
| 2017-06-15 | vis: promote selections to first class primitives | Marc André Tanner | 1 | -17/+14 | |
| This unifies cursors and selections. The cursor are now represendted as singleton selections. | |||||
| 2017-06-05 | sam: fix + address | Marc André Tanner | 1 | -1/+1 | |
| Previoulsy + would not advance to the next line when the cursor was on the first character of a line. This should fix the +- idiom, i.e. :+-x/foo/c/bar/ performs a substitution on the current line. | |||||
| 2017-06-04 | Add option to hide EOF marker | Philipp Emanuel Weidmann | 1 | -0/+6 | |
| 2017-05-15 | sam: use default address for file looping commands | Marc André Tanner | 1 | -2/+4 | |
| This sould fix a clang analyzer warning and make the code more robust. The problem could actually not occur in practice because the X and Y commands always have the internal cmd_select as intermediate node in the execution tree. In general the multiple file support will need more design work. Fix #551 | |||||
| 2017-04-14 | vis: make certain operations interruptible with <C-c> | Marc André Tanner | 1 | -4/+4 | |
| As currently implemented this will only work for operations which are individually fast, but repeated many times (e.g. `1000000itext<Escape>`). | |||||
| 2017-04-12 | sam: fix negative count specifiers from visual mode | Marc André Tanner | 1 | -2/+5 | |
| 2017-04-12 | sam: support %n count specifier matching every n-th selection | Marc André Tanner | 1 | -0/+15 | |
| 2017-04-12 | sam: add support for negative count specifier | Marc André Tanner | 1 | -10/+42 | |
| 2017-04-12 | sam: add support for count specifier to `g` and `y` commands | Marc André Tanner | 1 | -12/+55 | |
| 2017-04-12 | sam: distinguish between empty // and no regex | Marc André Tanner | 1 | -1/+4 | |
| 2017-04-12 | sam: reject command names containing digits or ending with a hyphen | Marc André Tanner | 1 | -1/+6 | |
| The current implementation will also reject consecutive hyphens. | |||||
| 2017-04-06 | sam: properly free transcript in error case | Marc André Tanner | 1 | -4/+19 | |
| 2017-04-02 | Fix Debian package lintian warnings | Marc André Tanner | 1 | -1/+1 | |
| https://mentors.debian.net/package/vis | |||||
| 2017-03-19 | Move :set horizon option implementaiton to lua | Marc André Tanner | 1 | -6/+0 | |
| 2017-03-19 | Move :set theme option implementation to lua | Marc André Tanner | 1 | -6/+0 | |
