| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-02-12 | Improve large file support | Marc André Tanner | 4 | -8/+31 | |
| Disable absolute line numbers for large files (currently anything bigger than 32MiB). This speeds up moving around with for example nn% since no new lines need to be calculated. Of course movements like :nn will be unaffected. The optimizations can be disabled by explicitly enabling absolute line numbers as in :set number | |||||
| 2016-02-11 | vis: try to make * and # motions work on more systems | Marc André Tanner | 1 | -2/+7 | |
| The used regular expression \<%s\> where %s refers to the search term/word under cursor is not POSIX compliant but happens to work on both musl and glibc. First try the alternate syntax [[:<:]]%s[[:>:]] which works on Mac OS X. The reason it is done in this order is that musl/glibc will reject it as invalid pattern when compiling while the Mac OS X libc will accept \<%s\> but not match anything. Based on a patch by Erlend Fagerheim. | |||||
| 2016-02-11 | vis: implement gn and gN text objects | Marc André Tanner | 6 | -0/+51 | |
| The behaviour when no match is found is not yet optimal. | |||||
| 2016-02-11 | vis: add support for different kind of text objects | Marc André Tanner | 3 | -33/+42 | |
| Up until now text objects would only ever grow/expand if applied multiple times. The new SPLIT type allows text objects which cover a completely different range when applied with a count. | |||||
| 2016-02-10 | vis: tweak <F1> help text list all available key actions | Marc André Tanner | 1 | -3/+12 | |
| 2016-02-10 | vis: simplify modes implementation | Marc André Tanner | 4 | -10/+4 | |
| Make replace mode a child of insert mode and visual line a child of visual mode. This means any key binding for the former is automatically available in the latter. Also keys can not be unmapped solely from the child modes. | |||||
| 2016-02-10 | vis: implement yank register "0 | Marc André Tanner | 3 | -0/+5 | |
| 2016-02-10 | vis: implement gf and <C-w>gf to open filename under cursor | Marc André Tanner | 2 | -0/+57 | |
| Based on a patch by Silvan Jegen. | |||||
| 2016-02-07 | vis: export vis_window_closable | Marc André Tanner | 3 | -8/+15 | |
| 2016-02-07 | vis: mark output of pipe command as saved | Marc André Tanner | 1 | -0/+3 | |
| 2016-02-07 | text-object: introduce text_object_filename | Marc André Tanner | 2 | -0/+16 | |
| 2016-02-07 | vis: implement number increment <C-a> and decrement <C-x> functionality | Marc André Tanner | 1 | -0/+59 | |
| The default key bindings are not changed for now, because <C-a> conflicts with multiple cursor alignment. | |||||
| 2016-02-07 | text-object: introduce text_object_number | Marc André Tanner | 2 | -0/+27 | |
| 2016-02-03 | text-object: add utility function for abitrarily delimited text objects | Marc André Tanner | 2 | -0/+15 | |
| 2016-02-03 | text-object: hide ugly casts for isboundary behind a #define | Marc André Tanner | 1 | -29/+29 | |
| 2016-02-03 | text-object: hide ugly casts for isspace behind a #define | Marc André Tanner | 1 | -4/+5 | |
| 2016-02-03 | text-motion: hide ugly casts for isboundary behind a #define | Marc André Tanner | 2 | -20/+21 | |
| 2016-02-03 | text-motion: hide ugly casts for isspace behind a #define | Marc André Tanner | 1 | -17/+19 | |
| 2016-02-03 | text-object: merge word/WORD implementations | Marc André Tanner | 1 | -89/+37 | |
| 2016-02-03 | text-motion: export custom word motion functions | Marc André Tanner | 2 | -4/+11 | |
| 2016-02-03 | text-object: fix bugs in outer word `aw` implementation | Marc André Tanner | 1 | -2/+2 | |
| 2016-02-03 | fix {, }, (, ) movements | Markus Teich | 1 | -70/+44 | |
| - split the functions, so the algorithms are more clear - paragraph movements work backwards - paragraph movements work consistently with \r\n line breaks always placing the cursor on the first character of the first empty line before/after the paragraph - sentence movements now work better at BOF/EOF - save a few lines of code | |||||
| 2016-02-01 | Change vis-{copy,paste} to use X clipboard xsel -b | Marc André Tanner | 2 | -2/+2 | |
| 2016-02-01 | Improve cursor position after :substitute command | Marc André Tanner | 1 | -5/+5 | |
| 2016-01-31 | Rename stderr field to err | Markus Teich | 1 | -10/+10 | |
| The name `stderr` was confused by the compiler with the following defines: $ grep -r "define stderr" ./dependency/install/usr/include/stdio.h:#define stderr (stderr) ./dependency/sources/musl-1.1.12/include/stdio.h:#define stderr (stderr) | |||||
| 2016-01-30 | Implement "A - "Z registers | Marc André Tanner | 5 | -2/+20 | |
| 2016-01-30 | Implement system clipboard registers "* and "+ | Marc André Tanner | 12 | -11/+104 | |
| Both registers are currently treated identically. The actual system integration is performed by two shell scripts vis-copy and vis-paste. | |||||
| 2016-01-30 | Implement blackhole register "_ | Marc André Tanner | 5 | -10/+41 | |
| 2016-01-30 | Cleanup register implementation | Marc André Tanner | 7 | -21/+29 | |
| 2016-01-30 | Improve Lua error reporting | Marc André Tanner | 7 | -10/+70 | |
| Display Lua errors in a dedicated window/file. A typo or missing dependency (e.g. lpeg) in visrc.lua will no longer silently fail without any indication. The Lua integration in view.h is not yet converted. | |||||
| 2016-01-29 | vis: implement new pipe/write out command :| or :w ! | Marc André Tanner | 1 | -1/+52 | |
| 2016-01-29 | vis: factor out filter command implementation | Marc André Tanner | 2 | -50/+97 | |
| 2016-01-28 | vis: factor out common code to create internal file | Marc André Tanner | 1 | -6/+11 | |
| 2016-01-28 | lexer: snyc with upstream scintillua 3.6.3-1 | Marc André Tanner | 6 | -8/+292 | |
| 2016-01-28 | vis: implement nn% | Marc André Tanner | 4 | -6/+25 | |
| Moves to the given percentage of the file in bytes (not lines). This is useful when dealing with huge files because it is a constant time operation. Performance could still be improved by adapting the display code not to rely on line numbers at all. | |||||
| 2016-01-28 | vis: clean up count handling | Marc André Tanner | 4 | -23/+32 | |
| There are cases where zero can also be a legitimate count. | |||||
| 2016-01-27 | text-motion: change text_bracket_match API | Marc André Tanner | 4 | -7/+7 | |
| 2016-01-27 | vis: let % move to next special char if not already there | Marc André Tanner | 1 | -1/+22 | |
| 2016-01-27 | vis: apply insert register <C-r> to all cursors | Marc André Tanner | 1 | -5/+2 | |
| Note that cursors currently have only one default register. | |||||
| 2016-01-27 | vis: remove unused struct Mode member 'is_user' | Marc André Tanner | 2 | -8/+1 | |
| 2016-01-20 | vis: make <End> in insert/replace mode move to the end of line | Marc André Tanner | 2 | -1/+8 | |
| The behaviour of <End> vs $ in various modes may still be inconsistent, but at least it can now be configured via key bindings. | |||||
| 2016-01-20 | vis: further improve selection restore code | Marc André Tanner | 1 | -0/+6 | |
| This is still not 100% correct for all possible cases, but should work for those currently used by vis e.g. the shift left operator. | |||||
| 2016-01-20 | Fix to/till movements | Markus Teich | 2 | -7/+12 | |
| Some corner cases allowed to move between lines with the to/till movements. The change in find_prev serves two purposes. When searching for a string which the cursor is already above the match, this match is returned (pos += len). Secondly there was a failure when searching for strings with len == 1 which lead to `matched == 0` which was always true, even if the string was not found, therefore leading to a wrong return value. | |||||
| 2016-01-19 | Add usage example for file open dialog to README | Silvan Jegen | 1 | -2/+10 | |
| 2016-01-19 | vis: fix # and * motions to only match words | Marc André Tanner | 1 | -9/+12 | |
| Word matching is currently implemented by using the \< and \> anchors of the regex(3) library part of libc. Another option would have been to use the text_object_word_find_{next,prev} functions from text-objects.c. The used search term is currently not added to the search history. Based on a patch by Markus Teich. | |||||
| 2016-01-19 | vis: switch to normal mode if a :-command was successful in visual mode | Marc André Tanner | 1 | -2/+8 | |
| 2016-01-19 | vis: fix default command prompt in visual mode | Marc André Tanner | 1 | -1/+1 | |
| 2016-01-19 | vis: improve :-command argument tokenizing | Marc André Tanner | 1 | -3/+11 | |
| Should now handle trailing white spaces. | |||||
| 2016-01-19 | vis: keep selection in visual mode after shift operators | Marc André Tanner | 1 | -0/+2 | |
| 2016-01-19 | vis: improve selection restore `gv` | Marc André Tanner | 2 | -2/+19 | |
