aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
Commit message (Collapse)AuthorAge
* only remove primary index when search next without extend (#948)CossonLeo2021-11-02
|
* Make match work with extend and multi cursors (#920)Ivan Tham2021-10-29
|
* Support extend for multiple goto (#909)Ivan Tham2021-10-29
| | | gg, ge, [n]gg
* add expand_selection to last_motioncossonleo2021-10-29
|
* 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>
* Fix `:quit!` description and tense of other commands (#902)Omnikar2021-10-25
|
* find motion and textobj motion repeat (#891)CossonLeo2021-10-24
|
* Filter completion items from language server by starts_with word under ↵CossonLeo2021-10-24
| | | | | | | | | | | | | cursor (#883) * filter items by starts_with pre nth char of cursor * add config for filter completion items by starts_with * filter items by starts_with pre nth char of cursor * add config for filter completion items by starts_with * remove completion items pre filter configuratio
* 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
* Add treesitter textobjects (#728)Gokul Soumya2021-10-23
| | | | | | | | | | | | | | | | | | | | | | | | | * Add treesitter textobject queries Only for Go, Python and Rust for now. * Add tree-sitter textobjects Only has functions and class objects as of now. * Fix tests * Add docs for tree-sitter textobjects * Add guide for creating new textobject queries * Add parameter textobject Only parameter.inside is implemented now, parameter.around will probably require custom predicates akin to nvim' `make-range` since we want to select a trailing comma too (a comma will be an anonymous node and matching against them doesn't work similar to named nodes) * Simplify TextObject cell init
* Replace current selection with all yanked values. (#882)radical3dd2021-10-21
|
* 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 pull request #821 from helix-editor/idle-timerBlaž Hrastnik2021-10-10
|\ | | | | Idle timer / Autocompletion
| * Make idle-timeout configurableBlaž Hrastnik2021-10-10
| |
| * Filter the initial completionBlaž Hrastnik2021-10-05
| |
| * Experiment with autocompletion on idleBlaž Hrastnik2021-10-05
| |
* | relative paths showing active file in global search (#803)Ethan Frei2021-10-08
|/
* fix clippy warnings (#804)Irevoire2021-10-03
|
* Add a bunch of aliases (#797)Irevoire2021-10-03
| | | | | * add a bunch of aliases * apply code review from archseer
* 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: 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: Refactor apply_workspace_edit to remove assertBlaž Hrastnik2021-09-17
| | | | Fixes #698
* Add `no_op` command (#743)Omnikar2021-09-13
| | | | | * Add `no_op` command * Document `no_op` in `remapping.md`
* 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
* 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
|
* Add command to extend to line start or end (#717)Kangwook Lee (이강욱)2021-09-07
|
* 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`
* Change vsp to vs (#647)Ivan Tham2021-08-26
| | | Follow up on #639 to match vim behavior
* Move path util functions from helix-term to helix-core (#650)Kirawi2021-08-25
|