a vim terminal written in rust
v1.5.0 0aacc527 shiv

v1.5.0

### Added - a big photo shows the night sky while it loads, and phone photos stand the way they were taken - JPEG and GIF pictures open in kitty too, decoded by tinsel - pictures open at full resolution in terminals that can show them, and say so in those that can't - the start screen says tvim is a starlit vim for your terminal - Alt-j and Alt-k move the line, or the selected lines, down and up, while Alt stays Esc in insert mode - gsa, gsd and gsr surround as ys, ds and cs do, by the names LazyVim gives them - ys puts a pair around text, ds takes the pair around the cursor away, cs changes it, and S surrounds a selection - undo history is kept when a file is saved, so u undoes it after reopening, unless the file changed meanwhile - gq and gw rewrap lines to textwidth, keeping comment markers and bullets, and typing past it breaks the line - :sort sorts lines, backwards with !, ignoring case with i, by number with n, without repeats with u, and by a /pattern/ - ! and :{range}!cmd run lines through a shell command, and :r !cmd puts its output below - :m moves lines to below another, and :t or :co copies them there - :g runs a command on each line that matches a pattern, and :v on each that doesn't, as one change ### Fixed - a picture waits only for what's really drawn over it: the palette where it fits, and completion and hover - a picture git changes is shown again, as a text file is read again - a text file that starts the way a GIF does opens as text - :wq closes a picture, which has nothing to write - ex commands that would change a picture stop before they run, so :d leaves the registers alone - visual mode can't change a picture either, nor overwrite the registers trying - :normal over a range tells lines alike apart, running once on each and not on one joined or deleted ### Other - one check says a picture can't be changed, asked before a change starts - tinsel 1.2, which shows pictures - :g, filters, :sort, gq, Alt-j and surround leave a picture alone too - Merge branch 'main' into image-view - authors is borhara - error paths for :g, :sort, :m and filters, undo kept for every reopened file, the hint strip and Alt-j from the terminal

v1.4.1 1eb06bda shiv

v1.4.1

### Fixed - an update unpacks in a folder of its own that only you can get into, not one another user could have made first - :normal over a range runs once on each line it was given, as lines the keys put in or take out move them - marks keep to their lines as lines above them come and go, and undo brings back those deleted with theirs - :w to the open file by another name, like ./a.txt, writes and saves it - a file that's one empty line keeps it when written, rather than being emptied - Ctrl-w in the grep picker no longer crashes after a separator wider than a byte ### Other - *(finder)* the file and grep pickers edit their query with one helper - *(blame)* run git through git.rs's runner instead of a copy of it - *(languages)* an edit's shared ends come from diff::common_ends - *(motion)* find_open and find_close share one walk - editor.rs says which of its files holds what - *(jumps)* ctrl-o passes over a closed file that can't be read, saying why - *(syntax)* markdown rules, numbered and task lists, underscores and bare links - *(syntax)* go, java and lua keywords, decorators and yaml anchors - *(syntax)* every kind of file name finds its language - *(explorer)* paging through a long folder - *(explorer)* r reads the folder again, keeping the pick and letting go of folders gone - *(explorer)* the filter is edited as it's typed, and takes pastes - *(gitmenu)* the discard question and the commit message box are drawn - *(gitmenu)* the log and branches are drawn with their hints - *(update)* a release is downloaded, unpacked and swapped in, and a wrong or missing one leaves tvim be - *(update)* updating downloads from a releases link it's given, so tests can serve one - *(update)* the news says how each kind of install is updated - *(update)* a download is only trusted when it says it's the version asked for - *(update)* the new binary is swapped in whole, runnable, with nothing left beside it - visual mode moves to editor/visual.rs - insert mode and completion move to editor/insert.rs - dot repeat and macros move to editor/repeat.rs - operators, registers and puts move to editor/operators.rs - normal mode and its motions move to editor/normal.rs - the git menu, hunk resets and blame move to editor/git.rs - the grep and file pickers, explorer and zen move to editor/pickers.rs - drop the language types editor.rs no longer uses - talking to language servers moves to editor/lsp.rs - opening, switching and writing buffers move to editor/buffers.rs - flush_mapping goes with the rest of the mappings in editor/input.rs - key input and mappings move to editor/input.rs - the screen layout and scrolling move to editor/view.rs - the command line moves to editor/cmdline.rs - searching moves to editor/search.rs - the jump list and marks move to editor/jumps.rs - the editor's undo history moves to editor/undo.rs

