summaryrefslogtreecommitdiff
path: root/src/autocmd.c
AgeCommit message (Collapse)Author
2018-03-28Update license year.Daniel Carl
2017-10-01Reintroduce autocmd and augroups. Fix #356Yoann Blein
2016-03-30Startup webkit2 branch from the scratch.Daniel Carl
2015-01-14Don't write autocmd to command history.Daniel Carl
2015-01-01Change year in license block.Daniel Carl
2014-12-08Don't save mapped commands in history (#130).Daniel Carl
If a map causes vimb to run various ex commands or too do a search it's irritating when these resolved commands are written into history. So a command is only be written to history, if it's built from typed chars. At the time the whole history recording is toggled on and off, which is not what vim does. Maybe it would be better to allow fine gained control which types of history and also registers are enabled or not. Now also the command triggered from remote are recorded into history. This makes sense, because the remote is assumed as normal user input.
2014-10-16Fixed segfault on :autocmd without group (#115).Daniel Carl
2014-09-22Removed unused util_wildmatch function.Daniel Carl
This was only used to test the wildmatching, but the autocmd allow always to match against list of patterns.
2014-09-08Added completion for :autocmd and :augroup (#100).Daniel Carl
2014-09-07Change autocmd_run function signature.Daniel Carl
This leads to easier read code, because we don't need to use NULL as first function parameter.
2014-09-07Added autocmd events for downloads (#100).Daniel Carl
2014-09-07Fixed possible use of uninitialized variable.Daniel Carl
2014-09-07Shortened the autocmd event names (#100).Daniel Carl
This makes the config easier to maintain.
2014-09-07Allow to match multiple patterns (#100).Daniel Carl
Change the matching functions to not end at the NUL of the pattern. In stead we give a pattern length parameter. This allows to process multiple patterns without the need to put NUL-bytes into it or to allocate memory for the parts to match.
2014-09-05Store the used autocmd event bits (#100).Daniel Carl
The bits of the used autocmd events are now stored in a variable to early break out of the autocmd, if there is no autocmd defined for a particular event.
2014-09-04Allow to remove augroup (#100).Daniel Carl
2014-09-04Allow multiple autocmd patterns (#100).Daniel Carl
2014-09-01Don't put autocmd commands in history.Daniel Carl
2014-09-01Added utility function for wildcard matching.Daniel Carl
2014-08-31Added basic logic for :autocmd.Daniel Carl