Skip to content

Commit

Permalink
refactor(yazi): adapt to new btime term setting
Browse files Browse the repository at this point in the history
  • Loading branch information
mikavilpas committed Oct 24, 2024
1 parent 7b19a52 commit 05deefd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .config/yazi/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require("session"):setup({
sync_yanked = true,
})

require("yaziline"):setup()
-- require("yaziline"):setup()

-- https://github.com/yazi-rs/plugins/tree/main/git.yazi
require("git"):setup({})
8 changes: 4 additions & 4 deletions .config/yazi/keymap.toml
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,10 @@ keymap = [
{ on = ["N"], run = "find_arrow --previous", desc = "Go to previous found file" },

# Sorting
{ on = [",", "m"], run = "sort modified --dir-first", desc = "Sort by modified time" },
{ on = [",", "M"], run = "sort modified --reverse --dir-first", desc = "Sort by modified time (reverse)" },
{ on = [",", "c"], run = "sort created --dir-first", desc = "Sort by created time" },
{ on = [",", "C"], run = "sort created --reverse --dir-first", desc = "Sort by created time (reverse)" },
{ on = [",", "m"], run = "sort btime --dir-first", desc = "Sort by modified time" },
{ on = [",", "M"], run = "sort btime --reverse --dir-first", desc = "Sort by modified time (reverse)" },
{ on = [",", "c"], run = "sort btime --dir-first", desc = "Sort by created time" },
{ on = [",", "C"], run = "sort btime --reverse --dir-first", desc = "Sort by created time (reverse)" },
{ on = [",", "e"], run = "sort extension --dir-first", desc = "Sort by extension" },
{ on = [",", "E"], run = "sort extension --reverse --dir-first", desc = "Sort by extension (reverse)" },
{ on = [",", "a"], run = "sort alphabetical --dir-first", desc = "Sort alphabetically" },
Expand Down

0 comments on commit 05deefd

Please sign in to comment.