1
0
mirror of https://github.com/helix-editor/helix synced 2024-11-10 10:34:45 +01:00
helix/CHANGELOG.md
2022-09-01 12:07:46 -05:00

79 KiB

22.08.1 (2022-09-01)

This is a patch release that fixes a panic caused by closing splits or buffers. (#3633)

22.08 (2022-08-31)

A big thank you to our contributors! This release had 87 contributors.

As usual, the following is a summary of each of the changes since the last release. For the full log, check out the git log.

Breaking changes:

  • Special keymap names for +, ; and % have been replaced with those literal characters (#2677, #3556)
  • A-Left and A-Right have become C-Left and C-Right for word-wise motion (#2500)
  • The catppuccin theme's name has been corrected from catpuccin (#2713)
  • catppuccin has been replaced by its variants, catppuccin_frappe, catppuccin_latte, catppuccin_macchiato, catppuccin_mocha (#3281)
  • C-n and C-p have been removed from the default insert mode keymap (#3340)
  • The extend_line command has been replaced with extend_line_below and a new extend_line command now exists (#3046)

Features:

  • Add an integration testing harness (#2359)
  • Indent guides (#1796, 906259c)
  • Cursorline (#2170, fde9e03)
  • Select all instances of the symbol under the cursor (<space>h) (#2738)
  • A picker for document and workspace LSP diagnostics (<space>g/<space>G) (#2013, #2984)
  • Allow styling the mode indicator per-mode (#2676)
  • Live preview for the theme picker (#1798)
  • Configurable statusline (#2434)
  • LSP SignatureHelp (#1755, a8b123f)
  • A picker for the jumplist (#3033)
  • Configurable external formatter binaries (#2942)
  • Bracketed paste support (#3233, 12ddd03)

Commands:

  • :insert-output and :append-output which insert/append output from a shell command (#2589)
  • The t textobject (]t/[t/mit/mat) for navigating tests (#2807)
  • C-Backspace and C-Delete for word-wise deletion in prompts and pickers (#2500)
  • A-Delete for forward word-wise deletion in insert mode (#2500)
  • C-t for toggling the preview pane in pickers (#3021)
  • extend_line now extends in the direction of the cursor (#3046)

Usability improvements and fixes:

  • Fix tree-sitter parser builds on illumos (#2602)
  • Remove empty stratch buffer from jumplists when removing (5ed6223)
  • Fix panic on undo after shell_append_output (#2625)
  • Sort LSP edits by start range (3d91c99)
  • Be more defensive about LSP URI conversions (6de6a3e, 378f438)
  • Ignore SendErrors when grammar builds fail (#2641)
  • Append set_line_ending to document history (#2649)
  • Use last prompt entry when empty (b14c258, #2870)
  • Do not add extra line breaks in markdown lists (#2689)
  • Disable dialyzer by default for ElixirLS (#2710)
  • Refactor textobject node capture (#2741)
  • Prevent re-selecting the same range with expand_selection (#2760)
  • Introduce keyword.storage highlight scope (#2731)
  • Handle symlinks more consistently (#2718)
  • Improve markdown list rendering (#2687)
  • Update auto-pairs and idle-timout settings when the config is reloaded (#2736)
  • Fix panic on closing last buffer (#2658)
  • Prevent modifying jumplist until jumping to a reference (#2670)
  • Ensure :quit and :quit! take no arguments (#2654)
  • Fix crash due to cycles when replaying macros (#2647)
  • Pass LSP FormattingOptions (#2635)
  • Prevent showing colors when the health-check is piped (#2836)
  • Use character indexing for mouse selection (#2839)
  • Display the highest severity diagnostic for a line in the gutter (#2835)
  • Default the ruler color to red background (#2669)
  • Make move_vertically aware of tabs and wide characters (#2620)
  • Enable shellwords for Windows (#2767)
  • Add history suggestions to global search (#2717)
  • Fix the scrollbar's length proportional to total menu items (#2860)
  • Reset terminal modifiers for diagnostic text (#2861, #2900)
  • Redetect indents and line-endings after a Language Server replaces the document (#2778)
  • Check selection's visible width when copying on mouse click (#2711)
  • Fix edge-case in tree-sitter expand_selection command (#2877)
  • Add a single-width left margin for the completion popup (#2728)
  • Right-align the scrollbar in the completion popup (#2754)
  • Fix recursive macro crash and empty macro lockout (#2902)
  • Fix backwards character deletion on other whitespaces (#2855)
  • Add search and space/backspace bindings to view modes (#2803)
  • Add --vsplit and --hsplit CLI arguments for opening in splits (#2773, #3073)
  • Sort themes, languages and files inputs by score and name (#2675)
  • Highlight entire rows in (#2939)
  • Fix backwards selection duplication widening bug (#2945, #3024)
  • Skip serializing Option type DAP fields (44f5963)
  • Fix required cwd field in DAP RunTerminalArguments type (85411be, #3240)
  • Add LSP workspace/applyEdit to client capabilities (#3012)
  • Respect count for repeating motion (#3057)
  • Respect count for selecting next/previous match (#3056)
  • Respect count for tree-sitter motions (#3058)
  • Make gutters padding optional (#2996)
  • Support pre-filling prompts (#2459, #3259)
  • Add statusline element to display file line-endings (#3113)
  • Keep jump and file history when using :split (#3031, #3160)
  • Make tree-sitter query ; inherits <language> feature imperative (#2470)
  • Indent with tabs by default (#3095)
  • Fix non-msvc grammar compilation on Windows (#3190)
  • Add spacer element to the statusline (#3165, 255c173)
  • Make gutters padding automatic (#3163)
  • Add code for LSP Diagnostic type (#3096)
  • Add position percentage to the statusline (#3168)
  • Add a configurable and themable statusline separator string (#3175)
  • Use OR of all selections when search_selection acts on multiple selections (#3138)
  • Add clipboard information to logs and the healthcheck (#3271)
  • Fix align selection behavior on tabs (#3276)
  • Fix terminal cursor shape reset (#3289)
  • Add an injection.include-unnamed-children predicate to injections queries (#3129)
  • Add a -c/--config CLI flag for specifying config file location (#2666)
  • Detect indent-style in :set-language command (#3330)
  • Fix non-deterministic highlighting (#3275)
  • Avoid setting the stdin handle when not necessary (#3248, #3379)
  • Fix indent guide styling (#3324)
  • Fix tab highlight when tab is partially visible (#3313)
  • Add completion for nested settings (#3183)
  • Advertise WorkspaceSymbolClientCapabilities LSP client capability (#3361)
  • Remove duplicate entries from the theme picker (#3439)
  • Shorted output for grammar fetching and building (#3396)
  • Add a tabpad option for visible tab padding whitespace characters (#3458)
  • Make DAP external terminal provider configurable (cb7615e)
  • Use health checkmark character with shorter width (#3505)
  • Reset document mode to normal on view focus loss (e4c9d40)
  • Render indented code-blocks in markdown (#3503)
  • Add WezTerm to DAP terminal provider defaults (#3588)
  • Derive Document language name from languages.toml name key (#3338)
  • Fix process spawning error handling (#3349)
  • Don't resolve links for :o completion (8a4fbf6)
  • Recalculate completion after pasting into prompt (e77b7d1)
  • Fix extra selections with regex anchors (#3598)
  • Move mode transition logic to handle_keymap_event (#2634)
  • Add documents to view history when using the jumplist (#3593)
  • Prevent panic when loading tree-sitter queries (fa1dc7e)
  • Discard LSP publishDiagnostic when LS is not initialized (#3403)
  • Refactor tree-sitter textobject motions as repeatable motions (#3264)
  • Avoid command execution hooks on closed docs (#3613)
  • Share restore_term code between panic and normal exits (#2612)
  • Show clipboard info in --health output (#2947)
  • Recalculate completion when going through prompt history (#3193)

Themes:

LSP:

New languages:

Updated languages and queries:

Packaging:

  • Add rust-analyzer to Nix flake devShell (#2739)
  • Add cachix information to the Nix flake (#2999)
  • Pass makeWrapperArgs to wrapProgram in the Nix flake (#3003)
  • Add a way to override which grammars are built by Nix (#3141)
  • Add a GitHub actions release for aarch64-macos (#3137)
  • Add shell auto-completions for Elvish (#3331)

22.05 (2022-05-28)

An even bigger shout out than usual to all the contributors - we had a whopping 110 contributors in this release! That's more than double the number of contributors as last release!

Check out some of the highlights in the news section.

As usual, the following is a summary of each of the changes since the last release. For the full log, check out the git log.

Breaking Changes:

  • Removed C-j, C-k bindings from file picker (#1792)
  • Replaced C-f with C-d and C-b with C-u bindings in file picker (#1792)
  • A-hjkl bindings have been moved to A-pion (#2205)
  • A-Left/A-Right have been moved to C-Left/C-Right (#2193)

Features:

  • The indentation mechanism has been reworked (#1562, #1908)
  • Configurable gutters (#1967)
  • Support for local language configuration (#1249)
  • Configurable themed rulers (#2060)
  • Render visible whitespace (e6b865e, #2322, #2331)

Commands:

  • Paragraph motion and textobject (]p, [p) (#1627, #1956, #1969, #1992, #2226)
  • :buffer-next, :buffer-previous (#1940)
  • :set-language to set the buffers language (#1866, #1996)
  • Command for picking files from the current working directory (Space-F) (#1600, #2308)
  • :write! which creates non-existent subdirectories (#1839)
  • Add m textobject that selects closest surrounding pair (de15d70, 76175db)
  • :pipe typable command for piping selections (#1972)
  • extend_line_above which extends to previous lines (#2117)
  • set_line_ending which replaces line endings (#1871)
  • :get-option for getting the current value of an option (:get) (#2231)
  • :run-shell-command which does not interact with selections (#1682)
  • :reflow which hard-wraps selected text (#2128)
  • commit_undo_checkpoint which adds an undo checkpoint (#2115)
  • :log-open which opens the log file (#2422)
  • transpose_view which transposes window splits (#2461)
  • View-swapping: swap_view_right, swap_view_left, swap_view_up, swap_view_down (#2445)
  • shrink_to_line_bounds which shrinks selections to line-bounds (#2450)

Usability improvements and fixes:

  • Handle broken pipes when piping hx --health through head (#1876)
  • Fix for copy_selection on newlines (ab7885e, 236c6b7)
  • Use win32yank clipboard provider on WSL2 (#1912)
  • Jump to the next number on the line before incrementing (#1778)
  • Fix start position of next search (#1904)
  • Use check and X marks for health check output (#1918)
  • Clear terminal after switching to alternate screens (#1944)
  • Fix toggle_comments command on multiple selections (#1882)
  • Apply ui.gutter theming to empty gutter spans (#2032)
  • Use checkboxes in hx --health output (#1947)
  • Pass unmapped keys through prompt regardless of modifiers (764adbd)
  • LSP: pull formatting options from config (c18de0e)
  • LSP: provide rootPath (84e799f)
  • LSP: implement workspace_folders (8adf0c1)
  • LSP: fix auto-import (#2088)
  • Send active diagnostic to LSP when requesting code actions (#2005)
  • Prevent panic when parsing malformed LSP PublishDiagnostic (#2160)
  • Restore document state on completion cancel (#2096)
  • Only merge top-level array when merging languages.toml (#2145, #2215)
  • Fix open on multiline selection (#2161)
  • Allow re-binding 0 if it is not used in a count (#2174)
  • Fix ctrl-u behavior in insert mode (#1957)
  • Check LSP rename capabilities before sending rename action (#2203)
  • Register the publish_diagnostics LSP capability (#2241)
  • Fix paste direction for typed paste commands (#2288)
  • Improve handling of buffer-close (#1397)
  • Extend the tutor file (#2133)
  • Treat slashes as word separators in prompts (#2315)
  • Auto-complete directory members (#1682)
  • Allow disabling format-on-save as a global editor setting (#2321)
  • Wrap command palette in overlay (#2378)
  • Prevent selections from collapsing when inserting newlines (#2414)
  • Allow configuration of LSP request timeout (#2405)
  • Use debug console on Windows for DAP terminal (#2294)
  • Exclude cursor when deleting with C-w in insert mode (#2431)
  • Prevent panics from LSP parsing errors (7ae6cad)
  • Prevent panics from LSP responses without requests (#2475)
  • Fix scroll rate for documentation popups (#2497)
  • Support inserting into prompts from registers (#2458)
  • Separate theme scopes for diagnostic types (#2437)
  • Use ui.menu instead of ui.statusline for command completion menu theming (82fb217)
  • Panic when reloading a shrunk file (#2506)
  • Add theme key for picker separator (#2523)

Themes:

  • Remove ui.text background from dark_plus (#1950)
  • Add boo_berry (#1962)
  • Update dark_plus markup colors (#1989)
  • Update dark_plus tag and ui.menu.selected colors (#2014)
  • Add dracula_at_night (#2008)
  • Improve dracula selection theming (#2077)
  • Remove dim attribute on onedark line-number gutter (#2155)
  • Add tokyonight (#2162)
  • Use border colors from the original dark_plus theme (#2186)
  • Add autumn (#2212, #2270, #2531)
  • Add tokyonight_storm (#2240)
  • Add pop-dark (#2189)
  • Fix base16_terminal theme using incorrect ansi-color (#2279)
  • Add onelight (#2287, #2323)
  • Add ui.virtual scopes to onedark theme (3626e38)
  • Add night_owl (#2330)
  • Use yellow foreground and red background for monokai_pro_spectrum (#2433)
  • Add snazzy (#2473)
  • Update dark_plus constructor color (8e8d4ba)
  • Add ui.menu to the default theme (e7e13dc)
  • Add ui.menu to any themes missing the key (9be810f)
  • Add catppuccin (#2546, 7160e74)

LSP:

New Languages:

Updated Languages and Queries:

Packaging:

  • Use builtins.fromTOML in Nix Flake on Nix 2.6+ (#1892)
  • Shell auto-completion files are now available (#2022)
  • Create an AppImage on release (#2089)

22.03 (2022-03-28)

A big shout out to all the contributors! We had 51 contributors in this release.

This release is particularly large and featureful. Check out some of the highlights in the news section.

As usual, the following is a summary of each of the changes since the last release. For the full log, check out the git log.

Breaking changes:

  • LSP config now lives under editor.lsp (#1868)
  • Expand-selection was moved from ]o to Alt-h (#1495)

Features:

  • Experimental Debug Adapter Protocol (DAP) support (#574)
  • Primary cursor shape may now be customized per mode (#1154)
  • Overhaul incremental highlights and enable combined injections (6728344..4080341)
  • Allow specifying file start position (#445, #1676)
  • Dynamic line numbers (#1522)
  • Show an info box with the contents of registers (#980)
  • Wrap-around behavior during search is now configurable (#1516)
  • Tree-sitter textobjects motions for classes, functions, and parameters (#1619, #1708, #1805)
  • Command palette: a picker for available commands (#1400)
  • LSP workspace/configuration and workspace/didChangeConfiguration support (#1684)
  • hx --health [LANG] command (#1669)
  • Refactor of the tree-sitter grammar system (#1659)
    • All submodules have been removed
    • New hx --grammar {fetch|build} flags for fetching and building tree-sitter grammars
    • A custom grammar selection may now be declared with the use-grammars key in languages.toml

Commands:

  • :cquit! - quit forcefully with a non-zero exit-code (#1414)
  • shrink_selection - shrink the selection to a child tree-sitter node (Alt-j, #1340)
  • :tree-sitter-subtree - show the tree-sitter subtree under the primary selection (#1453, #1524)
  • Add Alt-Backspace, Alt-<, Alt->, and Ctrl-j to insert mode (#1441)
  • select_next_sibling, select_prev_sibling - select next and previous tree-sitter nodes (Alt-l and Alt-h, #1495)
  • :buffer-close-all, :buffer-close-all!, :buffer-close-others, and :buffer-close-others! (#1677)
  • :vsplit-new and :hsplit-new - open vertical and horizontal splits with new scratch buffers (#1763)
  • :open-config to open the config file and :refresh-config to refresh config after changes (#1771, #1803)

Usability improvements and fixes:

  • Prevent :cquit from ignoring unsaved changes (#1414)
  • Scrolling view keeps selections (#1420)
  • Only use shellwords parsing on unix platforms (7767703)
  • Fix slash in search selector status message (#1449)
  • Use std::path::MAIN_SEPARATOR to determine completion (3e4f815)
  • Expand to current node with expand_selection when the node has no children (#1454)
  • Add vertical and horizontal splits to the buffer picker (#1502)
  • Use the correct language ID for JavaScript & TypeScript LSP (#1466)
  • Run format command for all buffers being written (#1444)
  • Fix panics during resizing (#1408)
  • Fix auto-pairs with CRLF (#1470)
  • Fix picker scrolling when the bottom is reached (#1567)
  • Use markup themes for the markdown component (#1363)
  • Automatically commit changes to history if not in insert mode (2a7ae96)
  • Render code-actions as a menu and add padding to popup (094a0aa)
  • Only render menu scrollbar if the menu doesn't fit (f10a06f, 36b975c)
  • Parse git revision instead of tag for version (d3221b0, #1674)
  • Fix incorrect last modified buffer (#1621)
  • Add PageUp, PageDown, Ctrl-u, Ctrl-d, Home, End bindings to the file picker (#1612)
  • Display buffer IDs in the buffer picker (#1134)
  • Allow multi-line prompt documentation (2af0432)
  • Ignore the .git directory from the file picker (#1604)
  • Allow separate styling for markup heading levels (#1618)
  • Automatically close popups (#1285)
  • Allow auto-pairs tokens to be configured (#1624)
  • Don't indent empty lines in indent command (#1653)
  • Ignore Enter keypress when a menu has no selection (#1704)
  • Show errors when surround deletions and replacements fail (#1709)
  • Show infobox hints for mi and ma (#1686)
  • Highlight matching text in file picker suggestions (#1635)
  • Allow capturing multiple nodes in textobject queries (#1611)
  • Make repeat operator work with completion edits (#1640)
  • Save to the jumplist when searching (#1718)
  • Fix bug with auto-replacement of components in compositor (#1711)
  • Use Kakoune logic for align_selection (#1675)
  • Fix follows for nixpkgs in flake.nix (#1729)
  • Performance improvements for the picker (78fba86)
  • Rename infobox theme scopes (#1741)
  • Fallback to broader scopes if a theme scope is not found (#1714)
  • Add arrow-keys bindings for tree-sitter sibling selection commands (#1724)
  • Fix a bug in LSP when creating a file in a folder that does not exist (#1775)
  • Use ^ and $ regex location assertions for search (#1793)
  • Fix register names in insert_register command (#1751)
  • Perform extend line for all selections (#1804)
  • Prevent panic when moving in an empty picker (#1786)
  • Fix line number calculations for non CR/CRLF line breaks (b4a282f, 0b96201)
  • Deploy documentation for master builds separately from release docs (#1783)

Themes:

  • Add everforest_light (#1412)
  • Add gruvbox_light (#1509)
  • Add modified background to dracula popup (#1434)
  • Markup support for monokai pro themes (#1553)
  • Markup support for dracula theme (#1554)
  • Add tag to gruvbox theme (#1555)
  • Markup support for remaining themes (#1525)
  • Serika light and dark (#1566)
  • Fix rose_pine and rose_pine_dawn popup background color (#1606)
  • Fix hover menu item text color in base16 themes (#1668)
  • Update markup heading styles for everforest (#1687)
  • Update markup heading styles for rose_pine themes (#1706)
  • Style bogster cursors (6a6a9ab)
  • Fix ui.selection in rose_pine themes (#1716)
  • Use distinct colors for cursor and matched pair in gruvbox (#1791)
  • Improve colors for ui.cursor.match capture in some themes (#1862)

LSP:

  • Add default language server for JavaScript (#1457)
  • Add pom.xml as maven root directory marker (#1496)
  • Haskell LSP (#1556)
  • C-sharp LSP support (#1788)
  • Clean up Julia LSP config (#1811)

New Languages:

Updated Languages and Queries:

  • Textobject and indent queries for c and cpp (#1293)
  • Fix null and boolean constant highlights for nix (#1428)
  • Capture markdown link text as markup.link.text (#1456)
  • Update and re-enable Haskell (#1417, #1520)
  • Update Go with generics support (ddbf036)
  • Use tree-sitter-css for SCSS files (#1507)
  • Update Zig (#1501)
  • Update PHP (#1521)
  • Expand language support for comment injections (#1527)
  • Use tree-sitter-bash for .zshrc and .bashrc (7d51042)
  • Use tree-sitter-bash for .bash_profile (#1571)
  • Use tree-sitter-bash for .zshenv and ZSH files (#1574)
  • IEx (#1576)
  • Textobject queries for PHP (#1601)
  • C-sharp highlight query improvements (#1795)
  • Git commit performance has been improved on large verbose commits (#1838)

Packaging:

  • The submodules system has been replaced with command-line flags for fetching and building tree-sitter grammars (#1659)
  • Flake outputs are pushed to Cachix on each push to master (#1721)
  • Update flake's nix-cargo-integration to depend on dream2nix (#1758)

0.6.0 (2022-01-04)

Happy new year and a big shout out to all the contributors! We had 55 contributors in this release.

Helix has popped up in DPorts and Fedora Linux via COPR (#1270)

As usual the following is a brief summary, refer to the git history for a full log:

Breaking changes:

  • fix: Normalize backtab into shift-tab

Features:

  • Macros (#1234)
  • Add reverse search functionality (#958)
  • Allow keys to be mapped to sequences of commands (#589)
  • Make it possible to keybind TypableCommands (#1169)
  • Detect workspace root using language markers (#1370)
  • Add WORD textobject (#991)
  • Add LSP rename_symbol (space-r) (#1011)
  • Added workspace_symbol_picker (#1041)
  • Detect filetype from shebang line (#1001)
  • Allow piping from stdin into a buffer on startup (#996)
  • Add auto pairs for same-char pairs (#1219)
  • Update settings at runtime (#798)
  • Enable thin LTO (cccc194)

Commands:

  • :wonly -- window only (#1057)
  • buffer-close (:bc, :bclose) (#1035)
  • Add :<line> and :goto <line> commands (#1128)
  • :sort command (#1288)
  • Add m textobject for pair under cursor (#961)
  • Implement "Goto next buffer / Goto previous buffer" commands (#950)
  • Implement "Goto last modification" command (#1067)
  • Add trim_selections command (#1092)
  • Add movement shortcut for history (#1088)
  • Add command to inc/dec number under cursor (#1027)
    • Add support for dates for increment/decrement
  • Align selections (&) (#1101)
  • Implement no-yank delete/change (#1099)
  • Implement black hole register (#1165)
  • gf as goto_file (gf) (#1102)
  • Add last modified file (gm) (#1093)
  • ensure_selections_forward (#1393)
  • Readline style insert mode (#1039)

Usability improvements and fixes:

  • Detect filetype on :write (#1141)
  • Add single and double quotes to matching pairs (#995)
  • Launch with defaults upon invalid config/theme (rather than panicking) (#982)
  • If switching away from an empty scratch buffer, remove it (#935)
  • Truncate the starts of file paths instead of the ends in picker (#951)
  • Truncate the start of file paths in the StatusLine (#1351)
  • Prevent picker from previewing binaries or large file (#939)
  • Inform when reaching undo/redo bounds (#981)
  • search_impl will only align cursor center when it isn't in view (#959)
  • Add <C-h>, <C-u>, <C-d>, Delete in prompt mode (#1034)
  • Restore screen position when aborting search (#1047)
  • Buffer picker: show is_modifier flag (#1020)
  • Add commit hash to version info, if present (#957)
  • Implement indent-aware delete (#1120)
  • Jump to end char of surrounding pair from any cursor pos (#1121)
  • File picker configuration (#988)
  • Fix surround cursor position calculation (#1183)
  • Accept count for goto_window (#1033)
  • Make kill_to_line_end behave like emacs (#1235)
  • Only use a single documentation popup (#1241)
  • ui: popup: Don't allow scrolling past the end of content (3307f44c)
  • Open files with spaces in filename, allow opening multiple files (#1231)
  • Allow paste commands to take a count (#1261)
  • Auto pairs selection (#1254)
  • Use a fuzzy matcher for commands (#1386)
  • Add <C-s> to pick word under doc cursor to prompt line & search completion (#831)
  • Fix :earlier/:later missing changeset update (#1069)
  • Support extend for multiple goto (#909)
  • Add arrow-key bindings for window switching (#933)
  • Implement key ordering for info box (#952)

LSP:

  • Implement MarkedString rendering (e128a8702)
  • Don't panic if init fails (d31bef7)
  • Configurable diagnostic severity (#1325)
  • Resolve completion item (#1315)
  • Code action command support (#1304)

Grammars:

New themes:

  • Solarized dark (#999)
  • Solarized light (#1010)
  • Spacebones light (#1131)
  • Monokai Pro (#1206)
  • Base16 Light and Terminal (#1078)
    • and a default 16 color theme, truecolor detection
  • Dracula (#1258)

0.5.0 (2021-10-28)

A big shout out to all the contributors! We had 46 contributors in this release.

Helix has popped up in Scoop, FreeBSD Ports and Gentu GURU!

The following is a quick rundown of the larger changes, there were many more (check the git history for more details).

Breaking changes:

  • A couple of keymaps moved to resolve a few conflicting keybinds.
    • Documentation popups were moved from K to space+k
    • K is now keep_selections which filters selections to only keeps ones matching the regex
    • keep_primary_selection moved from space+space to ,
    • Alt-, is now remove_primary_selection which keeps all selections except the primary one
    • Opening files in a split moved from C-h to C-s
  • Some configuration options moved from a [terminal] section to [editor]. Consult the documentation for more information.

Features:

  • LSP compatibility greatly improved for some implementations (Julia, Python, Typescript)
  • Autocompletion! Completion now triggers automatically after a set idle timeout
  • Completion documentation is now displayed next to the popup (#691)
  • Treesitter textobjects (select a function via mf, class via mc) (#728)
  • Global search across entire workspace space+/ (#651)
  • Relative line number support (#485)
  • Prompts now store a history (72cf86e)
  • :vsplit and :hsplit commands (#639)
  • C-w h/j/k/l can now be used to navigate between splits (#860)
  • C-j and C-k are now alternative keybindings to C-n and C-p in the UI (#876)
  • Shell commands (shell-pipe, pipe-to, shell-insert-output, shell-append-output, keep-pipe) (#547)
  • Searching now defaults to smart case search (case insensitive unless uppercase is used) (#761)
  • The preview pane was improved to highlight and center line ranges
  • The user languages.toml is now merged into defaults, no longer need to copy the entire file (dc57f8dc)
  • Show hidden files in completions (#648)
  • Grammar injections are now properly handled (dd0b15e)
  • v in select mode now switches back to normal mode (#660)
  • View mode can now be triggered as a "sticky" mode (#719)
  • f/t and object selection motions can now be repeated via Alt-. (#891)
  • Statusline now displays total selection count and diagnostics counts for both errors and warnings (#916)

New grammars:

  • Ledger (#572)
  • Protobuf (#614)
  • Zig (#631)
  • YAML (#667)
  • Lua (#665)
  • OCaml (#666)
  • Svelte (#733)
  • Vue (#787)
  • Tree-sitter queries (#845)
  • CMake (#888)
  • Elixir (we switched over to the official grammar) (6c0786e)
  • Language server definitions for Nix and Elixir (#725)
  • Python now uses pylsp instead of pyls
  • Python now supports indentation

New themes:

Fixes:

  • Fix crash on empty rust file (#592)
  • Exit select mode after toggle comment (#598)
  • Pin popups with no positioning to the initial position (12ea3888)
  • xsel copy should not freeze the editor (6dd7dc4)
  • * now only sets the search register and doesn't jump to the next occurrence (3426285)
  • Goto line start/end commands extend when in select mode (#739)
  • Fix documentation popups sometimes not getting fully highlighted (066367c)
  • Refactor apply_workspace_edit to remove assert (b02d872)
  • Wrap around the top of the picker menu when scrolling (c7d6e44)
  • Don't allow closing the last split if there's unsaved changes (3ff5b00)
  • Indentation used different default on hx vs hx new_file.txt (c913bad)

0.4.1 (2021-08-14)

A minor release that includes:

  • A fix for rendering glitches that would occur after editing with multiple selections.
  • CI fix for grammars not being cross-compiled for aarch64

0.4.0 (2021-08-13)

A big shout out to all the contributors! We had 28 contributors in this release.

Two months have passed, so this is another big release. A big thank you to all the contributors and package maintainers!

Helix has popped up in Arch, Manjaro, Nix, MacPorts and Parabola and Termux repositories!

A large scale refactor landed that allows us to support zero width (empty) selections in the future as well as resolves many bugs and edge cases.

  • Multi-key remapping! Key binds now support much more complex usecases (#454)
  • Pending keys are shown in the statusline (#515)
  • Object selection / textobjects. mi( to select text inside parentheses (#385)
  • Autoinfo: whichkey-like popups which show available sub-mode shortcuts (#316)
  • Added WORD movements (W/B/E) (#390)
  • Vertical selections (repeat selection above/below) (#462)
  • Selection rotation via ( and ) (66a90130)
  • Selection contents rotation via Alt-( and Alt-) (02cba2a)
  • Completion behavior improvements (f917b5a4, 627b899)
  • Fixed a language server crash (385a6b5a)
  • Case change commands (`, ~, <a-`>) (#441)
  • File pickers (including goto) now provide a preview! (#534)
  • Injection query support. Rust macro calls and embedded languages are now properly highlighted (#430)
  • Formatting is now asynchronous, and the async job infrastructure has been improved (#285)
  • Grammars are now compiled as separate shared libraries and loaded on-demand at runtime (#432)
  • Code action support (#478)
  • Mouse support (#509, #548)
  • Native Windows clipboard support (#373)
  • Themes can now use color palettes (#393)
  • :reload command (#374)
  • Ctrl-z to suspend (#464)
  • Language servers can now be configured with a custom JSON config (#460)
  • Comment toggling now uses a language specific comment token (#463)
  • Julia support (#413)
  • Java support (#448)
  • Prompts have an (in-memory) history (63e54e30)

0.3.0 (2021-06-27)

A big shout out to all the contributors! We had 24 contributors in this release.

Another big release.

Highlights:

  • Indentation is now automatically detected from file heuristics. (#245)
  • Support for other line endings (CRLF). Significantly improved Windows support. (#224)
  • Encodings other than UTF-8 are now supported! (#228)
  • Key bindings can now be configured via a config.toml file (#268)
  • Theme can now be configured and changed at runtime. (Please feel free to contribute more themes!) (#267)
  • System clipboard yank/paste is now supported! (#310)
  • Surround commands were implemented (#320)

Features:

  • File picker can now be repeatedly filtered (#232)
  • LSP progress is now received and rendered as a spinner (#234)
  • Current line number can now be themed (#260)
  • Arrow keys & home/end now work in insert mode (#305)
  • Cursors and selections can now be themed (#325)
  • Language servers are now gracefully shut down before hx exits (#287)
  • :show-directory/:change-directory (#335)
  • File picker is now sorted by access time (before filtering) (#336)
  • Code is being migrated from helix-term to helix-view (prerequisite for alternative frontends) (#366)
  • x and X merged (f41688d9)

Fixes:

  • The IME popup is now correctly positioned (#273)
  • A bunch of bugs regarding o/O behavior (#281)
  • ~ expansion now works in file completion (#284)
  • Several UI related overflow crashes (#318)
  • Fix a test failure occurring only on test --release (4f108ab1)
  • Prompts now support unicode input (#295)
  • Completion documentation no longer overlaps the popup (#322)
  • Fix a crash when trying to select ^ (9c534614)
  • Prompt completions are now paginated (39dc09e6)
  • Goto did not work on Windows (503ca112)

0.2.1

Includes a fix where wq/wqa could exit before file saving completed.

0.2.0

A big shout out to all the contributors! We had 18 contributors in this release.

Enough has changed to bump the version. We're skipping 0.1.x because previously the CLI would always report version as 0.1.0, and we'd like to distinguish it in bug reports..

  • The runtime/ directory is now properly detected on binary releases and on cargo run. ~/.config/helix/runtime can also be used.

  • Registers can now be selected via " (for example "ay)

  • Support for Nix files was added

  • Movement is now fully tested and matches kakoune implementation

  • A per-file LSP symbol picker was added to space+s

  • Selection can be replaced with yanked text via R

  • 1g now correctly goes to line 1

  • ctrl-i now correctly jumps backwards in history

  • A small memory leak was fixed, where we tried to reuse tree-sitter query cursors, but always allocated a new one

  • Auto-formatting is now only on for certain languages

  • The root directory is now provided in LSP initialization, fixing certain language servers (typescript)

  • LSP failing to start no longer panics

  • Elixir language queries were fixed

0.0.10

Keymaps:

  • Add mappings to jump to diagnostics

  • Add gt/gm/gb mappings to jump to top/middle/bottom of screen

  • ^ and $ are now gh, gl

  • The runtime/ can now optionally be embedded in the binary

  • Haskell syntax added

  • Window mode (ctrl-w) added

  • Show matching bracket (vim's matchbrackets)

  • Themes now support style modifiers

  • First user contributed theme

  • Create a document if it doesn't exist yet on save

  • Detect language on a new file on save

  • Panic fixes, lots of them