aboutsummaryrefslogtreecommitdiffstats
path: root/src/command/client/search (unfollow)
Commit message (Collapse)Author
2023-04-14Workspace reorder (#868)Vladislav Stepanov
* Try different workspace structure Move main crate (atuin) to be on the same level with other crates in this workspace * extract common dependencies to the workspace definition * fix base64 v0.21 deprecation warning * questionable: update deps & fix chrono deprecations possible panic sites are unchanged, they're just more visible now * Revert "questionable: update deps & fix chrono deprecations" This reverts commit 993e60f8dea81a1625a04285a617959ad09a0866.
2023-04-09Add some emacs movement keys (#857)Jan Larres
2023-03-31Vendor ratatui temporarily (#835)Ellie Huxtable
* Vendor ratatui temporarily Once https://github.com/tui-rs-revival/ratatui/pull/114 has been merged, we can undo this! But otherwise we can't publish to crates.io with a git dependency. * make tests pass * Shush. * these literally just fail in nix, nowhere else idk how to work with nix properly, and they're also not our tests
2023-03-27client filtering done in query (#629)jean-santos
2023-03-26chore: use fork of skim (#803)Conrad Ludgate
* use fuzzy-matcher instead of skim switch to a search-engine abstraction * fmt * fix deprecated warnings
2023-03-25feat: add an inline view mode (#648)Patrick Decat
* add inline viewport * Add inline_height setting. Zero disables inline mode (the default)
2023-03-25Respect exit_mode setting when exiting with arrow down keypress (#807)Patrick Decat
2023-03-23chore: remove tui vendoring (#804)Conrad Ludgate
2023-03-22Allow changing search_mode during interactive search (#586)Krut Patel
* Make search_mode a part of SearchState * Allow changing search mode using ctrl+s * Tweak state reset for switched_search_mode * Improve search_mode display in interactive mode * Incorporate review suggestion * Tweak language * Fix Clippy and format
2023-03-20fix: paste into terminal after switching modes (#793)Hamza Hamud
* fix: paste into terminal after switching modes * fix: remove collect and fix format
2023-03-19skim-demo (#695)Conrad Ludgate
* skim-demo * skim some more * Weight first word match higher (#712) * some improvements * make skim opt-in --------- Co-authored-by: Frank Hamand <frankhamand@gmail.com>
2023-03-14Fixes a bug on windows (#780)YummyOreo
* Fixes the windows double input issue instead of the patchy way * clippy allow
2023-03-08Fix before/after combined with limit (#770)Ellie Huxtable
* Fix before/after combined with limit Mixing filters done in Rust with filters done in SQL is _no bueno_. Been meaning to do this for a while anyways. Search params are getting a bit fat but oh well! * Make an excuse for a big function sig * Do options map_or not if * Fix tests
2023-03-05Windows support (#754)YummyOreo
* adds support for getting home dir in windows * fixes bug * adds windows server support + build for linux ^| todo: test server on linux * improvements to redability * removes comment * returns if windows when importing auto * this should be here, to prevent double inputs * adds explanation to why we have to throw away 1 event in the tui * better message when running atuin import on windows + spell fix
2023-03-05feat: add common default keybindings (#719)Steven Xu
* feat: add common default keybindings * feat: add `WORD_SEPARATORS` to config as `word_chars`, as this is what *Zsh* calls it * feat: add option for *Emacs* word jumping * feat: scroll with `PageUp` and `PageDown`, cf #374
2023-03-05Up arrow filter_mode setting default to global filter mode (#758)Ellie Huxtable
Resolves #756
2023-03-05Show preview of selected command (#643)Patrick Decat
* Only show help if terminal strictly has more than one line * There is no border around the input line in compact mode * Add command preview * Dynamic preview height * Avoid extra allocations Co-authored-by: Conrad Ludgate <oon@conradludgate.com> * Address clippy error * Merge normal and compact views code * Add show_preview setting, disabled by default * Convert `bool` to `int` with `if` for legibility --------- Co-authored-by: Conrad Ludgate <oon@conradludgate.com>
2023-02-24Revert "Remove shortcut numbers (#708)" (#724)Ellie Huxtable
This reverts commit 3fdd4f4591bc573906480c1c700df91ba866a2cb.
2023-02-15Remove shortcut numbers (#708)Ellie Huxtable
* Remove shortcut numbers I was also going to remove the offset so scrolling only happens at the top. But tbh, I quite like it this way. * Remove key binding
2023-02-10make update_needed check lazy (#706)Ellie Huxtable
2023-02-10crossterm support (#331)Conrad Ludgate
* crossterm v2 * patch crossterm * fix-version * no more tui dependency * lints
2023-01-26feat(history): Add new flag to allow custom output format (#662)Baptiste
* feat(history): Add new flag to allow custom output format * more efficient formatting * add user and host * docs Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
2023-01-10chore(#621): Exit atuin when pressing down arrow on most recent entry (#659)Baptiste
Signed-off-by: Baptiste Roux <arte.but.posix@gmail.com> Signed-off-by: Baptiste Roux <arte.but.posix@gmail.com>
2022-12-18Allow overriding filter and search modes from CLI (#635)Patrick Decat
* Allow overriding filter and search modes from CLI arguments * Use session filter mode for bash up key binding * We precisely do not want to add quotes here so that all arguments are properly passed * Add --shell-up-key-binding hidden command argument and filter_mode_shell_up_key_binding configuration option to allow customizing the filter mode used when atuin is invoked from a shell up-key binding * Correct up binding for zsh Co-authored-by: Ellie Huxtable <ellie@elliehuxtable.com>
2022-12-16Switch to using ATUIN_LOG instead of RUST_LOG (#642)Ellie Huxtable
* Switch to using ATUIN_LOG instead of RUST_LOG * Stop clippy complaining * I should know better - clippy is never happy :(
2022-12-03Add support for some additional keys in interactive mode (#634)Patrick Decat
* Ignore tab key in interactive mode * Support home and end keys in interactive mode * Support delete key in interactive mode
2022-11-06Add setting for keeping typed query when exiting (#451)Sam Lanning
* Add option for keeping typed query on escape fixes #422 * chore: Address duplicate if statement blocks
2022-11-06fix #596: Avoid drawing a command section beyond the width of the list (#597)Sam Lanning
* fix #596: Avoid drawing a command section beyond the width of the list * chore: remove unneeded parentheses
2022-11-04Add local event log storage (#390)Ellie Huxtable
* Add event data structures This adds the data structures required to start syncing events, rather than syncing history directly. Adjust event Fix Add event data structure to client * Add server event table sql * Add client event table migration Adjust migration * Insert into event table from client * Add event merge function Right now this just ensures we have the right amount of events given the history we have BUT it will also be used to merge CREATE/DELETE events, resulting in history being deleted :) * Make CI happy * Adjust * we don't limit history length any more * Update atuin-client/src/database.rs Co-authored-by: Conrad Ludgate <conradludgate@gmail.com> * fix usage * Fix typo * New Rust, new clippy stuff Co-authored-by: Conrad Ludgate <conradludgate@gmail.com>
2022-10-14Add automatic update checking (#555)Ellie Huxtable
* Add automatic update checking * Add setting to opt out of update checks * Document options * no * no * also no * Make clippy happy * Update atuin-client/src/settings.rs Co-authored-by: Conrad Ludgate <conradludgate@gmail.com> * fix features Co-authored-by: Conrad Ludgate <conradludgate@gmail.com> Co-authored-by: Conrad Ludgate <conrad.ludgate@truelayer.com>
2022-09-12custom history list (#524)Conrad Ludgate
* use custom list impl * fmt * segment * clean up * fix offsets * fix scroll back space * small touch ups
2022-09-12update default layout (#523)Conrad Ludgate
* update layouts * add other duration changes * fmt :(
2022-09-11better cursor search (#473)Conrad Ludgate
* improve cursor code * proper unicode support * refactor and test * fmt * clippy * move methods to state * refactor search modules