summaryrefslogtreecommitdiffstats
path: root/config
AgeCommit message (Collapse)Author
2023-08-30Add icon for `*.csv` (#422)xrelkd
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-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 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-12added all_selected field in CopyFilePath (#391)Uros
* added all_selected field in CopyFilePath * copy_filepath now handle both cases
2023-08-04feat: add user & group on foot and make linemode configturable and more ↵Lzzzzzt
options (#385) * add user & group on footer * linemode have more options * linemode have more options * linemode have more options
2023-07-26Separate OpenOffice preview cases (#376)Michael Huang
This commit ports ranger/ranger@9da2b4c which fixes previews with 'ods' and 'odp' filetypes as pandoc does not support them.
2023-07-01Update keymap.toml (#342)Imbolc
Standard vim page-up / page-down bindings
2023-06-30Fix incorrect sort method field in example config (#350)rqdmap
2023-06-26Mention that the preview script should be executable (#343)Imbolc
2023-06-25Tab theme configurable (#317)DLFW
Text style for tabs can be configured within `theme.toml` with the dotted keys `tab.active` and `tab.inactive`. The default style is the same as the former hard-coded style. `theme.toml` has been restructured and comments have been added to give a short documentation on each style item. The documentation (`theme.toml.md`) has been enhanced, and the excerpt of `theme.toml` with additional comments has been removed from there. That way it should be easier for devs to keep docs and the default `theme.toml` in sync, and easier for users when the detail comments can be found in the configuration file itself. The conversion from `AppStyle` to `tui::style::Style` is now provided as a function of `AppStyle` and a `From`-implementation for `Style` to avoid having the same factory code repeating all over.
2023-06-06feat: Support for customizing file icons (#324)Noah Too
closes #308
2023-05-27Add flake support (#297)Ruixi-rebirth
Add flake support
2023-05-07Cleanup preview.sh template (#285)DLFW
* Cleanup preview.sh template Removed ranger residuals and dead code from the preview.sh script and the logic that invokes it. * Remove --[x/y]-coord arguments
2023-04-10add Ctrl+C keymapJeff Zhao
2023-03-30fix --foreground error messageJeff Zhao
2023-02-17new_tab can open specific directories (#256)DLFW
The `new_tab` command got enhanced and can now open a user-specified directory, or the directory of the current tab, or the directory currently highlighted by the cursor. * `new_tab some-dir` opens new tab with directory `some-dir` * `new_tab --current` opens new tab with the same directory as the current tab * `new_tab --cursor` opens new tab with the directory which is currently marked by the cursor The `keymap.toml` documentation got adapted accordingly. The default key-map also got enhanced/changed: * `ctrl-t`: opens tab in default directory * `shift-t`: opens tab in directory of current tab * `alt-t`: opens tab in directory marked by cursor Like before, all new tabs get activated when created. Opening tabs “in the background” is a possible enhancement for the future and might be especially useful for the `--cursor` variant.
2022-11-20add bookmark supportJeff Zhao
2022-10-20Add linemode feature and first simple linemodes (#206)DLFW
This adds the basic ability to change the representation of files in the TUI detailed dir list by letting the user choose a certain "linemode". As of now, there are only three simple linemodes, all showing the filename on the left side and a preceding symlink indicator in the beginning of the right label as usual. The "size" linemode shows the right label as it has been up to now. The "mtime" linemode shows the mtime of the file or directory. The "sizemtime" linemodes combines both meta-data. The user can change the linemode like so: ``` :linemode [size|mtime|sizemtime] ``` Default keybindings have been added: ``ms`` for *size*, ``mm`` for *mtime*, and ``mM`` for *sizemtime*. The selected linemode is specific for each tab. A new tab always starts with the *size* linemode. Possible enhancements: * Move the code for factoring a label out of the ``tui_dirlist_detailed`` module to some UI-independent module * Add a configuration option for the default linemode for new tabs * Add further simple linemodes * Generic support for linemodes with only one “full line label” * Add support for custom linemodes where a label is constructed by an external script
2022-09-11use Result instead of Option for parsing config filesJeff Zhao
2022-09-11add mimetype support via file commandJeff Zhao
2022-09-05add numbered_command to default keymapJeff Zhao
2022-09-04formatJeff Zhao
2022-09-03add symlink relativeJeff Zhao
2022-08-31move numbered_command into command that can be invokedJeff Zhao
This fixes the issue where `numbered_command` conflicts with switch_tab_index - side: change how tabs are rendered for easier visualization
2022-08-30Add "Visual-Mode" (#192)DLFW
* Add "Visual-Mode" This adds a "visual-mode" file selection feature where a range-selection follows the file-cursor. Description of usage is added to the docs. Also, the "normal" and the new "visual-mode-selection" are now preserved when a `DirList` is reloaded. Wrap-up of changes: * Add command `toggle_visual`, mapped to `V` * Add command `escape`, mapped to `ESCAPE` * Add style `[visual_mode_selection]` for file entries which are "temporarily" selected by visual-mode * For `JoshutoDirEntry`, the attribute `selected` has been renamed to `permanent_selected`, and a second selection-attribute `visual_mode_selected` has been added. "Setters" and "getters" have been adapted/added accordingly. The former "getter" for the `selecetd` attribute still exists and returns `True` for an entry which is "permanant selected" _or_ "visual-mode selected". So any higher logic which acts on selected files does not need to care about "how" and entry is selected. * Each `JoshutoDirList` has an optional index of the file where visual-mode has been entered and re-calculates the "visual-mode selecetd" status for each entry any time the cursor-index changes. * The footer has been extended so it shows a "VIS" marker when the user is in visual-mode. This implementation of visual-mode is a bit different from the ranger one, where the visual-selection is turned into a "normal selection" when a command (like `copy-files`) is issued. This implementation keeps both selections separate until the user toggles back to "normal mode". Only then the visual-selection is taken over to the "normal selection". The user also can withdraw the visual-selection with `escape`. The `escape` command may be used also for other "reset"-actions in the future. * fix syntax for Rust stable * cargo clippy
2022-08-13add symlink shortcutJeff Zhao
2022-08-01add `symlink_files` commandJeff Zhao
2022-06-28update configJeff Zhao
2022-05-26add vsplit viewJeff Zhao
2022-05-26Merge branch 'main' of github.com:kamiyaa/joshutoJeff Zhao
2022-05-26split up keymaps into different modesJeff Zhao
2022-05-16add ctrl+h as hidden files toggle (#171)Antoine Bertin
Pretty much like everywhere else on linux
2022-05-14update theme.tomlJeff Zhao
2022-04-22combine --output-dir and --choosefiles into a single argumentJeff Zhao
--output-file is used for all output by joshuto and can be specified what to output by: `quit --output-current-directory` `quit --output-selected-files`
2022-04-20add H, L and M vim actionsJeff Zhao
2022-04-09rename crude to raw again = =;Jeff Zhao
2022-02-24Move half page (#143)sushi-shi
* Add console shortcuts * Add support for proportional page movements
2022-02-23Add incremental search (#140)sushi-shi
2022-02-01code cleanup (#135)DLFW
* code cleanup Remove dead code and unused imports around preview features. * Remove unused config option [display]show_preview * Remove config option [preview]preview_images * Remove unused imports * Remove dead code and unused imports
2022-01-16move preview script into configJeff Zhao
2022-01-16rework file previews to have better argument handlingJeff Zhao
2022-01-13add forking capabilities via xdg_openJeff Zhao
2022-01-09add option to turn off automatic directory reloadingJeff Zhao
2021-12-15add dynamic number of columns (#111)Vinegret43
column_ratio property can now contain only 2 elements
2021-12-05add line numbers (#109)Vinegret43
* add line numbers add command to change line numbers displaying * refactor line numbering code * add navigating by line numbers add NumberedExecute trait for Command * fix line numbering margin bug * add documentation for numbered commands
2021-12-03update mimetype.tomlJeff Zhao
2021-10-25Add avif to default config (#98)nonetrix
Avif is a newish image format that is meant to be better than webp and jpg etc more info here https://jakearchibald.com/2020/avif-has-landed/