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