aboutsummaryrefslogtreecommitdiff
path: root/helix-term
Commit message (Collapse)AuthorAge
...
| * | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-17
| |\ \ \ \ \
| * | | | | | Update surround commands to work with gap indexing.Nathan Vegdahl2021-07-08
| | | | | | |
| * | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-06
| |\ \ \ \ \ \
| * | | | | | | Make horizontal selection movement work properly.Nathan Vegdahl2021-07-02
| | | | | | | |
| * | | | | | | Allow last line in file to lack a line break character.Nathan Vegdahl2021-07-02
| | | | | | | |
| * | | | | | | Merge branch 'master' into great_line_ending_and_cursor_range_cleanupNathan Vegdahl2021-07-02
| |\ \ \ \ \ \ \
| * | | | | | | | Ensure a minimum selection width on commands that need it.Nathan Vegdahl2021-07-01
| | | | | | | | |
| * | | | | | | | Make `Selection`'s normalize and transform methods self-consuming only.Nathan Vegdahl2021-07-01
| | | | | | | | |
| * | | | | | | | Clean up `Selection` to not use so many allocations.Nathan Vegdahl2021-07-01
| | | | | | | | |
| * | | | | | | | Add `Range` methods for various kinds of validation.Nathan Vegdahl2021-07-01
| | | | | | | | |
* | | | | | | | | Refactor case where key event is solely a characterGokul Soumya2021-07-29
| |_|_|_|_|_|_|/ |/| | | | | | |
* | | | | | | | Fix goto line numberGokul Soumya2021-07-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Regression from #454. Go to line 10 with `10gg` or `10G`.
* | | | | | | | Show pending keys in status line (#515)Gokul Soumya2021-07-28
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * Show pending keys and counts in status line * Refactor pending key display
* | | | | | | Allow multi key remappings in config file (#454)Gokul Soumya2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Use tree like structure to store keymaps * Allow multi key keymaps in config file * Allow multi key keymaps in insert mode * Make keymap state self contained * Add keymap! macro for ergonomic declaration * Add descriptions for editor commands * Allow keymap! to take multiple keys * Restore infobox display * Fix keymap merging and add infobox titles * Fix and add tests for keymaps * Clean up comments and apply suggestions * Allow trailing commas in keymap! * Remove mode suffixes from keymaps * Preserve order of keys when showing infobox * Make command descriptions smaller * Strip infobox title prefix from items * Strip infobox title prefix from items
* | | | | | | Implement in-memory prompt historyBlaž Hrastnik2021-07-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implementation is similar to kakoune: we store the entries into a register.
* | | | | | | fix(term): undo-ing code actionsGokul Soumya2021-07-25
| | | | | | |
* | | | | | | fix(term): use existing implementation of edits_to_transactiongbaranski2021-07-25
| | | | | | |
* | | | | | | feat: code actions - document edits (#478)Grzegorz Baranski2021-07-24
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip: Code actions * fix(term): use current macro instead Context::context * feat(lsp): set code_action capabilities * feat(term): set SPC-a to code_action * feat(term): wip on applying code actions * deps: `cargo update` * feat(term): applying code actions edits * fix(term): cleanup of apply_edit * fix(term): applying edits as a whole thing instead one by one * refactor(term): move apply_edits below * fix(term): improve unimplemented messages for further investigation * fix(term): change code action command comment Co-authored-by: Ivan Tham <pickfire@riseup.net> * fix(term): add matching `}` * fix(term): cleanup, todo!() on workspace edit * fix(term): remove unrelated workspace_symbol_picker * fix(term): apply cargo-clippy suggestions * fix(term): replace todo!'s with editor.set_error Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Ivan Tham <pickfire@riseup.net>
* | | | | | fix: ui/menu: Don't allow scrolling past the end of completionBlaž Hrastnik2021-07-23
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #472
* | | | | | fix: Only try expanding directory completion if it makes senseBlaž Hrastnik2021-07-23
| | | | | | | | | | | | | | | | | | | | | | | | Fixes #487
* | | | | | Simplify ui/menu.rsBlaž Hrastnik2021-07-23
| | | | | |
* | | | | | Resume last pickerIvan Tham2021-07-22
| |_|_|_|/ |/| | | | | | | | | | | | | | Inspired by space ' in doom emacs.
* | | | | Calculate completion popup sizingBlaž Hrastnik2021-07-19
| | | | | | | | | | | | | | | | | | | | Fixes #220
* | | | | Made toggle_comments language dependent (#463)Cor Peters2021-07-18
| |_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Made toggle_comments language dependent * Fixed Test Cases * Added clippy suggestion * Small Fixes * Clippy Suggestion Co-authored-by: Cor <prive@corpeters.nl>
* | | | Changed startup behaviour to only open a single view when multiple files are ↵Cor2021-07-17
| | | | | | | | | | | | | | | | | | | | | | | | specified on the commandline. Changed the behaviour; the first argument on the commandline is the file on display
* | | | Added change_case command (#441)Cor Peters2021-07-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Added change_case command * Added switch_to_uppercase and switch_to_lowercase Renamed change_case to switch_case. * Updated the Keymap section of the Book * Use flat_map instead of map + flatten * Fix switch_to_uppercase using to_lowercase * Switched 'Alt-`' to uppercase and '`' to lowercase Co-authored-by: Cor <prive@corpeters.nl>
* | | | Removed double entry of extend_lineCor2021-07-15
| | | |
* | | | Restore C-w shortcutBlaž Hrastnik2021-07-11
| | | |
* | | | Further simplify error handling in :commandsBlaž Hrastnik2021-07-11
| | | |
* | | | Make command implementation return a Result<()>Lionel Flandrin2021-07-11
| | | | | | | | | | | | | | | | The error message is displayed with cx.editor.set_error.
* | | | Add infobox for viewIvan Tham2021-07-11
| | | |
* | | | Injection Query Support (#430)Kirawi2021-07-11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * wip * wip * fixed unsafe * fix clippy * move out reference variable * fmt * remove arc * change safety comment
* | | | Add more modes to infoboxIvan Tham2021-07-08
| | | |
* | | | More responsive key inputIvan Tham2021-07-06
| |_|/ |/| | | | | | | | | | | | | | Use biased select!, don't eagerly process lsp message since we want to prioritize user input rather than lsp messages, but still limit rendering for lsp messages.
* | | Fix phantom lines in some CRLF files.Nathan Vegdahl2021-07-05
| | | | | | | | | | | | | | | | | | | | | Fixes #415. The issue was that cursor highlighting wasn't extending to encompass the entire CRLF grapheme, and therefore ended up splitting it. This presumably was messing up other grapheme rendering as well, and this fixes that as well.
* | | Remove outdated commentBlaž Hrastnik2021-07-05
| | |
* | | Implement `X` as extend selection to line boundsBlaž Hrastnik2021-07-05
| | |
* | | Fix info panic on small terminalIvan Tham2021-07-04
| | |
* | | Factor out goto t/m/b into a single function againBlaž Hrastnik2021-07-04
| | |
* | | Revert back to 'gm'Blaž Hrastnik2021-07-04
| | | | | | | | | | | | top / middle / bottom mnemonic.
* | | Goto mode use infoboxIvan Tham2021-07-04
| | | | | | | | | | | | | | | In the meantime, change gm to gc. Remove extra space in mode title.
* | | Reduce calculation and improve pattern in infoboxIvan Tham2021-07-04
| | | | | | | | | | | | | | | | | | - switch to use static OnceCell to calculate Info once - pass Vec<(&[KeyEvent], &str)> rather than Vec<(Vec<KeyEvent>, &str)> - expr -> tt to allow using | as separator, make it more like match
* | | Support infobox doc gen on stable releaseIvan Tham2021-07-04
| | |
* | | Add infobox doc generation and improve ergonomicsIvan Tham2021-07-04
| | |
* | | Fix rendering issues for infoboxIvan Tham2021-07-04
| | |
* | | Apply suggestions from blaz for infoboxIvan Tham2021-07-04
| | |
* | | Suggestions for infobox changesIvan Tham2021-07-04
| | | | | | | | | Co-authored-by: Benoît Cortier <benoit.cortier@fried-world.eu>
* | | Add infoboxIvan Tham2021-07-04
| | |
* | | fix: Temporary fix for #402Blaž Hrastnik2021-07-03
| | |
* | | Add object selection (textobjects) (#385)Gokul Soumya2021-07-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add textobjects for word * Add textobjects for surround characters * Apply clippy lints * Remove ThisWordPrevBound in favor of PrevWordEnd It's the same as PrevWordEnd except for taking the current char into account, so use a "flag" to capture that usecase * Add tests for PrevWordEnd movement * Remove ThisWord* movements They did not preserve anchor positions and were only used for textobject boundary search anyway so replace them with simple position finding functions * Rewrite tests of word textobject * Add tests for surround textobject * Add textobject docs * Refactor textobject word position functions * Apply clippy lints on textobject * Fix overflow error with textobjects