From a602651b84f697c5ce399e1f79f2a7502e250d73 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Thu, 5 Dec 2024 16:35:34 -0800 Subject: [PATCH] [nvim] rm peekaboo --- .config/nvim/fnl/peekaboo.fnl | 19 ------------------- .gitmodules | 4 ---- .../share/nvim/site/pack/alpha/start/peekaboo | 1 - 3 files changed, 24 deletions(-) delete mode 100644 .config/nvim/fnl/peekaboo.fnl delete mode 160000 .local/share/nvim/site/pack/alpha/start/peekaboo diff --git a/.config/nvim/fnl/peekaboo.fnl b/.config/nvim/fnl/peekaboo.fnl deleted file mode 100644 index cd47d72..0000000 --- a/.config/nvim/fnl/peekaboo.fnl +++ /dev/null @@ -1,19 +0,0 @@ -(local {: floor} math) -(local {: columns : lines} vim.o) -(local {:nvim_create_buf nvim-create-buf :nvim_open_win nvim-open-win} vim.api) - -;; https://github.com/junegunn/vim-peekaboo/issues/68/#issuecomment-1013782594 -(fn [] - (let [width (floor (* columns 0.8)) - height (floor (* lines 0.8)) - row (- (/ (- lines height) 2) 1) - col (/ (- columns width) 2) - opts {:relative :editor - : row - : col - : width - : height - :style :minimal - :border :rounded} - buf (nvim-create-buf false true)] - (nvim-open-win buf true opts))) diff --git a/.gitmodules b/.gitmodules index ec1744b..84b8dc9 100644 --- a/.gitmodules +++ b/.gitmodules @@ -155,7 +155,3 @@ path = .local/share/nvim/site/pack/alpha/start/dispatch url = https://github.com/tpope/vim-dispatch.git branch = master -[submodule "peekaboo"] - path = .local/share/nvim/site/pack/alpha/start/peekaboo - url = https://github.com/junegunn/vim-peekaboo.git - branch = master diff --git a/.local/share/nvim/site/pack/alpha/start/peekaboo b/.local/share/nvim/site/pack/alpha/start/peekaboo deleted file mode 160000 index cc4469c..0000000 --- a/.local/share/nvim/site/pack/alpha/start/peekaboo +++ /dev/null @@ -1 +0,0 @@ -Subproject commit cc4469c204099c73dd7534531fa8ba271f704831