summaryrefslogtreecommitdiff
path: root/xplr/init.lua
diff options
context:
space:
mode:
authorJosh <joshott16@gmail.com>2024-01-01 21:13:49 -0500
committerJosh <joshott16@gmail.com>2024-01-01 21:13:49 -0500
commit4600c02bbfe902c8755587983600623626a8d8da (patch)
tree8bdc6e47d00ce0eee8690a3db8b7d4f952417d8f /xplr/init.lua
parentba2404d4e1666006ecb154df7aab448db9a5f239 (diff)
downloaddotfiles-4600c02bbfe902c8755587983600623626a8d8da.tar.gz
dotfiles-4600c02bbfe902c8755587983600623626a8d8da.zip
starship and xplr updates
Diffstat (limited to 'xplr/init.lua')
-rw-r--r--xplr/init.lua38
1 files changed, 29 insertions, 9 deletions
diff --git a/xplr/init.lua b/xplr/init.lua
index 54e748b..db4f0b5 100644
--- a/xplr/init.lua
+++ b/xplr/init.lua
@@ -1,11 +1,16 @@
version = "0.21.3"
local home = os.getenv("HOME")
+package.path = home
+ .. "/.config/xplr/plugins/?/init.lua;"
+ .. home
+ .. "/.config/xplr/plugins/?.lua;"
+ .. package.path
+
local xpm_path = home .. "/.local/share/xplr/dtomvan/xpm.xplr"
local xpm_url = "https://github.com/dtomvan/xpm.xplr"
-
package.path = package.path
- .. ";"
+.. ";"
.. xpm_path
.. "/?.lua;"
.. xpm_path
@@ -23,13 +28,13 @@ os.execute(
require("xpm").setup({
plugins = {
'dtomvan/xpm.xplr',
- { name = 'sayanarijit/fzf.xplr' },
- { name = 'prncss-xyz/icons.xplr' },
- { 'dtomvan/extra-icons.xplr',
- after = function()
- xplr.config.general.table.row.cols[2] = { format = "custom.icons_dtomvan_col_1" }
- end
- },
+ 'sayanarijit/fzf.xplr',
+ 'gitlab:hartan/web-devicons.xplr',
+ 'sayanarijit/wl-clipboard.xplr',
+ 'sayanarijit/map.xplr',
+ 'sayanarijit/command-mode.xplr',
+ 'sayanarijit/zoxide.xplr',
+ 'sayanarijit/zentable.xplr',
},
auto_install = true,
auto_cleanup = true,
@@ -42,3 +47,18 @@ xplr.config.modes.builtin.default.key_bindings.on_key.x = {
{ SwitchModeCustom = "xpm" },
},
}
+
+require("fzf").setup({
+ mode = "default",
+ key = "ctrl-f",
+ bin = "fzf",
+ recursive = true,
+ enter_dir = true,
+})
+
+require("command-mode").setup()
+require("wl-clipboard").setup()
+require("map").setup()
+require("zoxide").setup()
+require("zentable").setup()
+require("icons").setup()