diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-02 03:28:35 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2022-07-02 03:28:35 +0200 |
commit | d0a76f4574313e004606d11deba2f50f0417fa9d (patch) | |
tree | 3d295bc78e4796a0d431b9a8ceda7951db0f9dc4 | |
parent | 1b534d96b4689145770363cc6c6877ca7e41a904 (diff) |
Replace lightspeed with hop
-rw-r--r-- | fnl/config/hop.fnl | 8 | ||||
-rw-r--r-- | fnl/config/init.fnl | 2 | ||||
-rw-r--r-- | fnl/config/lightspeed.fnl | 5 | ||||
-rw-r--r-- | fnl/plugins.fnl | 2 |
4 files changed, 10 insertions, 7 deletions
diff --git a/fnl/config/hop.fnl b/fnl/config/hop.fnl new file mode 100644 index 0000000..f623c0f --- /dev/null +++ b/fnl/config/hop.fnl @@ -0,0 +1,8 @@ +;; Hopping in text. +(module config.hop {autoload {util util nvim aniseed.nvim}}) + +(let [hop (util.load-plugin :hop)] + (hop.setup {})) + +(nvim.set_keymap :n :s ":HopChar2<cr>" {:silent true}) +(nvim.set_keymap :n :S ":HopWord<cr>" {:silent true}) diff --git a/fnl/config/init.fnl b/fnl/config/init.fnl index b0ec185..c99f5f1 100644 --- a/fnl/config/init.fnl +++ b/fnl/config/init.fnl @@ -9,7 +9,7 @@ config.colorscheme config.comment config.gitsigns - config.lightspeed + config.hop config.lualine config.nvim-tree config.orgmode diff --git a/fnl/config/lightspeed.fnl b/fnl/config/lightspeed.fnl deleted file mode 100644 index 46700aa..0000000 --- a/fnl/config/lightspeed.fnl +++ /dev/null @@ -1,5 +0,0 @@ -;; Hopping in text. -(module config.lightspeed {autoload {util util nvim aniseed.nvim}}) - -(let [lightspeed (util.load-plugin :lightspeed)] - (lightspeed.setup {})) diff --git a/fnl/plugins.fnl b/fnl/plugins.fnl index 774e3ec..455611d 100644 --- a/fnl/plugins.fnl +++ b/fnl/plugins.fnl @@ -56,7 +56,7 @@ :folke/which-key.nvim {} :folke/zen-mode.nvim {} :windwp/nvim-spectre {} - :ggandor/lightspeed.nvim {} + :phaazon/hop.nvim {} :kevinhwang91/nvim-bqf {} :norcalli/nvim-colorizer.lua {} :max397574/better-escape.nvim {} |