summaryrefslogtreecommitdiff
path: root/vis.c
AgeCommit message (Collapse)Author
2015-01-06Rudimentary change list (accessible via g; and g,)Marc André Tanner
2015-01-06Change :open to create a new window if no argument is givenMarc André Tanner
Use it for the creation of a new window without changing the layout as split and vsplit do. Map it to CTRL+w n.
2015-01-06Add default settings for editor startupMarc André Tanner
2015-01-06Support per file type settingsMarc André Tanner
This adds yet another layer of indirection. exec_cmdline_command should take a const char pointer and not modify its argument.
2015-01-06Fix some compiler warningsMarc André Tanner
2015-01-04no need to allocate len+1 if we're not appending '\0'Matthias Braun
2015-01-04implement rudimentary autoindentMatthias Braun
2015-01-04Support relative line jumps :+nn / :-nnMarc André Tanner
2015-01-04Simplify jump to line :nnnMarc André Tanner
As a side effect this also allows to jump to marks via :'m
2015-01-04Fix openline command on the first lineMichal Bohuslávek
When on the first line, openline command wouldn't move the cursor to the newly created line above the current line.
2015-01-04Make :set option parsing more robustMarc André Tanner
Among other things boolean options can now be prefixed with "no". For example ":set nonu" disables line numbers etc. Based on a patch from Sebastian Götte.
2015-01-03Add the :x(it)? commandMatthias Braun
2015-01-03Make single character replacement repeatableMarc André Tanner
2015-01-02Make last insertion/replacement repeatable with '.'Marc André Tanner
2015-01-02Rip out insertion repeating infrastructureMarc André Tanner
2015-01-02Make getkey read one UTF-8 character at a timeMarc André Tanner
2015-01-01Add rudimentary support for jump list (CTRL+{O,I})Marc André Tanner
2015-01-01Rename mark related functionsMarc André Tanner
2014-12-23Fix compiler warningsMarc André Tanner
2014-12-23Simplify # and * commands by using inner text objectsMarc André Tanner
2014-12-23Distinct between inner and outer word text objectsMarc André Tanner
2014-12-23Optionally display line numbers alongside fileMarc André Tanner
Enable/disable with :set number [0|1]
2014-12-23Move kepress hook to record all keysMarc André Tanner
2014-12-18Macro supportMarc André Tanner
At some point this should be optimized further at the moment there is some 20 byte overhead for each entered key.
2014-12-18Support longer key bindingsMarc André Tanner
2014-11-01Improve usage as a filterMarc André Tanner
When used as in echo Hello World | vis | cat prevent intermediate writes to stdout, only save to stdout when also quiting the editor.
2014-10-27Also join lines if cursor is at beginning of a lineMarc André Tanner
2014-10-27Also join lines if cursor is on newline (after text)Marc André Tanner
2014-10-27Fix segfault when joining linesMarc André Tanner
2014-10-25Accept spaces between range and commandMarc André Tanner
2014-10-25Set correct default range for commandsMarc André Tanner
2014-10-25Support partial writesMarc André Tanner
2014-10-25Support partial savesMarc André Tanner
2014-10-25Change return type of text_saveMarc André Tanner
2014-10-25Fix mode switching bugsMarc André Tanner
2014-10-25Recognize some basic file rangesMarc André Tanner
2014-10-25Add Filerange argument to all commandsMarc André Tanner
2014-10-24Make command prompt available in visual modesMarc André Tanner
2014-10-24Add option to execute commands on startup via +{cmd}Marc André Tanner
The following should work: vis +10 vis +/pattern vis +?pattern vis +'set tabwidth 2'
2014-10-23Use pselect instead of selectMarc André Tanner
2014-10-23Move feature test macros to config.mkMarc André Tanner
2014-10-21Read text to edit from stdin if it isn't a terminalMarc André Tanner
This allows usage as a filter without specifying "-" as file name.
2014-10-19Only cast once in op_case_changeMarc André Tanner
2014-10-19Toggle case operatorStephen Paul Weber
In vim, :set tildeop to get this behaviour
2014-10-18Place cursor after inserted text when pasting a registerale rimoldi
2014-10-17Make editor usable as a filter: echo foo | vis - | catMarc André Tanner
The terminal output is by default redirected to stderr, making stdout available for communications purposes. If a file is "opened" from stdin (i.e. vis is given '-' as argument) and a subsequent write without a filename is performed as in ":wq" the output is written to stdout.
2014-10-17Make running flag volatileMarc André Tanner
2014-10-17Read stdin when given - as filenameMarc André Tanner
2014-10-17Factor out editor main loopMarc André Tanner
2014-09-30Make text objects available in visual modeMarc André Tanner