[nvim] rm peekaboo
change
commit a602651b84f697c5ce399e1f79f2a7502e250d73
author Alpha Chen <alpha.chen@brilliant.org>
date
parent 71d2859e
diff --git a/.config/nvim/fnl/peekaboo.fnl b/.config/nvim/fnl/peekaboo.fnl
deleted file mode 100644
index cd47d722..00000000
--- 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 ec1744bf..84b8dc97 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 cc4469c2..00000000
--- a/.local/share/nvim/site/pack/alpha/start/peekaboo
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit cc4469c204099c73dd7534531fa8ba271f704831