Add hop and keymaps

This commit is contained in:
Evie Litherland-Smith 2023-04-24 11:39:37 +01:00
parent fe492f7396
commit 4df98c9468
3 changed files with 10 additions and 0 deletions

View file

@ -9,6 +9,7 @@ return {
},
dashboard = true,
gitsigns = true,
hop = true,
indent_blankline = {
enabled = true,
colored_indent_levels = true,

View file

@ -26,6 +26,10 @@ vim.keymap.set("n", "<leader>fs", "<cmd>Telescope treesitter<cr>")
vim.keymap.set("n", "<leader>fz", "<cmd>Telescope current_buffer_fuzzy_find<cr>")
vim.keymap.set("n", "<leader>fp", "<cmd>Telescope projects<cr>")
-- Hop
vim.keymap.set("n", "<leader>hw", "<cmd>HopWord<cr>")
vim.keymap.set("n", "<leader>hl", "<cmd>HopLine<cr>")
-- Neotree
vim.keymap.set("n", "<leader>nn", "<cmd>Neotree float reveal reveal_force_cwd<cr>")
vim.keymap.set("n", "<leader>nb", "<cmd>Neotree toggle show buffers right<cr>")

View file

@ -0,0 +1,5 @@
return {
'phaazon/hop.nvim',
cmd = {"HopWord", "HopLine"},
config = true,
}