From 01a09f243ce07d367c539d69d4a7f4541ab1dcd7 Mon Sep 17 00:00:00 2001 From: Squibid Date: Sun, 30 Apr 2023 18:41:13 -0400 Subject: new config old version is now on v1 branch --- after/plugin/sfm.lua | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 after/plugin/sfm.lua (limited to 'after/plugin/sfm.lua') diff --git a/after/plugin/sfm.lua b/after/plugin/sfm.lua new file mode 100644 index 0000000..dcbbe95 --- /dev/null +++ b/after/plugin/sfm.lua @@ -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 = "?", + } +}) -- cgit v1.2.1