summaryrefslogtreecommitdiff
path: root/fnl/plugins/editor/window-picker.fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-05 01:50:20 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-01-05 01:50:20 +0100
commit2a94573f54c69a9af7536586ab2c03eb88bda5e7 (patch)
tree48e430773d56baef8c751fb8a6b4d76303b61636 /fnl/plugins/editor/window-picker.fnl
parent16198ca3bcd0ddd61f8d18280769c6f226b2b7ce (diff)
Refactor
Diffstat (limited to 'fnl/plugins/editor/window-picker.fnl')
-rw-r--r--fnl/plugins/editor/window-picker.fnl19
1 files changed, 0 insertions, 19 deletions
diff --git a/fnl/plugins/editor/window-picker.fnl b/fnl/plugins/editor/window-picker.fnl
deleted file mode 100644
index e396ce1..0000000
--- a/fnl/plugins/editor/window-picker.fnl
+++ /dev/null
@@ -1,19 +0,0 @@
-;; Trim whitespaces on save.
-
-(local opts {:other_win_hl_color "#171717"
- :fg_color "#E1E1E1"
- :selection_chars :MNEIOARSTG})
-
-(fn pick-window []
- (let [window-picker (require :window-picker)]
- (let [win (window-picker.pick_window)]
- (if (not= win nil)
- (vim.api.nvim_set_current_win win)))))
-
-(fn config []
- (let [window-picker (require :window-picker)]
- (window-picker.setup opts)
- (vim.keymap.set :n :<C-s> (fn []
- (pick-window)) {})))
-
-{1 :s1n7ax/nvim-window-picker :event :BufReadPost :version :2.0.0 : config}