summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2023-12-19Update file_previews.md (#472)Maximilian Ehlers
2023-12-19Fixed syntax errors for scripts provided in docs/image_previews/kitty.md (#468)Tianze Zhu
2023-12-18fix TableJeff Zhao
2023-11-20Merge branch 'main' of github.com:kamiyaa/joshutov0.9.6Jeff Zhao
2023-11-20version bumpJeff Zhao
2023-11-11Add thumbnail for video preview on kitty (#451)Mroik/PositiveC
* Add thumbnail for video preview on kitty * Hide ffmpegthumbnailer output This can cause problems on videos that have some kind of malformation
2023-11-10cargo fmtJeff Zhao
2023-11-10only replace home dir with tilde if it starts from the rootJeff Zhao
2023-11-10[feat] add option to use file_path() with the %p keyword (#431)lali
Use a absolute path where it is needed. like: { keys = ["m", "w"], commands = ["shell swaymsg output * bg %p fit"] }, Signed-off-by: luteran42 <luteranlajos@protonmail.ch>
2023-11-04custom_commands + fallback for the older configurations (#446)Tomasz Durda
* custom_commands + fallback for the older configurations 1. Added custom_commands 2. Implemented custom_search 3. Implemented custom_serach_interactive 4. Added fallback for the command in the keymaps * Docs + missing file * Added two more joshuto scripts --------- Co-authored-by: Tomasz Durda <edotdurda@e-science.pl> Co-authored-by: Jeff Zhao <jeff.no.zhao@gmail.com>
2023-11-04feat: add `focus_on_create` option (#448)Azad
* feat: add `focus_on_create` option * Replace `PathBuf` with `Path` * Minor clippy fix
2023-11-01Merge branch 'main' of github.com:kamiyaa/joshutoJeff Zhao
2023-11-01make input thread a bit more robustJeff Zhao
- this tries to fix the issue where input thread is lagging behind input due to failed message sending
2023-10-23add `norg` extension (#449)xfzv
Co-authored-by: xfzv <>
2023-10-09feat: wezterm cwd compatibility (#439)kennycallado
* add: new cwd utility * Use cwd::set_current_dir to update terminal with current working directory --------- Co-authored-by: kennycallado <kennycallado@hotmail.com>
2023-10-09add `org` extension (#442)xfzv
closes #441 Co-authored-by: xfzv <>
2023-10-09fix: remove the debug info causing the chaos in UI (#444)Ralph Zhou
2023-10-08clippyJeff Zhao
2023-10-08fix unwrap() crashJeff Zhao
2023-10-08Scrollable tab-bar (#437)DLFW
This implements a scrollable tab bar, like discussed in #233. This makes tabs easier to read, better utilizes the space in the top-bar and makes handling many tabs way easier. The display of the current directory has been removed. The current tab will show the directory always in full form. The directories of other tabs will be shown in full form if there is enough space, otherwise, they will be shown in a short form. If the available space in the top-bar is still not sufficient, scroll tags will be added at each end. The long-form is currently defined as the full, absolute path. The short-form is currently defined as the last directory element of the path. The tab-bar is configurable in terms of font styling and style character (like dividers, prefixes, and postfixes). Documentation has been created in a separate file. Collateral impact: * The `tilde_in_titlebar` option for `[display]` in `joshuto.toml` has been removed. (Because the "current dir display" has been removed.) * The `display_mode` option for `[tabs]` in `joshuto.toml` has been removed and with it, also the `tab_bar_mode` command. The appearance of index-numbers in tags is not configurable anymore. Numbers are shown if and only if there are more than one tab. This feature can be re-introduced later in some other form if still desired with the new tab-bar. With the new tab-bar, this configuration option did not make sense the way it was designed. * The `max_len` option for `[tabs]` in `joshuto.toml` has been removed. (Because tabs don't have a fixed width anymore.) * The function/feature of shortening paths by replacing heading path elements with their first character only has been removed. (Because I expect that this hard-to-interpret representation of a path will rarely be beneficial, now that there is a better space utilization in the top bar.) * The "old" tab-bar configuration options have been removed. * A `AppStyleOptionsRaw` struct has been introduced to allow handling of more complex default styling logic. Each styling attribute is defined there as an `Option` to indicate if a styling option has been set by the user or not. * A `PathStyleIfSome` trait is now available in "utils" to patch ratatui styles with another, _optional_ style.
2023-09-26docs: add preview section to joshuto.yml example (#436)radek-sprta
Add preview section to joshuto.yml example configuration as it is defined in the default configuration. Using the example joshuto.yml as the base for custom configuration broke the preview functionality.
2023-09-26Docs: Add note about text preview for img preview (#435)DLFW
The image-preview documentation now contains an extra, more explicit statement that the text preview pane must be shown for a file to trigger the shown-hook script. Should solve #434.
2023-09-26fix: add mutex lock to preview threads (#430)lali
* [fix] add mutex lock to preview threads Do not spawn 100s of threads when I'm holding down the arrow key. * [fix] add mutex lock to preview threads Do not spawn 100s of threads when I'm holding down the arrow key.
2023-09-26update flake (#433)Ruixi-rebirth
2023-09-12feat: extensions for select and filter (#428)Justin Chen
* ✨ feat: extract common parts of selecting operations BREAKING CHANGES: `:select` now uses substring matching, instead of glob matching. * feat: add supports for selecting files with glob and regex * refactor: extract fzf operations * feat: add supports for selecting files via fzf * fix: all selections are toggled without a pattern * refactor: extract common parts of filter operations * feat: add supports for filtering files with glob and regex * docs: add explanations for new commands
2023-09-12update Cargo.lockJeff Zhao
2023-09-12Script to install from the terminal (#427)kennycallado
* update: move nix and docker to utils * feat: script to install from the terminal * doc: add some instructions to install from the terminal * strip the binary on release * udpate: - avoiding deprecated set-output - adds checksum files on release - remove strip step * update dockerignore * fix if checksum file exists --------- Co-authored-by: kennycallado <kennycallado@hotmail.com>
2023-09-11add icon for `WebAssembly` program (`*.wasm`) (#429)xrelkd
2023-09-07rename some typesJeff Zhao
2023-09-07cleanup config codeJeff Zhao
2023-09-04fix error messageJeff Zhao
2023-09-04Add discord link (#426)Jeff Zhao
2023-09-02feat: Add rename_file_append_ext command (#423)rqdmap
* feat: Add rename_file_append_ext command * format code style * swap functionality of two rename command * rename_file_append_base finds the last dot pattern
2023-08-30Add icon for `*.csv` (#422)xrelkd
2023-08-30Install shell completions in `Nix Flake` (#421)xrelkd
* update `flake.lock` Flake lock file updates: • Updated input 'devenv': 'github:cachix/devenv/8d6d129b666778538b76bcb069ab82f813094e5c' (2023-05-30) → 'github:cachix/devenv/3654eb5d47218cfa2d12280ba5ac1ace0a9dd225' (2023-08-30) • Updated input 'devenv/pre-commit-hooks': 'github:cachix/pre-commit-hooks.nix/fb58866e20af98779017134319b5663b8215d912' (2023-04-27) → 'github:cachix/pre-commit-hooks.nix/5843cf069272d92b60c3ed9e55b7a8989c01d4c7' (2023-06-29) • Updated input 'devenv/pre-commit-hooks/flake-utils': 'github:numtide/flake-utils/5aed5285a952e0b949eb3ba02c12fa4fcfef535f' (2022-11-02) → 'github:numtide/flake-utils/a1720a10a6cfe8234c0e93907ffe81be440f4cef' (2023-05-31) • Added input 'devenv/pre-commit-hooks/flake-utils/systems': 'github:nix-systems/default/da67096a3b9bf56a91d16901293e51ba5b49a27e' (2023-04-09) • Updated input 'devenv/pre-commit-hooks/nixpkgs-stable': 'github:NixOS/nixpkgs/9b8e5abb18324c7fe9f07cb100c3cd4a29cda8b8' (2023-03-15) → 'github:NixOS/nixpkgs/c37ca420157f4abc31e26f436c1145f8951ff373' (2023-06-03) • Updated input 'fenix': 'github:nix-community/fenix/9ea56d5de762971f6a7319711bae0532ca454dc9' (2023-05-30) → 'github:nix-community/fenix/76e468cd74a08edcbabb14ce1698ebd2f5fad9d2' (2023-08-29) • Updated input 'fenix/rust-analyzer-src': 'github:rust-lang/rust-analyzer/bc8295255c5bcc293251d47590dcbfd320eaab87' (2023-05-29) → 'github:rust-lang/rust-analyzer/62268e474e9165de0cdb08d3794eec4b6ef1c6cd' (2023-08-28) • Updated input 'flake-parts': 'github:hercules-ci/flake-parts/80717d11615b6f42d1ad2e18ead51193fc15de69' (2023-05-30) → 'github:hercules-ci/flake-parts/59cf3f1447cfc75087e7273b04b31e689a8599fb' (2023-08-01) • Updated input 'flake-parts/nixpkgs-lib': 'github:NixOS/nixpkgs/da45bf6ec7bbcc5d1e14d3795c025199f28e0de0?dir=lib' (2023-04-30) → 'github:NixOS/nixpkgs/9e1960bc196baf6881340d53dccb203a951745a2?dir=lib' (2023-08-01) • Updated input 'flake-root': 'github:srid/flake-root/f1c0b93d05bdbea6c011136ba1a135c80c5b326c' (2023-04-08) → 'github:srid/flake-root/d9a70d9c7a5fd7f3258ccf48da9335e9b47c3937' (2023-08-22) • Updated input 'mission-control': 'github:Platonic-Systems/mission-control/a0c93bd764a3c25e6999397e9f5f119c1b124e38' (2023-05-09) → 'github:Platonic-Systems/mission-control/9d25d9f8d610916fc144f6afc1f064392fbeec1c' (2023-07-28) • Updated input 'nix2container': 'github:nlewo/nix2container/2e0a633344489b3171afe136b820b4602f9d1807' (2023-05-16) → 'github:nlewo/nix2container/ab381a7d714ebf96a83882264245dbd34f0a7ec8' (2023-07-09) • Updated input 'nixpkgs': 'github:NixOS/nixpkgs/5e871d8aa6f57cc8e0dc087d1c5013f6e212b4ce' (2023-05-29) → 'github:NixOS/nixpkgs/3efb0f6f404ec8dae31bdb1a9b17705ce0d6986e' (2023-08-28) • Updated input 'treefmt-nix': 'github:numtide/treefmt-nix/3d352b2b1a46164443aa114bd29d8d208d8a9bd0' (2023-05-30) → 'github:numtide/treefmt-nix/6befd3b6b8544952e0261f054cf16769294bacba' (2023-08-28) • Updated input 'treefmt-nix/nixpkgs': 'github:nixos/nixpkgs/d9f759f2ea8d265d974a6e1259bd510ac5844c5d' (2023-04-08) → 'github:nixos/nixpkgs/ce5e4a6ef2e59d89a971bc434ca8ca222b9c7f5e' (2023-08-10) * install shell completions in `Nix Flake` * add GitHub Actions workflow for checking `Nix Flake`
2023-08-29Add subcommands (#418)xrelkd
* replace `structopt` with `clap` * add subcommand for generating shell completions * add subcommand for showing version * add test cases for testing command line argument parser
2023-08-29command chaining supportJeff Zhao
- breaks existing keymap configs -`command` field is renamed to `commands` - now an array instead of a single string
2023-08-24fix clippyJeff Zhao
2023-08-24Fix: macos build on automated-build (#412)kennycallado
* Update automated-build.yml Testing macos version * Update automated-build.yml Change refs with releases * Update automated-build.yml refs was correct
2023-08-24feat: regex support (#411)Justin Chen
* feat: add the regex support for the matcher * feat: add functions for searching with regex * feat: add commands for searching with regex and change the case sensitivity * docs: add explanations for the new feature
2023-08-23feat: add more icons for multimedia file format (#410)xrelkd
2023-08-19add more formats to mimetype.toml (#405)xfzv
Co-authored-by: xfzv
2023-08-13feat: add `noconfirm` option to `delete_files` command (#400)Azad
2023-08-13docs: add doc for tab bar display mode (#399)Lzzzzzt
* add user & group on footer * linemode have more options * linemode have more options * linemode have more options * make tarbar title not hardcoded * topbar width with modified tab width * change the ellipsis * docs: add doc for tab bar display mode
2023-08-13feat: Add case sensitivity support for searching, selecting and filtering ↵Justin Chen
files (#393) * feat: Add struct and enum definitons for choosing case sensitivity of search * feat: Implement `FromStr` for CaseSensitivity * feat: Add a command to change the configuration of case sensitivity * feat: Add case sensitivity support for search operations * feat: Add case sensitivity support for selection operations * docs: Add explanations for the new feature * feat: Add case sensitivity support for searching with fzf * docs: Add explanations for the new feature * docs: Update documents * feat: Refactor and add case sensitivity support for the filter operation * refactor: Extract codes related to constructing the context for searching * refactor: Extract the common component of searching, selecting and filtering files * refactor: Change the module path and name * feat: Use separate options for case sensitivity configurations * feat: Add support for changing case sensitivity configurations at runtime * docs: Add explanations for the new command
2023-08-12show description in help menu as wellJeff Zhao
2023-08-12code cleanupJeff Zhao
2023-08-12add optional description to keymapsJeff Zhao
2023-08-12add trash support via command line tools instead of libraryJeff Zhao
2023-08-12README.md: add archlinuxcn installation source (#398)Integral