Adds gvfs support to yazi
This commit is contained in:
parent
709041d5e7
commit
d4ad0cedc2
6 changed files with 82 additions and 16 deletions
|
|
@ -88,3 +88,34 @@ require("yatline"):setup({
|
|||
})
|
||||
|
||||
require("git"):setup()
|
||||
|
||||
require("gvfs"):setup({
|
||||
-- (Optional) Allowed keys to select device.
|
||||
which_keys = "1234567890qwertyuiopasdfghjklzxcvbnm-=[]\\;',./!@#$%^&*()_+{}|:\"<>?",
|
||||
|
||||
-- (Optional) Save file.
|
||||
-- Default: ~/.config/yazi/gvfs.private
|
||||
save_path = os.getenv("HOME") .. "/.config/yazi/gvfs.private",
|
||||
|
||||
-- (Optional) input position. Default: { "top-center", y = 3, w = 60 },
|
||||
-- Position, which is a table:
|
||||
-- `1`: Origin position, available values: "top-left", "top-center", "top-right",
|
||||
-- "bottom-left", "bottom-center", "bottom-right", "center", and "hovered".
|
||||
-- "hovered" is the position of hovered file/folder
|
||||
-- `x`: X offset from the origin position.
|
||||
-- `y`: Y offset from the origin position.
|
||||
-- `w`: Width of the input.
|
||||
-- `h`: Height of the input.
|
||||
input_position = { "center", y = 0, w = 60 },
|
||||
|
||||
-- (Optional) Select where to save passwords. Default: nil
|
||||
-- Available options: "keyring", "pass", or nil
|
||||
password_vault = "keyring",
|
||||
|
||||
-- (Optional) Only need if you set password_vault = "pass"
|
||||
-- Read the guide at SECURE_SAVED_PASSWORD.md to get your key_grip
|
||||
key_grip = "BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB",
|
||||
|
||||
-- (Optional) save password automatically after mounting. Default: false
|
||||
save_password_autoconfirm = true,
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue