Skip to content

simplyfile.mapping

Rizwanelansyah edited this page May 21, 2024 · 3 revisions

simplyfile.mapping

List of avaible function or variable on simplyfile.mapping module:

open(dir)

if dir is a folder or symlink open cange directory to the dir if dir is a file edit dir on simplyfile explorer

go_to_parent()

go to the parent directory on simplyfile explorer

add()

prompt with vim.ui.input() first and add the file with the name if name ends with "/" create a folder on simplyfile explorer

rename(dir)

rename the dir with the result of vim.ui.input() prompt on simplyfile explorer

delete(dir)

ask with vim.ui.select() first if the answer is Yes delete permanently dir on simplyfile explorer

search()

search for a file/folder on simplyfile explorer

paste(dir)

paste the last register on clipboard on simplyfile explorer path

paste_select(dir)

open a clipboard menu and paste the selected register on clipboard on simplyfile explorer path

refresh(dir)

refresh the file explorer directories

redraw(dir)

redraw the file explorer

default

default mapping for keymaps config

Clone this wiki locally