new config old version is now on v1 branch
This commit is contained in:
46
after/plugin/sfm.lua
Normal file
46
after/plugin/sfm.lua
Normal file
@ -0,0 +1,46 @@
|
||||
local status_ok, sfm = pcall(require, "sfm")
|
||||
if not status_ok then
|
||||
return
|
||||
end
|
||||
|
||||
sfm.setup {
|
||||
view = {
|
||||
side = 'right',
|
||||
width = 35,
|
||||
},
|
||||
mappings = {
|
||||
custom_only = false,
|
||||
list = {
|
||||
-- user mappings go here
|
||||
}
|
||||
},
|
||||
renderer = {
|
||||
icons = {
|
||||
file = {
|
||||
default = "#",
|
||||
symlink = "#",
|
||||
},
|
||||
folder = {
|
||||
default = "[|",
|
||||
open = "[/",
|
||||
symlink = "[|",
|
||||
symlink_open = "[/",
|
||||
},
|
||||
indicator = {
|
||||
folder_closed = "",
|
||||
folder_open = "",
|
||||
file = "",
|
||||
}
|
||||
}
|
||||
}
|
||||
}:load_extension('sfm-git', {
|
||||
icons = {
|
||||
unstaged = "+",
|
||||
staged = "S",
|
||||
unmerged = "U",
|
||||
renamed = "r",
|
||||
untracked = "?",
|
||||
deleted = "-",
|
||||
ignored = "?",
|
||||
}
|
||||
})
|
Reference in New Issue
Block a user