summaryrefslogtreecommitdiffstats
path: root/config
AgeCommit message (Collapse)Author
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/
2021-10-20rework config structureJeff Zhao
2021-10-15add fzf subdir jumpingJeff Zhao
2021-10-15deprecate skim over fzfJeff Zhao
2021-10-02change search_skim to SJeff Zhao
2021-10-02Merge branch 'main' into devJeff Zhao
2021-10-02Add a help page (#95)Vinegret43
* add basic help page functionality change search_skim keybind * refactor 'run' function, improve sorting * add search functionality for help page improve some comments in tui_help
2021-09-26Add tab switching by index (#87)Noah Too
* Add tab switching by index
2021-09-25show_workers can close with custom key via --exit-key optionJeff Zhao
2021-09-25rename copy_dirname to copy_dirpathJeff Zhao