aboutsummaryrefslogtreecommitdiff
path: root/helix-term/src/commands.rs
Commit message (Collapse)AuthorAge
* Make picker take the whole context, not just editorBlaž Hrastnik2021-11-07
|
* 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
| |
| * 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
| * 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>
| * 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 branch 'master' into debugBlaž Hrastnik2021-10-17
|\|
| * 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 command descriptionsDmitry Sharshakov2021-10-09
| |
* | Merge branch 'master' into debugDmitry Sharshakov2021-10-09
|\|
| * 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
* | editor: support setExceptionBreakpointsDmitry Sharshakov2021-09-26
| |
* | Merge branch 'master' into debugDmitry Sharshakov2021-09-25
|\|
| * 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`