From d10175338a7ab05b6bc786d4e0fc3723bad68a59 Mon Sep 17 00:00:00 2001 From: Jiayi Zhao Date: Sun, 6 Jan 2019 17:30:36 -0500 Subject: move configuration code into config/ folder - change sort related configuration into its own [] --- config/joshuto.toml | 9 +++++---- config/keymap.toml | 10 ++++++++++ config/mimetype.toml | 3 +++ 3 files changed, 18 insertions(+), 4 deletions(-) (limited to 'config') 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 @@ -105,6 +105,16 @@ keys = [ "m", "k" ] command = "mkdir" +[[mapcommand]] +keys = [ "g", "d" ] +command = "cd" +args = [ "~/Downloads" ] + +[[mapcommand]] +keys = [ "g", "h" ] +command = "cd" +args = [ "~/" ] + [[mapcommand]] keys = [ "g", "r" ] command = "cd" 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" ] ] -- cgit v1.2.3