Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | | Add `ui.statusline.inactive`, use `ui.statusline` for statusline text | wojciechkepka | 2021-06-18 | |
| | | ||||
* | | 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. | |||
* | | Configurable keys 2 (Mapping keys to commands) (#268) | PabloMansanet | 2021-06-17 | |
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add convenience/clarity wrapper for Range initialization * Add keycode parse and display methods * Add remapping functions and tests * Implement key remapping * Add remapping book entry * Use raw string literal for toml * Add command constants * Make command functions private * Map directly to commands * Match key parsing/displaying to Kakoune * Formatting pass * Update documentation * Formatting * Fix example in the book * Refactor into single config file * Formatting * Refactor configuration and add keymap newtype wrappers * Address first batch of PR comments * Replace FromStr with custom deserialize | |||
* | Add theme key for selected line number | Gokul Soumya | 2021-06-16 | |
| | | | | | | | | | | | Adds `ui.linenr.selected` which controls highlight of linu numbes which have cursors on. - Fallback to linenr if linenr.selected is missing - Update docs and themes - Add TODOs for themes with temporary linenr.selected | |||
* | 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. | |||
* | Use `_impl` suffix instead of `_` prefix | Benoît CORTIER | 2021-06-15 | |
| | | | | | | Helpers / internal implementations where using the `_` prefix. However, this prefix also suppress unused warnings. I suggest we use the `_impl` suffix instead. | |||
* | Remove indent style status-line display for now. | Nathan Vegdahl | 2021-06-15 | |
| | ||||
* | Implement command to change the indent-style setting of a document. | Nathan Vegdahl | 2021-06-15 | |
| | ||||
* | Render indent-style status in status line. | Nathan Vegdahl | 2021-06-15 | |
| | | | | Also cleaned up the status line code a little. | |||
* | Add ui.selection to theme.toml | Gokul Soumya | 2021-06-14 | |
| | | | | | Enables changing the color of the selection which was previously hard coded. | |||
* | Support go to line 1 | Zheming Li | 2021-06-08 | |
| | ||||
* | Make matching bracket dimmed, prevent out of bounds rendering | Wojciech Kępka | 2021-06-08 | |
| | ||||
* | Address clippy lint | Blaž Hrastnik | 2021-06-07 | |
| | ||||
* | 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`. | |||
* | Revert the line number rendering change, we were correct before | Blaž Hrastnik | 2021-06-07 | |
| | ||||
* | fix: 2 panics while setting style + off by 1 | ahkrr | 2021-06-07 | |
| | | | | | | | | | | | | The panics would occur because set_style would draw outside of the the surface. Both occured using `find_prev` or `till_prev` In my case the first panic! would appear in a terminal with around 80 columns in helix/README.md going to the end of the file with `geglf(` the second with `geglfX` The off by one fix ensures that `find_nth_prev` starts at the first character to the left | |||
* | Add diagnostics keybindings | Wojciech Kępka | 2021-06-07 | |
| | ||||
* | fix: panicked at 'attempt to subtract with overflow' | ahkrr | 2021-06-05 | |
| | | | | helix-term/src/ui/editor.rs:275:29 This would happen when the window-size was to small to display the entire width and one would start jumping forwards with f<some_char> and the beginning of the highlighted area would end up outside of the window | |||
* | Fixing Multiple Panics (#121) | Kirawi | 2021-06-05 | |
| | | | | | | | * init * wip * wip | |||
* | matchbrackets: Needs to render with the viewport offset | Blaž Hrastnik | 2021-06-04 | |
| | ||||
* | Fix panic paint mysterious matching pair | Ivan Tham | 2021-06-04 | |
| | | | | | | When the matching pair is out of bounds it still paints it causing an out of bound panic. A dirty fix since it still have some issue, at least it does not panic now. | |||
* | key is now modified in place at start of handle_event | Jan Hrastnik | 2021-06-03 | |
| | ||||
* | key_canonicalization now only matches chars | Jan Hrastnik | 2021-06-03 | |
| | ||||
* | put the key canonicalization in a seperate function. only chars now get ↵ | Jan Hrastnik | 2021-06-03 | |
| | | | | stripped of Shift modifier | |||
* | removed shift matching | Jan Hrastnik | 2021-06-03 | |
| | ||||
* | Highlight matching brackets | notoria | 2021-06-03 | |
| | ||||
* | Fix cursor not showing on (0, 0) | Blaž Hrastnik | 2021-06-03 | |
| | ||||
* | Fix split sizes getting out of sync with the terminal size, refs #69 | Blaž Hrastnik | 2021-06-03 | |
| | ||||
* | ESC should exit both completion and insert mode | Blaž Hrastnik | 2021-05-29 | |
| | ||||
* | Update deps, introduce the new tree-sitter lifetimes | Blaž Hrastnik | 2021-05-27 | |
| | ||||
* | Drop cx.view_id, it was used before we had cx.current. | Blaž Hrastnik | 2021-05-15 | |
| | ||||
* | Define text color (mostly) in theme.toml. | Blaž Hrastnik | 2021-05-07 | |
| | ||||
* | Add the :new command, don't crash if saving without filename. | Blaž Hrastnik | 2021-05-07 | |
| | ||||
* | Tokio migration. | Blaž Hrastnik | 2021-05-06 | |
| | ||||
* | Stop crashing if last view is closed. | Blaž Hrastnik | 2021-05-03 | |
| | ||||
* | doc: Be smarter about calculating modified status. | Blaž Hrastnik | 2021-05-03 | |
| | | | | This way edit -> undo will properly show up as unmodified. | |||
* | lsp: support both utf-8 and utf-16 offsets. | Blaž Hrastnik | 2021-04-14 | |
| | | | | | Still need to implement the clangd encoding negotiation, but it's a start. Should also manually override to utf8 for pyls. | |||
* | Re-introduce clearing with bg color, seems the TUI issue was fixed. | Blaž Hrastnik | 2021-04-09 | |
| | ||||
* | N as extend with search (for now, N should be search_prev). | Blaž Hrastnik | 2021-04-09 | |
| | ||||
* | Horizontal scrolling! It only took a year to get around to it. | Blaž Hrastnik | 2021-04-09 | |
| | ||||
* | Render current line:col. | Blaž Hrastnik | 2021-04-09 | |
| | ||||
* | Render a separator between vertical splits. | Blaž Hrastnik | 2021-04-08 | |
| | ||||
* | hack: make queries load relative to source dir for now. | Blaž Hrastnik | 2021-04-07 | |
| | | | | We want to provide a runtime dir later on. | |||
* | Fix selection rendering, it would be off by 1 if reverse. | Blaž Hrastnik | 2021-04-07 | |
| | ||||
* | Handle c-n, c-p, etc. autocompletion events. | Blaž Hrastnik | 2021-04-06 | |
| | ||||
* | ui: Improve completion state handling. | Blaž Hrastnik | 2021-04-05 | |
| | ||||
* | 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. |