summaryrefslogtreecommitdiff
path: root/usr.bin/vi
AgeCommit message (Expand)Author
2024-04-25Don't divide by zero (empty files)Job Snijders
2024-04-25add percentage to ruler after recent changes;Jason McIntyre
2024-04-24In ruler show the current line number as a percentage of the total linesJob Snijders
2024-02-15fix fd leaks in error pathsJonathan Gray
2024-02-14avoid use after free of frp and frp->tnameJonathan Gray
2024-02-12Add showfilename set optionJob Snijders
2023-09-07Treat consecutive paragraph indicators as different paragraphsTobias Heider
2023-06-23Fix a bug in ex's 's' command with the 'c' flag when 'number' is off.Todd C. Miller
2023-01-29Fix ^^D and 0^D description; pointed out by Tomas Rippl; ok jmc@Otto Moerbeek
2022-12-26spelling fixes; from paul tagliamonteJason McIntyre
2022-12-10ex_range: fix handling of escaped backslashes.Todd C. Miller
2022-04-22escape the word "An" in an Rs/Re block, since it can beJason McIntyre
2022-04-22Check tkp->output != NULL before taking strlen for both command mappingsTheo Buehler
2022-04-22vi: apply expandtab to the output of a ! commandTodd C. Miller
2022-04-21v_event_get: check qp->output for NULL before passing to e_memcmp().Todd C. Miller
2022-03-31man pages: add missing commas between subordinate and main clausesChristian Weisgerber
2022-02-20Fix vi recovery mode.Theo Buehler
2021-10-25vi(1): fix use after free with unsaved bufferDave Voutila
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-09-02Make all signal handler functions async-signal-safeIngo Schwarze
2021-09-01As a first step towards safe signal handling, improve the h_int()Ingo Schwarze
2021-04-13Require that the argument to the window option be non-zero.Todd C. Miller
2021-04-13Ignore expandtab setting when in command mode.Todd C. Miller
2021-03-08Add some references, most of these were removed when we stopped buildingJonathan Gray
2021-01-26satisfy -fno-common by repairing one enum declTheo de Raadt
2020-05-24Correct one statement about how the 'm' command works, talk lessIngo Schwarze
2020-04-30Add an expandtab option, similar to what vim supports.Todd C. Miller
2019-10-04better link "set" and "SET OPTIONS";Jason McIntyre
2019-07-22In secure mode (-S), skip sending mail when executing the :pre[serve]Ingo Schwarze
2019-05-21Also apply stricter pledge when secure mode is set via rc file or command.Martijn van Duren
2019-01-24Fix a crash on long lines when switching to another file byTodd C. Miller
2018-09-17Use the strict pragma for better warnings.Todd C. Miller
2018-07-13Remove cscope leftover and a stray comma.Anthony J. Bentley
2018-07-13Unused variable.Kenneth R Westerback
2018-07-11Remove an old and false comment. REALLOC now free(3)s the code if reallocMartijn van Duren
2018-02-12Simplify documentation of split-screen mode, avoiding abuse of []Ingo Schwarze
2018-02-03The recover script should have the same sanity checks as recover.c.Todd C. Miller
2017-12-14Enable the awk scripts to generate ex_def.h and options_def.h.Martijn van Duren
2017-11-26Fix segfault which could be triggered by deleting a backwards sentence ifRicardo Mestre
2017-11-10When tracing is compiled in make sure it flushes its content to disk asMartijn van Duren
2017-11-10Fix a use after free when sending SIGHUP or SIGTERM to vi when in editingMartijn van Duren
2017-11-10Add rcv_openat() function that does the open, makes sure it is aTodd C. Miller
2017-11-10Avoid using system(3) when running "sendmail -t". We already haveTodd C. Miller
2017-08-22Do not treat comma as part of the command modifier.anton
2017-07-31Silence some warnings generated by clang.Martijn van Duren
2017-07-20Replace usage of strtol() with strtonum().anton
2017-07-05avoid double space caused by end-of-sentence detection; requested by jmc@Ingo Schwarze
2017-07-05nits about trailing punctuation found with mandoc -TlintIngo Schwarze
2017-07-03markup fixes;Jason McIntyre
2017-07-03Remove settings that were unimplemented for 20 years; update STANDARDS.Anthony J. Bentley