Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Further simplify error handling in :commands | Blaž Hrastnik | 2021-07-11 |
| | |||
* | Make command implementation return a Result<()> | Lionel Flandrin | 2021-07-11 |
| | | | | The error message is displayed with cx.editor.set_error. | ||
* | Reduce calculation and improve pattern in infobox | Ivan Tham | 2021-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 | ||
* | Add infobox | Ivan Tham | 2021-07-04 |
| | |||
* | Make formatting happen asynchronously. | Joe Neeman | 2021-06-30 |
| | |||
* | 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> | ||
* | Handle non-UTF8 files | Shafkath Shuhan | 2021-06-23 |
| | |||
* | Merge branch 'master' of github.com:helix-editor/helix into ↵ | Nathan Vegdahl | 2021-06-20 |
|\ | | | | | | | | | | | | | line_ending_detection Rebasing was making me manually fix conflicts on every commit, so merging instead. | ||
| * | Add system clipboard yank and paste commands | Benoît CORTIER | 2021-06-20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds six new commands to interact with system clipboard: - clipboard-yank - clipboard-yank-join - clipboard-paste-after - clipboard-paste-before - clipboard-paste-replace - show-clipboard-provider System clipboard provider is detected by checking a few environment variables and executables. Currently only built-in detection is supported. `clipboard-yank` will only yank the "main" selection, which is currently the first one. This will need to be revisited later. Closes https://github.com/helix-editor/helix/issues/76 | ||
| * | Only reconfiure highlights when setting theme | wojciechkepka | 2021-06-19 |
| | | |||
| * | Add ability to change theme on editor | wojciechkepka | 2021-06-19 |
| | | |||
* | | Work on moving code over to LineEnding instead of assuming '\n'. | Nathan Vegdahl | 2021-06-20 |
|/ | | | | Also some general cleanup and some minor fixes along the way. | ||
* | Add `close_language_servers` method on `Editor` | wojciechkepka | 2021-06-19 |
| | |||
* | Replace `Editor::current` by a macro | Benoît CORTIER | 2021-06-18 |
| | | | | | | | | | This is necessary to workaround ownership issues across function calls. The issue notably arised when implementing the registers into `Editor` and I was getting annoyed again when implementing copy/pasting into system clipboard. The problem is addressed by using macro calls instead of function calls. There is no notable side effect. | ||
* | Add cursor kind to separate hidden cursor from pos | Ivan Tham | 2021-06-15 |
| | | | | | Now IME cursor position should be correct since we can still set cursor position without drawing the cursor. | ||
* | Remove RwLock for registers | Benoît CORTIER | 2021-06-15 |
| | | | | | | | | Registers are stored inside `Editor` and accessed without `RwLock`. To work around ownership, I added a sister method to `Editor::current`: `Editor::current_with_context`. I tried to modify `Editor::current` directly but it's used at a lot of places so I reverted into this for now at least. | ||
* | add alternate file (#223) | Robin | 2021-06-12 |
| | | | | | | | | | | | | | * add alternate file inspired by vim ctrl-6/kak ga commands. the alternate file is kept per view * apply feedback from #223 * rename to last_accessed * add ga doc * add fail message for ga | ||
* | lsp: Display LSP progress messages (#216) | Wojciech Kępka | 2021-06-11 |
| | |||
* | 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 |
| | |||
* | Support go to line 1 | Zheming Li | 2021-06-08 |
| | |||
* | Don't panic on LSP not starting | Egor Karavaev | 2021-06-08 |
| | |||
* | Implement register selection | Benoît CORTIER | 2021-06-07 |
| | | | | | | User can select register to yank into with the " command. A new state is added to `Editor` and `commands::Context` structs. This state is managed by leveraging a new struct `RegisterSelection`. | ||
* | Create document if it doesn't exist on save | Wojciech Kępka | 2021-06-06 |
| | |||
* | Try to detect language when document file path is set | Blaž Hrastnik | 2021-06-04 |
| | | | | Fixes #91 | ||
* | Fix split sizes getting out of sync with the terminal size, refs #69 | Blaž Hrastnik | 2021-06-03 |
| | |||
* | Address clippy lint. | Blaž Hrastnik | 2021-05-17 |
| | |||
* | If switching to a previously open buffer in the same view, keep it's old offset | Blaž Hrastnik | 2021-05-17 |
| | |||
* | Only send the document close event if we're closing the underlying buffer | Blaž Hrastnik | 2021-05-07 |
| | |||
* | View::new is infallible, so is editor.switch/new_file. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | Allow switching views back to scratch buffers. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | Canonicalize the path on open to avoid duplicates. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | Add the :new command, don't crash if saving without filename. | Blaž Hrastnik | 2021-05-07 |
| | |||
* | clippy lint | Blaž Hrastnik | 2021-05-06 |
| | |||
* | Start moving more LSP calls into callbacks/futures without capturing self | Blaž Hrastnik | 2021-05-06 |
| | |||
* | Tokio migration. | Blaž Hrastnik | 2021-05-06 |
| | |||
* | Load config files from ~/.config/helix, fallback to defaults. | Blaž Hrastnik | 2021-04-07 |
| | |||
* | Allow starting hx without a file. A new blank file will be created. | Blaž Hrastnik | 2021-04-06 |
| | |||
* | Simplify code by providin cx.current() = (view, doc). | Blaž Hrastnik | 2021-04-01 |
| | |||
* | clippy lint | Blaž Hrastnik | 2021-03-31 |
| | |||
* | Weave through view_id references so that views into one file have ↵ | Blaž Hrastnik | 2021-03-31 |
| | | | | independent selects. | ||
* | view: document.rs cleanup | Blaž Hrastnik | 2021-03-29 |
| | |||
* | Load theme from toml file. | Blaž Hrastnik | 2021-03-25 |
| | |||
* | Trivial jumplist implementation. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | Reset first_line when changing files. | Blaž Hrastnik | 2021-03-24 |
| | |||
* | 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 |
| | |||
* | Store Document on the Editor type, make View reference it. | Blaž Hrastnik | 2021-03-22 |
| | |||
* | Merge some imports. | Blaž Hrastnik | 2021-03-22 |
| |