v1.4.0 e26d9066 shiv

v1.4.0

### Added - the update's news has a still mark, and its versions read as v1.3.0 - the update says a new tvim is available, under more stars twinkling faster - the update twinkles like tvim's skyline the whole time it asks, and takes one key to answer - the update's stars come out one by one while its mark sparkles, then keep twinkling while it asks - updating draws a strip of stars, then download, unpack and install as steps and a card, and leaves alone installs it can't write to - tvim looks for a newer version once a day and offers it at launch, updating itself when installed by the script ### Other - install with curl -fsSL tvim.shiv.mov | sh - the release script can build and pack the binaries alone, with --dry-run

v1.3.0 b1f5493c shiv

v1.3.0

### Added - tvim on its own reopens what was open in this folder, or browses it - :rename and Space n rename the word under the cursor in every file - *(languages)* ask a server how to rename something - gr lists where the word under the cursor is used - *(grep)* list places handed over, narrowed by typing - *(languages)* ask a server where something is used - K shows what the language server says about the word under the cursor - *(languages)* ask a server to describe what's under the cursor - gd goes to the definition of what's under the cursor - *(languages)* ask a server where something is defined - :lsp says why a server isn't running - :lsp says how the server is doing, and :lsp restart starts afresh - show problems in the text, and what's wrong on the cursor's line - ]d and [d go to the next and previous problem - run language servers for the open files - *(languages)* say when a server won't start, or stops - *(languages)* hold the problems servers find - *(languages)* tell servers when a file is saved - *(languages)* send each edit as the one change that covers it - *(languages)* close files that are gone, renamed or given another server - *(languages)* open each file on its server, once the server is ready - *(languages)* start the language servers the open files need - *(lsp)* count columns the way the server does - choose language servers with :lsp, in the config file too - *(servers)* let a server be swapped for another command, or turned off - *(servers)* know which language server each kind of file gets - *(paths)* a path in full, whether or not it exists yet - *(lsp)* say why a server stopped, from what it wrote to stderr - *(lsp)* answer what the server asks of the editor - *(lsp)* initialize the server before sending it anything else - *(lsp)* shut the server down when done with it - *(lsp)* notice when the server has gone away - *(lsp)* hear replies and notices from the server - *(lsp)* start a server and send it requests and notifications - *(lsp)* turn paths into file URIs and back - *(lsp)* frame messages by their length in bytes - *(json)* read \u escapes, joining surrogate pairs - *(json)* parse strings and objects - *(json)* parse numbers, literals and arrays - *(json)* write values compactly - *(json)* build values from strings, numbers, options and lists - *(json)* a value type with lookups that chain through missing parts ### Fixed - wrapping hover text narrower than a wide character no longer hangs - Ctrl-o comes back from a place picked in another file, as gd and the picker now go to places one way - drop a rename when a file it edits changed while the server was working it out - a rename says which files it couldn't open, and counts only those it changed - gd and gr in a file not saved yet stay in it and list it as it is - rename in a file not saved yet edits it, not an empty copy of it - text a server puts at one place goes in the order it gave it - wrap hover text by the room it takes, so wide characters stay inside the box - offer :rename while typing a command - list ]d and [d in the hints after ] and [ - list references in order, this file's first - draw problems under the selection and search matches - keep problems in order after pulling them into shorter text - find problems' files however the server escapes their paths - highlight .cts files as typescript ### Other - the finder and search titles are checked against the folder the tests run in, which isn't tvim on ci - check on rustup's stable rust, as the old ci did, not nixpkgs' whose clippy runs ahead - cut releases from your mac with scripts/release.sh, binaries and homebrew formula included - run the checks on tangled's spindle instead of github actions - Merge branch 'open-folder-by-default' - gr lists files the server's answer already read from disk without reading them again - *(languages)* find open files by path once per answer, not for every position in it - join an open file's text for the list only when it's listed - work out each listed place's full path once, not on every comparison while sorting - don't count on the temp folder's path in the recent files test - describe gd, gr, K and renaming - show screenshots at the top of the readme - say how to install each language server - describe language servers - *(lsp)* share the fake server with the rest of the crate - split command lines into words in one place

v1.2.0 38d73a5f github-actions[bot]

chore: Release package tvim version 1.2.0

v1.1.0 3691c337 github-actions[bot]

chore: Release package tvim version 1.1.0

v1.0.0 b9d05607 github-actions[bot]

chore: Release package tvim version 1.0.0