aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
Commit message (Collapse)AuthorAge
* fix: Don't panic on Enter on an empty document.Blaž Hrastnik2021-06-28
| | | | Refs #386
* 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.
* 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>
* Update helix-term/src/commands.rsKirawi2021-06-24
| | | Co-authored-by: Ivan Tham <pickfire@riseup.net>
* Blocking :wqShafkath Shuhan2021-06-24
|
* Fix open-new-line command for CRLF, as well as other bugs.Nathan Vegdahl2021-06-24
| | | | | | | | | | | | | | Fixes #363. I set out to fix issue #363, but after fixing it discovered some other things were wrong with the command while testing. In summary: - #363 was because it was still assuming a line ending width of 1 char in its indexing calculations, even when actually inserting CRLF. - Aside from #363, it actually needed to set `line_end_index` to zero for *all* calculations that use it when line == 0, but it was only doing so for a single calculation.
* fix: ok, needs to be the end of the previous lineBlaž Hrastnik2021-06-23
|
* open: Use the correct functionBlaž Hrastnik2021-06-23
| | | | Still not correct but at least it doesn't append at EOF
* fix: Better fix that also fixes crashes on `o`Blaž Hrastnik2021-06-23
|
* fix: panic on O at the start of the file (fixes #354)Blaž Hrastnik2021-06-23
|
* Handle non-UTF8 filesShafkath Shuhan2021-06-23
|
* Fix extend_line() behavior.Nathan Vegdahl2021-06-23
| | | | | | It would always extend to the next line if the cursor was at the end of the current line, even if the current line wasn't fully selected yet.
* Missed some items in the CRLF PR.Nathan Vegdahl2021-06-23
|
* Fix build on masterBlaž Hrastnik2021-06-23
|
* Make the prompt callback take a Context.Joe Neeman2021-06-23
|
* Implement show_current_directory commandLionel Flandrin2021-06-22
|
* Implement change_current_directory commandLionel Flandrin2021-06-22
|
* minor: Remove old TODOsBlaž Hrastnik2021-06-22
|
* Rename surround to match_modeGokul Soumya2021-06-22
|
* Add documentation for surroundGokul Soumya2021-06-22
|
* Handle line endings correctly in surroundGokul Soumya2021-06-22
|
* Move match_bracket to mmGokul Soumya2021-06-22
|
* Add surround keybindsGokul Soumya2021-06-22
|
* Merge pull request #224 from helix-editor/line_ending_detectionBlaž Hrastnik2021-06-22
|\ | | | | Line ending detection
| * Add command to set the document's default line ending.Nathan Vegdahl2021-06-21
| |
| * Fix clippy warnings.Nathan Vegdahl2021-06-21
| |
| * Convert remaining commands to use the document's line ending setting.Nathan Vegdahl2021-06-21
| |
| * Make split_selection_on_newline command handle all line endings.Nathan Vegdahl2021-06-21
| |
| * Update `replace` command to use document line ending setting.Nathan Vegdahl2021-06-21
| |
| * Add function to get the line ending of a str slice.Nathan Vegdahl2021-06-21
| | | | | | | | This is needed in some places.
| * Don't need getters/setters for line_ending property.Nathan Vegdahl2021-06-21
| | | | | | | | | | It's plain-old-data. If we want to do fancier things later, it's easy to switch back.
| * Merge branch 'master' of github.com:helix-editor/helix into ↵Nathan Vegdahl2021-06-20
| |\ | | | | | | | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead.
| * | Work on moving code over to LineEnding instead of assuming '\n'.Nathan Vegdahl2021-06-20
| | | | | | | | | | | | Also some general cleanup and some minor fixes along the way.
| * | added the line_end helper functionJan Hrastnik2021-06-20
| | |
| * | changed some hardcoded newlines, removed a else if in line_ending.rsJan Hrastnik2021-06-19
| | |
| * | fix merge issueJan Hrastnik2021-06-19
| | |
| * | Merge remote-tracking branch 'origin/master' into line_ending_detectionJan Hrastnik2021-06-19
| |\ \
| * | | ran cargo fmtJan Hrastnik2021-06-19
| | | |
| * | | added get_line_ending from pr commentJan Hrastnik2021-06-19
| | | |
| * | | applied changes from pr reviewJan Hrastnik2021-06-17
| | | |
| * | | fixed some problems from rebasingJan Hrastnik2021-06-16
| | | |
| * | | doc.line_ending() now returns &'static strJan Hrastnik2021-06-16
| | | |
| * | | trying out line ending helper functions in commands.rsJan Hrastnik2021-06-16
| | | |
* | | | Add progress spinners to status linewojciechkepka2021-06-21
| |_|/ |/| |
* | | Fix build..Blaž Hrastnik2021-06-20
| | |
* | | Merge `x` and `X`Blaž Hrastnik2021-06-20
| | |
* | | Add mappable commands for system clipboardBenoît CORTIER2021-06-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | System clipboard integration exists now in two favors: typable and mappable. Default mappings are: - SPC p: paste clipboard after - SPC P: paste clipboard before - SPC y: join and yank selection to clipboard - SPC Y: yank main selection to clipboard - SPC R: replace selections by clipboard contents