aboutsummaryrefslogtreecommitdiff
path: root/helix-term
Commit message (Collapse)AuthorAge
...
| * Refactor keyevent handling using key, ctrl macros (#1058)Gokul Soumya2021-11-10
| | | | | | | | | | | | Adds ctrl! and alt! macros (which existed before the big keymap refactor) and uses them in event handling of Components. Note that this converts crossterm's KeyEvent to our own KeyEvent on each invocation of handle_event in Components.
| * Ensure that identical keymaps stay in sync (#1056)Gokul Soumya2021-11-10
| | | | | | | | | | | | | | Space mode and view mode are duplicated on two different keybinds, and they tend to get out of sync by contributers forgetting to update both of them. This commit adds a test that explicitly checks that they are identical. Prevents issues like #1050.
| * Check for duplicate keys in default keymapGokul Soumya2021-11-10
| |
| * Change page keybinds in view modeGokul Soumya2021-11-10
| | | | | | | | | | | | | | b which was assigned to page_up conflicts with align to bottom, so this commit replaces page up, down, etc keybinds to use normal mode keybinds (C-f, C-b, etc) in view mode too.
| * Update `space w` window mode (#1050)Omnikar2021-11-10
| |
| * Allow piping from stdin into a buffer on startup (#996)Jason Hansen2021-11-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Allow piping from stdin into a buffer on startup * Refactor * Don't allow piping into new buffer on macOS * Update helix-term/src/application.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Update helix-term/src/application.rs Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * Fix Co-authored-by: Blaž Hrastnik <blaz@mxxn.io>
| * buffer picker add is_modifier flag (#1020)CossonLeo2021-11-10
| |
| * Restore screen position when abort search (#1047)Ivan Tham2021-11-10
| |
| * add <C-h>, <C-u>, <C-d>, Delete in prompt mode (#1034)Bob2021-11-09
| |
| * search_impl will only align cursor center when it isn't in view (#959)CossonLeo2021-11-09
| |
| * Use default `languages.toml` if user's is invalid (#994)Omnikar2021-11-09
| |
| * Add LSP rename_symbol (space-r) (#1011)CossonLeo2021-11-08
| | | | | | improve apply_workspace_edit
| * Add WORD textobject (#991)Omnikar2021-11-08
| | | | | | | | | | * Add WORD textobject * Document WORD textobject
| * Launch with defaults upon invalid config/theme (#982)Omnikar2021-11-06
| | | | | | | | | | | | | | | | * Launch with defaults upon invalid config/theme * Startup message if there is a problematic config * Statusline error if trying to switch to an invalid theme * Use serde `deny_unknown_fields` for config
* | wipBlaž Hrastnik2021-11-08
| |
* | dap: Simplify get_breakpoint_at_current_lineBlaž Hrastnik2021-11-07
| |
* | dap: Simplify debug_parameter_promptBlaž Hrastnik2021-11-07
| |
* | dap: Clean up dap_start_impl, no need to clone arg keysBlaž Hrastnik2021-11-07
| |
* | dap: Minor simplificationsBlaž Hrastnik2021-11-07
| |
* | dap: Simplify launch & startBlaž Hrastnik2021-11-07
| | | | | | | | | | There's no need to re-detect language config, just use the one available on the document.
* | dap: Error implements Display so we can format with {}Blaž Hrastnik2021-11-07
| |
* | dap: Consistently rename type as tyBlaž Hrastnik2021-11-07
| |
* | dap: Avoid cloning old_breakpoints if we are immediately replacing themBlaž Hrastnik2021-11-07
| |
* | dap: Avoid cloning *entire* stack frames when picking a threadBlaž Hrastnik2021-11-07
| |
* | dap: Simplify more callsBlaž Hrastnik2021-11-07
| |
* | dap: Get rid of excessive cloningBlaž Hrastnik2021-11-07
| |
* | dap: Inline empty completerBlaž Hrastnik2021-11-07
| |
* | dap: Fully extract template parameter promptsBlaž Hrastnik2021-11-07
| |
* | Make picker take the whole context, not just editorBlaž Hrastnik2021-11-07
| |
* | dap: Extract out variable renderingBlaž Hrastnik2021-11-07
| | | | | | | | Will improve on the UI later
* | If there is no live debugger, treat breakpoints as unverifiedBlaž Hrastnik2021-11-06
| |
* | Fix compilationBlaž Hrastnik2021-11-06
| |
* | dap: Enable sticky mode for the submodeBlaž Hrastnik2021-11-06
| |
* | dap: Move template selection into a pickerBlaž Hrastnik2021-11-06
| | | | | | | | It's time to move all these components out of ui/editor.rs
* | Merge branch 'master' into debugBlaž Hrastnik2021-11-06
|\|
| * Specify vector capacity on surround_addBlaž Hrastnik2021-11-06
| |
| * Simplify current!(..).1 into doc!()Blaž Hrastnik2021-11-06
| |
| * Simplify goto_*_diagnostic commandsBlaž Hrastnik2021-11-06
| |
| * minor: view!(..).doc is slightly more efficient than current!(..).1.id()Blaž Hrastnik2021-11-06
| |
| * minor: Extend search was decclared twice in the keymapBlaž Hrastnik2021-11-06
| |
| * Retain range direction on searchBlaž Hrastnik2021-11-06
| | | | | | | | Co-authored-by: CossonLeo <20379044+cossonleo@users.noreply.github.com>
| * Implement Selection::replace to replace a single rangeBlaž Hrastnik2021-11-06
| | | | | | | | | | | | Fixes #985 Co-authored-by: Daniel S Poulin <crimsonmage+github@gmail.com>
| * Add reverse search functionality (#958)Gygaxis Vainhardt2021-11-06
| | | | | | | | | | | | | | | | | | | | | | | | | | * Add reverse search functionality * Change keybindings for extend to be in select mode, incorporate Movement and Direction enums * Fix accidental revert of #948 in rebase * Add reverse search to docs, clean up mismatched whitespace * Reverse search optimization * More optimization via github feedback
| * Allow infoboxes to be disabled (#972)Omnikar2021-11-05
| | | | | | | | | | | | | | | | | | | | | | * Allow infoboxes to be disabled * Document `infoboxes` default value * Rename `infoboxes` to `auto_info` * Document `auto-info` * Fix incomplete rename
| * Inform when reaching undo/redo bounds (#981)Omnikar2021-11-05
| | | | | | | | | | | | | | | | * Inform when reaching undo/redo bounds * `Already at oldest change` when undo fails * `Already at newest change` when redo fails * Add missing `the`
| * Rewrite goto_bufferBlaž Hrastnik2021-11-04
| |
| * Implement "Goto next buffer / Goto previous buffer" commandsath32021-11-04
| |
| * Replace documents SlotMap with BTreeMapBlaž Hrastnik2021-11-04
| |
| * Add c-s to pick word under doc cursor to prompt line & search completion (#831)CossonLeo2021-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add prompt shourtcut to book Add completions to search Add c-s to pick word under doc cursor to prompt line * limit 20 last items of search completion, update book * Update book/src/keymap.md Co-authored-by: Ivan Tham <pickfire@riseup.net> * limit search completions 200 Co-authored-by: Ivan Tham <pickfire@riseup.net>
| * Prevent preview binary or large file (#939)diegodox2021-11-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Prevent preview binary or large file (#847) * fix wrong method name * fix add use trait * update lock file * rename MAX_PREVIEW_SIZE from MAX_BYTE_PREVIEW * read small bytes to determine cotent type * [WIP] add preview struct to represent calcurated preveiw * Refactor content type detection - Remove unwraps - Reuse a single read buffer to avoid 1kb reallocations between previews * Refactor preview rendering so we don't construct docs when not necessary * Replace unwarap whit Preview::NotFound * Use index access to hide unwrap Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> * fix Get and unwarp equivalent to referce of Index acess * better preview implementation * Rename Preview enum and vairant Co-authored-by: Gokul Soumya <gokulps15@gmail.com> * fixup! Rename Preview enum and vairant * simplify long match * Center text, add docs, fix formatting, refactor Co-authored-by: Blaž Hrastnik <blaz@mxxn.io> Co-authored-by: Gokul Soumya <gokulps15@gmail.com>