summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-17Introduce basic PHP syntax highlighting supportJörg Alberto
2015-01-16Print debug output to stdoutMarc André Tanner
Stderr is used for the editor output to make usage as a filter possible.
2015-01-16Avoid possible double close when savingMarc André Tanner
We want close(2) to happen before rename(2). At some point the save implementation will have to be overhauled.
2015-01-16Always close file descriptor after :read commandMarc André Tanner
2015-01-16Reorder if/else clause in order to avoid dead codeMarc André Tanner
2015-01-16In vim, "syntax" can be abbreviated as "syn".jvoisin
2015-01-15add C source and header file to dependsChristian Hesse
This fixes make to rebuild when files change. Signed-off-by: Christian Hesse <mail@eworm.de>
2015-01-15remove vis from .PHONYChristian Hesse
vis is a real file, so remove it from .PHONY in Makefile. This fixes make to not rebuild on every invocation. Signed-off-by: Christian Hesse <mail@eworm.de>
2015-01-15Pass $LDFLAGS after source filesMarc André Tanner
This should fix compilation with: LDFLAGS=-Wl,--as-needed make
2015-01-14Remove nano like frontend for nowMarc André Tanner
If time permits I still want to experiment with different editing paradigms and write a proper nano/sandy/sam frontend but at the moment it is just bitrotting and not very useful.
2015-01-14Simplify MakefileMarc André Tanner
Use $CC *.c -o vis to enable global link time optimization. This also fixes issues with parallel builds. config.h is no longer symlinked to config.def.h which allows local modifications.
2015-01-14Accept unique prefixes as :commandsMarc André Tanner
The proper way to do this would be to use a trie, however the ugly regexes do the trick for now.
2015-01-14Fix segfault when using arrow keys in promptMarc André Tanner
2015-01-13Make J also join lines spanning multiple screen linesMarc André Tanner
2015-01-13Change default line up/down movements to match vimMarc André Tanner
2015-01-13Cleanup nn| implementationMarc André Tanner
This command does not really do what it advertises because it operates on bytes not columns.
2015-01-13Add new logical linewise movementsMarc André Tanner
The column position is currently not correctly preserved when there are lines with multibyte characters involved spanning multiple screen lines. In general this might still be a bit fragile.
2015-01-13Rename window_line_* functionsMarc André Tanner
2015-01-12Change ledger syntax regex to work with BSD regexPhilip Linde
2015-01-11Print prettier status bar when given no file nameMarc André Tanner
2015-01-11More useful error message when opening non regular filesMarc André Tanner
2015-01-11Merge branch 'ledger-syntax' of https://github.com/clehner/visMarc André Tanner
2015-01-10Add syntax rules for Ledger journalsCharles Lehner
2015-01-09Add rudimentary markdown syntax supportjvoisin
The spec is here: http://daringfireball.net/projects/markdown/syntax Currently, it doesn't support Setext headers and hard-wrapped quotes.
2015-01-06Update README to reflect current stateMarc André Tanner
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-05define underscores to be part of a wordMatthias Braun
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-04Change window_cursor_getxy APIMarc André Tanner
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-04Added a .gitignoreSebastian Götte
2015-01-04Update :set option section in READMESebastian Götte
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-03Fix :quit regexMatthias Braun
2015-01-03Fix size_t specifiers in format stringsMatthias Braun
2015-01-03Add python syntax supportMatias Linares
2015-01-03Make single character replacement repeatableMarc André Tanner
2015-01-03Fix compilation on various *nix systemsMarc André Tanner
Unfortunately this breaks support for BSD make.
2015-01-02Make last insertion/replacement repeatable with '.'Marc André Tanner
2015-01-02Rip out insertion repeating infrastructureMarc André Tanner
2015-01-02Constify buffer APIMarc André Tanner
2015-01-02Make getkey read one UTF-8 character at a timeMarc André Tanner