feat(userland): vim 9.1 port - #146
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Note
Medium Risk
Large vendored editor plus terminal parser/keymap changes in stlxterm affect every PTY session, though the edits are targeted at escape handling and input encoding rather than core shell I/O.
Overview
Adds Vim 9.1 (
FEAT_TINY) to userland: vendored upstream sources, Stelluxconfig.h/pathdef.c,stellux_stubs.c, static link against musl/lstlx, andvimin the apps build. Ships/etc/vim/vimrcwithnocompatibleand sensiblebackspaceso Vim is usable without a user config.stlxterm is updated so Vim (and similar TUI apps) behave correctly: Backspace sends
\binstead of DEL; DECCKM (?1h/?1l) toggles application vs normal arrow-key encodings; the escape parser consumes OSC sequences and ignores CSI variants with unsupported prefixes/intermediates instead of leaking them to the screen.Reviewed by Cursor Bugbot for commit 2c03b31. Bugbot is set up for automated code reviews on this repo. Configure here.