Age | Commit message (Collapse) | Author |
|
* add: new cwd utility
* Use cwd::set_current_dir to update terminal with current working directory
---------
Co-authored-by: kennycallado <kennycallado@hotmail.com>
|
|
closes #441
Co-authored-by: xfzv <>
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
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.
|
|
* [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.
|
|
|
|
* ✨ 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
|
|
|
|
* 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>
|
|
|
|
|
|
|
|
|
|
|
|
* 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
|
|
|
|
* 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`
|
|
* replace `structopt` with `clap`
* add subcommand for generating shell completions
* add subcommand for showing version
* add test cases for testing command line argument parser
|
|
- breaks existing keymap configs
-`command` field is renamed to `commands`
- now an array instead of a single string
|
|
|
|
* Update automated-build.yml
Testing macos version
* Update automated-build.yml
Change refs with releases
* Update automated-build.yml
refs was correct
|
|
* 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
|
|
|
|
Co-authored-by: xfzv
|
|
|
|
* 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
|
|
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
|
|
|
|
|
|
|
|
|
|
|
|
* added all_selected field in CopyFilePath
* copy_filepath now handle both cases
|
|
* 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
|
|
|
|
options (#385)
* add user & group on footer
* linemode have more options
* linemode have more options
* linemode have more options
|
|
|
|
|
|
|
|
|
|
* feat: Add support for command aliases
* Comply with cargo-fmt style
|
|
|
|
|
|
|
|
|
|
|