diff options
author | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-01-06 17:30:36 -0500 |
---|---|---|
committer | Jiayi Zhao <jeff.no.zhao@gmail.com> | 2019-01-06 17:32:01 -0500 |
commit | d10175338a7ab05b6bc786d4e0fc3723bad68a59 (patch) | |
tree | 7dece31fe47c827e5ab25e7bfb38ab85a01506b5 /config | |
parent | c5e78328ddcc23ebfe6c08cb444477ac3f489fdf (diff) |
move configuration code into config/ folder
- change sort related configuration into its own []
Diffstat (limited to 'config')
-rw-r--r-- | config/joshuto.toml | 9 | ||||
-rw-r--r-- | config/keymap.toml | 10 | ||||
-rw-r--r-- | config/mimetype.toml | 3 |
3 files changed, 18 insertions, 4 deletions
diff --git a/config/joshuto.toml b/config/joshuto.toml index 9cd7c1a..7d0124c 100644 --- a/config/joshuto.toml +++ b/config/joshuto.toml @@ -1,12 +1,13 @@ # sort_type options: size, natural, basename, atime, ctime, mtime, type, random ## currently only supports: natural, mtime sort_type = "natural" -sort_case_sensitive = false -sort_reverse = false -sort_directories_first = true -# show hidden files +[sort_option] show_hidden = false +case_sensitive = false +reverse = false +directories_first = true + show_prerview = true diff --git a/config/keymap.toml b/config/keymap.toml index 4bc64da..6a0050e 100644 --- a/config/keymap.toml +++ b/config/keymap.toml @@ -106,6 +106,16 @@ command = "mkdir" [[mapcommand]] +keys = [ "g", "d" ] +command = "cd" +args = [ "~/Downloads" ] + +[[mapcommand]] +keys = [ "g", "h" ] +command = "cd" +args = [ "~/" ] + +[[mapcommand]] keys = [ "g", "r" ] command = "cd" args = [ "/" ] diff --git a/config/mimetype.toml b/config/mimetype.toml index c6eb19c..2a6e3e3 100644 --- a/config/mimetype.toml +++ b/config/mimetype.toml @@ -47,6 +47,9 @@ ["nano"] ] +"audio/flac" = [ + [ "mpv" ] +] "audio/x-wav" = [ [ "mpv" ] ] |