| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2016-11-09 | vis: handle cancelation of `r` command | Marc André Tanner | 1 | -0/+3 | |
| Do not alter the text if <Escape> is pressed instead of a regular replacement character. | |||||
| 2016-11-09 | vis: improve `r` in normal and replace mode | Marc André Tanner | 1 | -3/+20 | |
| In normal mode `r<key>` was previously implemented as `R<key><Escape>`. However this does not work when the replacement key is `<Enter>` to insert a new line, because in replace mode new lines are not overwritten. The count is now also respected. Also properly support `r` in visual mode where before it was aliased to `c`. Fix #190 | |||||
| 2016-11-09 | vis: unify VIS_OP_{INSERT,REPLACE} implementation | Marc André Tanner | 1 | -3/+3 | |
| They both perform a motion before changing mode. | |||||
| 2016-10-12 | Only complete up to cursor position | Marc André Tanner | 1 | -2/+4 | |
| 2016-10-11 | File completion updates | Richard Burke | 1 | -4/+4 | |
| 2016-10-03 | vis: improve cursor positioning after scrolling | Marc André Tanner | 1 | -15/+23 | |
| Make cursor placement after scrolling (half) pages up/down less arbitrary. Close #390, fix #391 | |||||
| 2016-10-02 | vis: make <C-w> delete word instead of WORD | Marc André Tanner | 1 | -1/+1 | |
| Close #392 | |||||
| 2016-09-25 | vis: disable language map for replacement character of `r` command | Marc André Tanner | 1 | -1/+3 | |
| 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 | -4/+2 | |
| 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 | -12/+15 | |
| 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-07 | vis: use vis-open for gf implementation | Marc André Tanner | 1 | -27/+8 | |
| This has the effect that ~ and $HOME will be expanded by the shell. However it also opens files which do not yet exist. Fixes #346 | |||||
| 2016-05-22 | vis: refactor status line handling | Marc André Tanner | 1 | -0/+1 | |
| Make window status bar content configurable via Lua. | |||||
| 2016-05-22 | vis: move syntax highlighting to pure Lua code | Marc André Tanner | 1 | -0/+2 | |
| 2016-05-22 | vis: always start vis-menu with -b flag | Marc André Tanner | 1 | -4/+4 | |
| 2016-05-19 | vis: tweak completion commands | Marc André Tanner | 1 | -4/+4 | |
| Change tr command to split words, this won't properly work with Unicode but should at least avoid unwanted non-word symbols and be POSIX conformant. A possible alternative would be to use grep -o -E '\w+' while the -o option is not part of POSIX it seems to be mostly supported. However the \w regex syntax might not be supported. Force ls(1) output to be linewise and surpress the same prefix. Change sed invocation to only replace proper prefixes. | |||||
| 2016-05-19 | vis: fix behavior of complete-word on BSD | Michel Martens | 1 | -2/+2 | |
| 2016-05-18 | vis: add completion for file names in current directory via <C-x><C-f> | Silvan Jegen | 1 | -0/+22 | |
| 2016-05-18 | vis: add #define for VIS_MENU | Marc André Tanner | 1 | -1/+1 | |
| 2016-05-18 | vis: add completion for current file contents via <C-n> in insert mode | Marc André Tanner | 1 | -0/+56 | |
| Based on a patch by Silvan Jegen. Close #128, close #277 | |||||
| 2016-05-13 | vis: clean up key mapping implementation | Marc André Tanner | 1 | -1/+1 | |
| 2016-05-10 | Revert "vis: clean up interaction between vis and ui" | Marc André Tanner | 1 | -1/+0 | |
| This caused issues on OpenBSD where it crashed the terminal. Also on Mac OS X suspend via ^Z (Ctrl-Z) was missing a \r i.e. the shell prompt was not properly redrawn. While in principle user interfaces should not have to depend on libtermkey, in practice this won't be an issue unless we are adding a non-terminal based UI (which won't happen anytime soon). This reverts commit 8f92b98848f9366e78c7aa824615bade83971513. Close #311 | |||||
| 2016-05-08 | Fix autoindent when using O | Richard Burke | 1 | -1/+5 | |
| 2016-05-06 | Fix typo `cursor-sceenline-up` -> `cursor-screenline-up` | Josh Wainwright | 1 | -1/+1 | |
| 2016-05-04 | vis: clean up interaction between vis and ui | Marc André Tanner | 1 | -0/+1 | |
| A concrete user interface implementation should not have to depend on libtermkey. Therefore the vis core now uses an independent instance to parse keys. | |||||
| 2016-05-01 | vis: further cleanup input handling, introduce vis_keys_feed API | Marc André Tanner | 1 | -4/+4 | |
| 2016-05-01 | vis: cleanup input handling, improve macro replay | Marc André Tanner | 1 | -8/+4 | |
| 2016-04-27 | vis: do not advance cursor to next line when appending with `a` | Marc André Tanner | 1 | -1/+1 | |
| Close #295 | |||||
| 2016-04-20 | vis-lua: trigger start event after ui has been initialized | Marc André Tanner | 1 | -0/+1 | |
| 2016-04-19 | vis: add actions for prev/next character motions within the same line | Marc André Tanner | 1 | -0/+12 | |
| For now they are not mapped to any key by default, but can be enabled with: :map! normal l <cursor-line-char-next> :map! normal h <cursor-line-char-prev> | |||||
| 2016-04-12 | Add "[(" and "])" motions for jumping to a parenthese pair's start/end | Rob Pilling | 1 | -0/+12 | |
| 2016-04-12 | Add "[{" and "]}" motions to jump to a block's start/end | Rob Pilling | 1 | -0/+12 | |
| 2016-04-11 | main.c: correct name of function, cursor>window | Josh Wainwright | 1 | -1/+1 | |
| "open-file-under-cursor-new-cursor" should be "open-file-under-cursor-new-window" | |||||
| 2016-04-05 | vis: fix coverity scan warnings | Marc André Tanner | 1 | -1/+1 | |
| 2016-04-05 | vis: let <C-l> remove all but the count cursor column | Marc André Tanner | 1 | -0/+33 | |
| 2016-04-04 | vis: let <C-c> remove the count cursor column | Marc André Tanner | 1 | -0/+28 | |
| 2016-04-04 | vis: fix selection column rotation | Marc André Tanner | 1 | -5/+8 | |
| 2016-04-04 | vis: in visual mode allow navigation among cursors using <C-j> and <C-k> | Marc André Tanner | 1 | -2/+6 | |
| 2016-04-03 | sam: unify vi(m) and sam command line | Marc André Tanner | 1 | -7/+1 | |
| The following vi commands have been dropped: - saveas - xit - ! The following commands are only recognized in their short form: - e (edit) - q (quit) - s (substitute) - w (write) - r (read) | |||||
| 2016-04-03 | vis: in visual mode let \ trim selections | Marc André Tanner | 1 | -0/+31 | |
| 2016-03-30 | vis: implement selection rotation | Marc André Tanner | 1 | -0/+79 | |
| In visual mode + and - will rotate the selection count times to the right or left respectively. If there exists a line containing multiple selections then the rotation happens within each line. Otherwise if each line contains at most one selection the rotation is performed among all existing selections. | |||||
| 2016-03-28 | vis: Ctrl-{j,k} do not create duplicate cursors, instead advance primary one | Marc André Tanner | 1 | -1/+8 | |
| 2016-03-28 | vis: support right alignment of selections in visual mode with <S-Tab> | Marc André Tanner | 1 | -8/+25 | |
| 2016-03-28 | vis: support count for {Meta-Ctrl,Ctrl}-{j,k} | Marc André Tanner | 1 | -23/+26 | |
| Create count new cursors on the lines above/below. | |||||
| 2016-03-28 | vis: fix changing of primary cursor via Ctrl-{u,d} | Marc André Tanner | 1 | -1/+1 | |
| 2016-03-28 | vis: let Meta-Ctrl-{j,k} create new cursor | Marc André Tanner | 1 | -1/+28 | |
| on the line above/below the first/last existing cursor. | |||||
| 2016-03-28 | vis: align selections with <Tab> in visual mode | Marc André Tanner | 1 | -2/+5 | |
| 2016-03-28 | vis: support column based alignment | Marc André Tanner | 1 | -22/+27 | |
| That is when multiple cursors are on the same line, the first cursor on every line is aligned, then the second one and so on. | |||||
| 2016-03-28 | view: change cursor creation API to take an initial position | Marc André Tanner | 1 | -11/+11 | |
| 2016-03-15 | vis: add support for command register ": | Marc André Tanner | 1 | -0/+2 | |
| 2016-03-12 | vis: overhaul search related code, support "/ register | Marc André Tanner | 1 | -0/+2 | |
