summaryrefslogtreecommitdiff
path: root/xplr/init.lua
diff options
context:
space:
mode:
authorjoott <josh@ottmail.me>2025-07-30 15:53:29 -0400
committerjoott <josh@ottmail.me>2025-07-30 15:53:29 -0400
commit26694e09e8f5bf2262737312e7ad217118db20de (patch)
treeca55eee2f8c5106c61e747979780d6f393fd24c9 /xplr/init.lua
parent89a596a50ec61b8ebd6040b06a7cab994afd1b3a (diff)
downloaddotfiles-26694e09e8f5bf2262737312e7ad217118db20de.tar.gz
dotfiles-26694e09e8f5bf2262737312e7ad217118db20de.zip
switching to yadm
Diffstat (limited to 'xplr/init.lua')
-rw-r--r--xplr/init.lua62
1 files changed, 0 insertions, 62 deletions
diff --git a/xplr/init.lua b/xplr/init.lua
deleted file mode 100644
index c935ada..0000000
--- a/xplr/init.lua
+++ /dev/null
@@ -1,62 +0,0 @@
-version = "1.0.0"
-
-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
- .. "/?/init.lua"
-
-os.execute(
- string.format(
- "[ -e '%s' ] || git clone '%s' '%s'",
- xpm_path,
- xpm_url,
- xpm_path
- )
-)
-
-require("xpm").setup({
- plugins = {
- 'dtomvan/xpm.xplr',
- 'sayanarijit/fzf.xplr',
- 'gitlab:hartan/web-devicons.xplr',
- 'sayanarijit/wl-clipboard.xplr',
- 'sayanarijit/map.xplr',
- 'sayanarijit/zoxide.xplr',
- 'sayanarijit/zentable.xplr',
- },
- auto_install = true,
- auto_cleanup = true,
-})
-
-xplr.config.modes.builtin.default.key_bindings.on_key.x = {
- help = "xpm",
- messages = {
- "PopMode",
- { SwitchModeCustom = "xpm" },
- },
-}
-
-require("fzf").setup({
- mode = "default",
- key = "ctrl-f",
- bin = "fzf",
- recursive = true,
- enter_dir = true,
-})
-
-require("wl-clipboard").setup()
-require("map").setup()
-require("zoxide").setup()
-require("zentable").setup()
-require("icons").setup()