Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | minor: Remove some outdated comments | Blaž Hrastnik | 2022-03-03 |
| | |||
* | helix-term/commands: implement buffer-close (bc, bclose) (#1035) | Cole Helbling | 2021-11-15 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * helix-view/view: impl method to remove document from jumps * helix-view/editor: impl close_document * helix-view/editor: remove close_buffer argument from `close` According to archseer, this was never implemented or used properly. Now that we have a proper "buffer close" function, we can get rid of this. * helix-term/commands: implement buffer-close (bc, bclose) This behaves the same as Kakoune's `delete-buffer` / `db` command: * With 3 files opened by the user with `:o ab`, `:o cd`, and `:o ef`: * `buffer-close` once closes `ef` and switches to `cd` * `buffer-close` again closes `cd` and switches to `ab` * `buffer-close` again closes `ab` and switches to a scratch buffer * With 3 files opened from the command line with `hx -- ab cd ef`: * `buffer-close` once closes `ab` and switches to `cd` * `buffer-close` again closes `cd` and switches to `ef` * `buffer-close` again closes `ef` and switches to a scratch buffer * With 1 file opened (`ab`): * `buffer-close` once closes `ab` and switches to a scratch buffer * `buffer-close` again closes the scratch buffer and switches to a new scratch buffer * helix-term/commands: implement buffer-close! (bclose!, bc!) Namely, if you have a document open in multiple splits, all the splits will be closed at the same time, leaving only splits without that document focused (or a scratch buffer if they were all focused on that buffer). * helix-view/tree: reset focus if Tree is empty | ||
* | Add commands for moving between splits with a direction (#860) | Oskar Nehlin | 2021-10-23 |
| | | | | | | | | | * Add commands for moving between splits with a direction * Update keymaps * Change picker mapping * Add test and clean up some comments | ||
* | Fix typo | Ivan Tham | 2021-07-20 |
| | |||
* | reverse the dependency between helix-tui and helix-view (#366) | Keith Simmons | 2021-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> | ||
* | Use full screen size | wojciechkepka | 2021-06-20 |
| | |||
* | Derive debug without feature | Ivan Tham | 2021-06-10 |
| | | | | Note that this also removed those `finish_non_exhaustive()`. | ||
* | Implement Debug for data structure as a feature | notoria | 2021-06-10 |
| | |||
* | Fix split sizes getting out of sync with the terminal size, refs #69 | Blaž Hrastnik | 2021-06-03 |
| | |||
* | Render a separator between vertical splits. | Blaž Hrastnik | 2021-04-08 |
| | |||
* | Fix an issue with closing nested splits. | Blaž Hrastnik | 2021-04-08 |
| | | | | | The parent id was never assigned to the split, so removing the container when it became empty failed. | ||
* | Correct the naming issue with vsplit and hsplit being swapped. | Blaž Hrastnik | 2021-04-08 |
| | |||
* | clippy lint | Blaž Hrastnik | 2021-03-31 |
| | |||
* | editor.open can now either replace the current view or open in a split. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | Derive a separate ViewId type. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | Drop refcell use, make view simply ref doc.id. | Blaž Hrastnik | 2021-03-23 |
| | |||
* | view: Reposition cursors on tree resize. | Blaž Hrastnik | 2021-02-26 |
| | |||
* | minor | Blaž Hrastnik | 2021-02-22 |
| | |||
* | commands: Simplify some code, only calling cx.doc() once. | Blaž Hrastnik | 2021-02-21 |
| | |||
* | Allow closing individual views. | Blaž Hrastnik | 2021-02-19 |
| | |||
* | view: Disable tree.fullscreen for now to appease clippy. | Blaž Hrastnik | 2021-02-18 |
| | |||
* | Implement vertical split calculations. | Blaž Hrastnik | 2021-02-09 |
| | |||
* | simplify. | Blaž Hrastnik | 2021-02-05 |
| | |||
* | Work around rendering errors for positions offscreen. | Blaž Hrastnik | 2021-02-05 |
| | |||
* | Address clippy warnings. | Blaž Hrastnik | 2021-02-05 |
| | |||
* | A dumb "next view" implementation that works. | Blaž Hrastnik | 2021-02-04 |
| | |||
* | Forgot to add the tree.rs definition... | Blaž Hrastnik | 2021-02-04 |