aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src
Commit message (Collapse)AuthorAge
* 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
* `:reload` (#374)Kirawi2021-07-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reloading functionality * fn with_newline_eof() * fmt * wip * wip * wip * wip * moved to core, added simd feature for encoding_rs * wip * rm * .gitignore * wip * local wip * wip * wip * no features * wip * nit * remove simd * doc * clippy * clippy * address comments * add indentation & line ending change
* Fix unused `Result` warnings in helix-term.Nathan Vegdahl2021-07-02
|
* Fix unused variable, parameter, and `mut` warnings in helix-term.Nathan Vegdahl2021-07-02
|
* Remove #[allow(unused)] from helix-term, and fix unused imports.Nathan Vegdahl2021-07-02
| | | | Lots of other warning still left. Will address in subsequent commits.
* If completion arrives after we already stopped editing, ignore itBlaž Hrastnik2021-06-30
|
* Make set_unmodified an enum.Joe Neeman2021-06-30
|
* Make Document's format API a little nicer.Joe Neeman2021-06-30
|
* Satisfy clippy.Joe Neeman2021-06-30
|
* Add some async job infrastructure.Joe Neeman2021-06-30
|
* Make formatting happen asynchronously.Joe Neeman2021-06-30
|
* ui: Use a box drawing character vertical line for splitsBlaž Hrastnik2021-06-29
|
* Incorporate long word commands into keymapPabloMansanet2021-06-29
|
* fix: Don't panic on Enter on an empty document.Blaž Hrastnik2021-06-28
| | | | Refs #386
* Sort the files in descending orderBlaž Hrastnik2021-06-28
|
* ui: Simplify conditionalBlaž Hrastnik2021-06-27
|
* Merge tab & char rendering codeBlaž Hrastnik2021-06-27
|
* This char_index is unusedBlaž Hrastnik2021-06-27
|
* Allocate the tab stop only onceBlaž Hrastnik2021-06-27
|
* Extract the merge "operator" into helix-coreBlaž Hrastnik2021-06-27
|
* Appease clippyBlaž Hrastnik2021-06-27
|
* Turn diagnostics rendering into span injection tooBlaž Hrastnik2021-06-27
|
* Fix AnyComponent testBlaž Hrastnik2021-06-27
|
* Simplify selection rendering by injecting highlight scopesBlaž Hrastnik2021-06-27
|
* Address nightly clippy warningsBlaž Hrastnik2021-06-27
|
* Fix silly mistake in previous phantom line bug fix.Nathan Vegdahl2021-06-26
| | | | | Fixes #381. I was trying to change an index value that... wasn't even an index value.
* Fix highlight code splitting graphemes.Nathan Vegdahl2021-06-26
| | | | | | This resulted in phantom blank lines in files with CRLF line endings, but could potentially have manifested with other graphemes as well.
* Sort files in file picker by access, modification and creation date (#336)Wojciech Kępka2021-06-26
| | | | | | | | | * Sort files in file picker by access date * Fallback file time to modified then created then UNIX_EPOCH * Use `sort_by_key` * Refactor
* Use a deadline when eagerly processing notificationsBlaž Hrastnik2021-06-25
|
* fix: jumping to location did not convert the URI correctlyBlaž Hrastnik2021-06-25
| | | | thus breaking Windows
* reverse the dependency between helix-tui and helix-view (#366)Keith Simmons2021-06-25
| | | | | | | | | * reverse the dependency between helix-tui and helix-view by moving a fiew types to view * fix tests * clippy and format fixes Co-authored-by: Keith Simmons <keithsim@microsoft.com>
* Fix goto line endIvan Tham2021-06-25
| | | | Should not goto newline.
* Add … when chars are truncated in pickerGokul Soumya2021-06-25
|
* Fix previous broken refactor key into helix-viewIvan Tham2021-06-24
| | | | | | | | Need to be used for autoinfo Revert "Revert "Refactor key into helix-view"" This reverts commit 10f9f72232f5789323d689bf0f9cd359715770d6.
* Update helix-term/src/commands.rsKirawi2021-06-24
| | | Co-authored-by: Ivan Tham <pickfire@riseup.net>