summaryrefslogtreecommitdiff
path: root/helix-term
Commit message (Collapse)AuthorAge
* global search: show file names as relative paths (#802)Dylan Richardson2021-10-02
| | | This commit fixes #786
* Add tilde expansion for file opening (#782)Matt W2021-09-24
| | | | * change to helix_core's tilde expansion, from helix-core::path::expand_tilde
* Implement 'remove_primary_selection' as Alt-,Blaž Hrastnik2021-09-24
| | | | | | This allows removing search matches from the selection Fixes #713
* experiment: space+k for LSP doc, K for keep_selectionsBlaž Hrastnik2021-09-24
|
* experiment: Move keep_primary_selection to ,Blaž Hrastnik2021-09-24
|
* 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>
* allow smart case in global search (#781)Leoi Hung Kin2021-09-24
|
* Initial implementation of global search (#651)Leoi Hung Kin2021-09-21
| | | | | | | | | | | * initial implementation of global search * use tokio::sync::mpsc::unbounded_channel instead of Arc, Mutex, Waker poll_fn * use tokio_stream::wrappers::UnboundedReceiverStream to collect all search matches * regex_prompt: unified callback; refactor * global search doc
* enable smart case regex search by default (#761)kraem2021-09-20
|
* search_next_impl: don't panic on invalid regex (#740)Leoi Hung Kin2021-09-17
|
* fix: Don't allow closing the last split if there's unsaved changesBlaž Hrastnik2021-09-17
| | | | Fixes #674
* fix: Wrap around the top of the picker menu when scrollingBlaž Hrastnik2021-09-17
| | | | | | Forgot to port the improvements in menu.rs Fixes #734
* fix: Refactor apply_workspace_edit to remove assertBlaž Hrastnik2021-09-17
| | | | Fixes #698
* syntax: Properly handle injection-regex for language injectionsBlaž Hrastnik2021-09-16
|
* Add `no_op` command (#743)Omnikar2021-09-13
| | | | | * Add `no_op` command * Document `no_op` in `remapping.md`
* lsp: Silence window/logMessage if -v isn't usedBlaž Hrastnik2021-09-13
|
* ui: Trigger recalculate_size per popup render so contents can readjustBlaž Hrastnik2021-09-13
|
* goto line start/end commands extend when in select mode (#739)Kangwook Lee (이강욱)2021-09-11
|
* Convert clipboard line ending to document line ending when pasting (#716)Kirawi2021-09-10
| | | | | * convert a paste's line-ending to the current doc's line-ending * move paste regex into paste_impl
* feat: Sticky view mode with Z (#719)Gokul Soumya2021-09-10
|
* fix: Don't automatically search_next on *Blaž Hrastnik2021-09-08
| | | | Refs #713
* Regex prompts should have a history with a specifiable registerBlaž Hrastnik2021-09-08
|
* Optimize completion doc position. (#691)CossonLeo2021-09-08
| | | | | | | | | | | | | | | | | | | * optimize completion doc's render * optimize completion doc's render * optimize completion doc position * cargo fmt * fix panic * use saturating_sub * fixs * fix clippy * limit completion doc max width 120
* ui: Be smarter about centering previewsBlaž Hrastnik2021-09-08
| | | | | Try centering the whole block. If the block is too big for the viewport, then make sure that the first line is within the preview.
* Add command to extend to line start or end (#717)Kangwook Lee (이강욱)2021-09-07
|
* lsp: Don't send notifications until initialize completesBlaž Hrastnik2021-09-06
| | | | Then send open events for all documents with the LSP attached.
* lsp: Refactor code that could use document_by_path_mutBlaž Hrastnik2021-09-06
|
* lsp: Simplify lookup under method callBlaž Hrastnik2021-09-06
|
* Drop some &mut bounds where & would have sufficedBlaž Hrastnik2021-09-06
|
* Fix escape not exiting insert mode (#712)Gokul Soumya2021-09-05
| | | | | Regression due to #635 where escape key in insert mode would not exit normal mode. This happened due to hard coding the escape key to cancel a sticky keymap node.
* Add a sticky mode for keymaps (#635)Gokul Soumya2021-09-05
|
* Refactor switch_case commandsGokul Soumya2021-09-05
|
* Refactor {move,extend}_word_* commandsGokul Soumya2021-09-05
|
* Refactor {move,extend}_char_* commandsGokul Soumya2021-09-05
|
* Add commands that extends to long words (#706)Kangwook Lee (이강욱)2021-09-04
|
* Expand `~` in `change-current-directory` command (#692)Wojciech Kępka2021-09-02
|
* add_newline unimpaired mapping (#653)oberblastmeister2021-09-01
| | | | | | | | | | | | | | | | | | | * added some keymaps * remove * remove wrong mappings * remove * wrong import * use enum * correct line ending * added to book * column
* Reimplement keep-pipe, it needs to manipulate selections, not textBlaž Hrastnik2021-09-01
|
* Extract the shell command into a separate functionBlaž Hrastnik2021-09-01
|
* ui: prompt: Avoid allocating a prompt name if it's a static stringBlaž Hrastnik2021-08-31
|
* Refactor a bit furtherBlaž Hrastnik2021-08-31
|
* shell: Move changes outside so we can properly handle errorsBlaž Hrastnik2021-08-31
|
* Shell commands (#547)Omnikar2021-08-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Implement shell interaction commands * Use slice instead of iterator for shell invocation * Default to `sh` instead of `$SHELL` for shell commands * Enforce trailing comma in `commands` macro * Use `|` register for shell commands * Move shell config to `editor` and use in command * Update shell command prompts * Remove clone of shell config * Change shell function names to match prompts * Log stderr contents upon external command error * Remove `unwrap` calls on potential common errors `shell` will no longer panic if: * The user-configured shell cannot be found * The shell command does not output UTF-8 * Remove redundant `pipe` parameter * Rename `ShellBehavior::None` to `Ignore` * Display error when shell command is used and `shell = []` * Document shell commands in `keymap.md`
* fix: use .cursor() instead of .headgbaranski2021-08-30
|
* fix: use head instead of anchor for relative linegbaranski2021-08-30
|
* Fix code indentation (#671)Omnikar2021-08-30
|
* Add ui.menu text style (#664)CossonLeo2021-08-28
| | | | | | | | | * add menu text style * add ui.menu.text ui.info ui.info.text to book * change ui.menu.text to ui.menu * fix book's ui.menu
* ui: prompt: Fix typing with altBlaž Hrastnik2021-08-27
|
* Make `v` in select mode switch back to normal mode (#660)Omnikar2021-08-27
| | | | | * Make `v` in select mode switch back to normal mode * Move select mode toggle to keymap instead of command
* fix: show current line number even if relative line is on (#656)Grzegorz Baranski2021-08-26
|