summaryrefslogtreecommitdiff
path: root/src/main/main.c
AgeCommit message (Collapse)Author
2024-05-06Fix slow buffer pasteAlbert Cervin
Was caused by updating all buffer hooks on every char insert. Particularily, the syntax update takes a little bit too long to call on every char. Now the keyboard parsing routine compresses all consecutive self-inserting chars into one "key press". Also fix some small issues with timers and update them with a min and max.
2024-05-06OpenBSD port workAlbert Cervin
2024-04-09Prepare 0.1.0Albert Cervin
Clarify a few things in the README.md and add a version macro that can be used with `-V/--version`.
2024-04-03Add completion to executeAlbert Cervin
Completes on the command, not on following arguments if written directly at the prompt.
2024-03-26Implement kill-buffer commandAlbert Cervin
Can be killed with the command `kill-buffer`, the shortcut `C-x k` or from the buffer menu.
2024-03-24Improve and simplify movement logicAlbert Cervin
It was very complicated and tried to handle cases that were specific to certain movement with a too general approach.
2024-03-22Add a sigsegv handlerAlbert Cervin
To try and reset the terminal to something useful.
2024-03-18More work on languages/syntaxAlbert Cervin
Implement another predicate and add javascript.
2024-03-07Implement timers properlyAlbert Cervin
The timers shown with `M-x timers` are now actual timings.
2024-03-05Make syntax path a proper search pathAlbert Cervin
Can be set with the $TREESITTER_GRAMMARS variable, separated by ':'
2024-02-01Add git commit syntaxAlbert Cervin
2024-01-31Fix syntax predicate creationAlbert Cervin
It is now created when parsing the queries. Also, make completion popup directly.
2024-01-30Syntax highlight is a goAlbert Cervin
2024-01-25Restore lazy row additionAlbert Cervin
2024-01-15Completion reworkAlbert Cervin
- Add support for building with clang Also fix some annoying bugs: - Visual column was wrong when using tabs - Add shift-tab for inserting an actual tab - Fix minibuffer sometimes having dot above it
2023-10-19big buffer/buffer_view reworkAlbert Cervin
A buffer is only the text and the corresponding operation. A buffer view holds information about scroll, dot and mark positions. One way to think about it is that a buffer is stateless whereas a buffer view is stateful.
2023-05-24TOML settings parsingAlbert Cervin
Currently a very simplistic parser that do not support all TOML datatypes. Supported are: - Tables - Strings (incl multiline) - Integers - Inline Tables - Booleans - Comments
2023-05-11Fix write to file when no changesAlbert Cervin
A change of which file to write to was not considered a "change", thus not actually writing the file to disk since it was already "saved".
2023-05-10Implement word deletionAlbert Cervin
M-d for forward, M-D for backward
2023-05-09Finish buflist implementationAlbert Cervin
Also fix tests and man page install.
2023-05-08Implement file reloadingAlbert Cervin
When for examplue using formatters or doing vc updates, it is useful if the file is reloaded from disk.
2023-05-01Implement window handlingAlbert Cervin
Also implement searching. fix undo boundaries when it checked for other save point, it used && instead of == which caused it to overwrite other types. Fix bytes vs chars bug in text_get_region