aboutsummaryrefslogtreecommitdiff
path: root/helix-view
Commit message (Collapse)AuthorAge
* Merge remote-tracking branch 'origin/master' into debugBlaž Hrastnik2021-11-21
|\
| * Simplify view/doc macrosBlaž Hrastnik2021-11-18
| |
| * helix-view/editor: use SCRATCH_BUFFER_NAME const (#1104)Cole Helbling2021-11-15
| |
| * helix-term/commands: implement buffer-close (bc, bclose) (#1035)Cole Helbling2021-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
| * helix-term/commands: implement cquit (#1096)Cole Helbling2021-11-15
| | | | | | This allows you to exit helix with an exit code, e.g. `:cq 2`.
| * Implement "Goto last modification" command (#1067)ath32021-11-14
| |
| * helix-term/commands: move SCRATCH_BUFFER_NAME to helix-view/document (#1091)Cole Helbling2021-11-13
| | | | | | | | This way, the name is accessible everywhere `Document` and related types are.
| * Fix earlier/later missing changeset update (#1069)Ivan Tham2021-11-11
| | | | | | Fix #1059
| * 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>
| * search_impl will only align cursor center when it isn't in view (#959)CossonLeo2021-11-09
| |
| * Refactor shebang detection to reuse the loaded bufferBlaž Hrastnik2021-11-08
| |
| * Detect filetype from shebang line (#1001)ath32021-11-08
| |
| * Add LSP rename_symbol (space-r) (#1011)CossonLeo2021-11-08
| | | | | | improve apply_workspace_edit
| * 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
* | dap: Fully extract template parameter promptsBlaž Hrastnik2021-11-07
| |
* | dap: Extract out variable renderingBlaž Hrastnik2021-11-07
| | | | | | | | Will improve on the UI later
* | 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
|\|
| * Make sure document diagnostics are sortedBlaž Hrastnik2021-11-06
| |
| * 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`
| * Fix crash on changing from empty scratch buffer to itself (#975)ath32021-11-04
| |
| * Replace documents SlotMap with BTreeMapBlaž Hrastnik2021-11-04
| |
| * Ensure coords in screen depends on char width (#885)Ivan Tham2021-11-03
| | | | | | | | | | The issue affected files with lots of tabs at the start as well. Fix #840
| * Implement key ordering for info boxDaniel Ebert2021-11-03
| |
| * If switching away from an empty scratch buffer, remove it (#935)Omnikar2021-10-31
| | | | | | | | | | | | | | * If switching away from an empty scratch buffer, remove it * Move `view.jumps.push` call into `else` clause * Refactor
| * Uncomment mapping LSP diagnostics through changes (#925)Kirawi2021-10-29
| |
| * Release v0.5.0Blaž Hrastnik2021-10-28
| |
| * set_path: Pass in the function directlyBlaž Hrastnik2021-10-28
| |
| * Simplify set_pathBlaž Hrastnik2021-10-28
| |
| * Implement `hx --tutor` and `:tutor` to load `tutor.txt` (#898)Omnikar2021-10-28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement `hx --tutor` and `:tutor` to load `tutor.txt` * Document `hx --tutor` and `:tutor` * Change `Document::set_path` to take an `Option` * `Document::set_path` accepts an `Option<&Path>` instead of `&Path`. * Remove `Editor::open_tutor` and make tutor-open functionality use `Editor::open` and `Document::set_path`. * Use `PathBuf::join` Co-authored-by: Ivan Tham <pickfire@riseup.net> * Add comments explaining unsetting tutor path Co-authored-by: Ivan Tham <pickfire@riseup.net>
| * minor: Further simplify take_withBlaž Hrastnik2021-10-27
| |
| * completion: fully revert state before apply & insertText common prefixBlaž Hrastnik2021-10-25
| |
| * find motion and textobj motion repeat (#891)CossonLeo2021-10-24
| |
| * fix: Indentation used different default on `hx` vs `hx new_file.txt`Blaž Hrastnik2021-10-24
| |
| * log syntax highlighting init errors (#895)Kirawi2021-10-23
| |
| * Add commands for moving between splits with a direction (#860)Oskar Nehlin2021-10-23
| | | | | | | | | | | | | | | | | | * Add commands for moving between splits with a direction * Update keymaps * Change picker mapping * Add test and clean up some comments
| * Update to rust 1.56 + 2021 editionBlaž Hrastnik2021-10-22
| |
| * Update dependencies to bump crossterm to 0.22.1Blaž Hrastnik2021-10-19
| | | | | | | | | | Fixes #825 Fixes #690
| * Improve completion trigger (#838)CossonLeo2021-10-18
| | | | | | | | | | | | | | * improve idle completion trigger * add completion-trigger-len to book * rename semantics_completion to language_server_completion and optimize idle completion trigger
* | Merge branch 'master' into debugBlaž Hrastnik2021-10-17
|\|
| * Make auto-completion a config (#853)Ivan Tham2021-10-16
| |
| * fix: Make sure to actually use idle_timeout config value for the timersBlaž Hrastnik2021-10-10
| |
| * Make idle-timeout configurableBlaž Hrastnik2021-10-10
| |
| * Filter the initial completionBlaž Hrastnik2021-10-05
| |
| * idle timer wipBlaž Hrastnik2021-10-05
| |
* | Merge branch 'master' into debugDmitry Sharshakov2021-09-25
|\|
| * Add option for automatic insertion of closing-parens/brackets/etc (#779)lurpahi2021-09-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Add auto-pair editor option * Document auto-pair editor option * Make cargo fmt happy * Actually make cargo fmt happy * Rename auto-pair option to auto-pairs * Inline a few constants Co-authored-by: miaomai <cunso@tutanota.com>
| * enable smart case regex search by default (#761)kraem2021-09-20
| |
| * log errors produced when trying to initialize the LSP (#746)Kirawi2021-09-15
| |