| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2015-10-22 | vis: pass editor instance to mode handling functions | Marc André Tanner | 1 | -15/+15 | |
| 2015-10-22 | vis: improve :help text, add separate status mode names | Marc André Tanner | 1 | -4/+15 | |
| 2015-10-22 | vis: correct typos in help text | David B. Lamkins | 1 | -18/+18 | |
| 2015-10-15 | vis: alias <C-h> to <Backspace> | Marc André Tanner | 1 | -0/+4 | |
| libtermkey-0.18 does no longer treat them as equal. | |||||
| 2015-10-14 | vis: fix name clash of keyboard actions | Marc André Tanner | 1 | -2/+2 | |
| 2015-10-14 | ui: refactor syntax style definitions | Marc André Tanner | 1 | -142/+158 | |
| Styles can now be specified as strings which will make them easier to specify from outside the editor. The following style attributes can be given in a comma separated list: bold italics underlined fore:color back:color where color is either a hex value of the form #aabbcc or one of the predefined colors: black red green yellow blue magenta cyan white | |||||
| 2015-10-11 | vis: properly ignore tab at command prompt | Marc André Tanner | 1 | -1/+7 | |
| Closes #77 | |||||
| 2015-10-05 | vis: add rudimentary :help command | Marc André Tanner | 1 | -0/+1 | |
| 2015-10-05 | vis: introduce keyboard actions | Marc André Tanner | 1 | -262/+1172 | |
| This adds another level of indirection by defining keyboard actions which will likely eventually be used by a :map command. | |||||
| 2015-10-05 | vis: remove now unused common_prefix mode attribute | Marc André Tanner | 1 | -1/+0 | |
| 2015-10-05 | vis: consolidate all text objects into one mode | Marc André Tanner | 1 | -13/+2 | |
| 2015-10-05 | vis: update mode diagram in config.def.h to be closer to reality | Marc André Tanner | 1 | -25/+17 | |
| 2015-10-05 | vis: convert mark handling to new input handling code | Marc André Tanner | 1 | -117/+5 | |
| 2015-10-05 | vis: convert insertion of register from insert mode | Marc André Tanner | 1 | -38/+2 | |
| 2015-10-05 | vis: convert register specification to new input handling code | Marc André Tanner | 1 | -39/+3 | |
| 2015-10-05 | vis: change key binding function prototypes | Marc André Tanner | 1 | -1/+1 | |
| The idea is to work more like a finite state machine. Every function gets an additional argument keys which holds the already read keyboard input. The return value of the functions should point to the first not consumed key. A return value of NULL indicates that more input is needed. The function will be called again from the editor core when more input is available. These changes are mostly mechanical and in many cases not optimal, they will be cleaned up in further commits. | |||||
| 2015-10-05 | vis: rework input handling using libtermkey | Marc André Tanner | 1 | -420/+414 | |
| Key bindings are now specified as symbolic key strings, this will eventually allow run time configurable key mappings. This introduces a bulid time dependency on libtermkey which can be found at: http://www.leonerd.org.uk/code/libtermkey/ | |||||
| 2015-09-06 | ui: differentiate between Ctrl-J and enter | Marc André Tanner | 1 | -2/+4 | |
| Thus enter no longer creates new cursors, use CTRL-j instead. Closes #69 | |||||
| 2015-08-15 | Improve shell highlighting | Dmitry Bogatov | 1 | -1/+7 | |
| * lower case variables names are now recognized * special variables ($?, $*, etc) are treated specially * non-sense, like ${foo is not treated as variable reference anymore | |||||
| 2015-08-06 | Add APL syntax highlighting. | David B. Lamkins | 1 | -0/+35 | |
| 2015-08-06 | vis: implement gv to restore last selection | Marc André Tanner | 1 | -0/+1 | |
| 2015-08-06 | vis: implement al and il text objects | Marc André Tanner | 1 | -0/+2 | |
| 2015-08-06 | vis: implement gp and gP add count support to put operations | Marc André Tanner | 1 | -2/+4 | |
| 2015-08-02 | vis: use I and A instead of CTRL-O for new cursors in visual mode | Marc André Tanner | 1 | -1/+2 | |
| I and A creates a new cursor at start/end of every selected line. | |||||
| 2015-08-02 | vis: add text objects `af` and `if` | Marc André Tanner | 1 | -0/+2 | |
| They try to match C-like function definitions. The inner variant only contains the function body. | |||||
| 2015-08-02 | vis: add motions [[, [], ][, ]] | Marc André Tanner | 1 | -0/+4 | |
| They behave not like in vim, but instead try to find the start/end of C-like function definitions. The first character stands for the direction [ for backwards, ] for forwards. The second character denotes the start [ or end ] respectively. | |||||
| 2015-08-01 | vis: support `ae` and `ie` text objects | Marc André Tanner | 1 | -0/+2 | |
| 2015-07-31 | vis: cleanup handling of charwise/linewise motions | Marc André Tanner | 1 | -2/+2 | |
| Also text objects in visual mode should now work better. | |||||
| 2015-07-28 | vis: use multiple cursor/selection infrastructure | Marc André Tanner | 1 | -0/+5 | |
| This commits introduces the following keybindings, in normal mode: CTRL-N select word the cursor is currently over, switch to visual mode CTRL-P remove least recently added cursor ESC if a selection is active, clear it. Otherwise dispose all but the primary cursor. In visual mode: CTRL-N create new cursor and select next word matching current selection CTRL-X clear (skip) current selection, but select next matching word CTRL-P remove least recently added cursor | |||||
| 2015-07-28 | vis: try to align cursors on the same column with CTRL-A | Marc André Tanner | 1 | -0/+1 | |
| 2015-07-28 | vis: CTRL+J and CTRL+K creates a new cursor on the line below/above | Marc André Tanner | 1 | -0/+2 | |
| 2015-07-28 | vis: ESC in normal mode clears all cursors | Marc André Tanner | 1 | -0/+1 | |
| 2015-07-28 | vis: add an operator to create new cursors | Marc André Tanner | 1 | -0/+1 | |
| The operator creates a new cursor at the start of every line covered by the given range. It is currently only available as CTRL+O in visual mode. | |||||
| 2015-07-26 | vis: add infrastructure to support multiple cursors/selections | Marc André Tanner | 1 | -7/+7 | |
| This cleans up the existing selection handling code and adds the necessary bits to eventually support multiple cursors/selections. The cursor position is kept track of using marks, which means retrieving the cursor position is no longer a constant time operation. Furthermore the terminal cursor is no longer used, instead the whole window is redrawn after every cursor movement. | |||||
| 2015-07-21 | ui: further separate curses related user interface code | Marc André Tanner | 1 | -12/+12 | |
| By now ui-curses.[hc] are the only files dealing directly with curses related functions. Integration of a proper mainloop is still pending. | |||||
| 2015-07-09 | ui: abstract curses related special keys away | Marc André Tanner | 1 | -6/+6 | |
| 2015-07-09 | ui: unify backspace handling | Marc André Tanner | 1 | -9/+4 | |
| 2015-07-03 | Add :show command to display special symbols for whitespaces | Marc André Tanner | 1 | -0/+19 | |
| Enable/disable by setting to 0/1 respectively: :set show spaces=0 tabs=0 newlines=1 | |||||
| 2015-06-30 | Cleanup insert/replace mode input handling | Marc André Tanner | 1 | -1/+1 | |
| View should only display the file content, but not modify it. | |||||
| 2015-06-27 | Make :earlier and :later accept arguments similar to vim | Marc André Tanner | 1 | -2/+2 | |
| Currently the following arguments are accepted: {count} Go to older text state {count} times. {N}s Go to older text state about {N} seconds before. {N}m Go to older text state about {N} minutes before. {N}h Go to older text state about {N} hours before. {N}d Go to older text state about {N} days before | |||||
| 2015-06-27 | Hook up :-commands & keybindings for earlier/later | Ryan Chipman | 1 | -0/+4 | |
| 2015-05-17 | Implement :r and :r! in terms of filter commands | Marc André Tanner | 1 | -1/+1 | |
| 2015-05-17 | Filter command :! | Marc André Tanner | 1 | -0/+1 | |
| If no range is given then stdin is passed through which allows interactive usage as in :!ls -1 *.c | slmenu For this to work the command needs to use stderr for its user interface and write any data for vis to stdout. | |||||
| 2015-04-22 | More renames, no functional changes | Marc André Tanner | 1 | -12/+12 | |
| Win -> View, window_* -> view_* | |||||
| 2015-04-22 | More renaming vis->win->view instead of vis->win->win | Marc André Tanner | 1 | -8/+8 | |
| 2015-04-22 | Better variable naming (VisText -> File) | Marc André Tanner | 1 | -4/+4 | |
| Therefore vis->win->text->data becomes vis->win->file->text. | |||||
| 2015-04-21 | Implement ';' and ',' | Marc André Tanner | 1 | -0/+2 | |
| This fixes #45 | |||||
| 2015-04-15 | Highlight null directive. | noname | 1 | -1/+1 | |
| 2015-04-12 | Add javascript syntax highlighting | John W. Trengrove | 1 | -0/+27 | |
| 2015-04-11 | Recognize g~ as case swap operator | Marc André Tanner | 1 | -0/+1 | |
