Add hop and keymaps
This commit is contained in:
parent
fe492f7396
commit
4df98c9468
|
@ -9,6 +9,7 @@ return {
|
|||
},
|
||||
dashboard = true,
|
||||
gitsigns = true,
|
||||
hop = true,
|
||||
indent_blankline = {
|
||||
enabled = true,
|
||||
colored_indent_levels = true,
|
||||
|
|
|
@ -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>")
|
||||
|
|
5
config/nvim/lua/plugins/hop.lua
Normal file
5
config/nvim/lua/plugins/hop.lua
Normal file
|
@ -0,0 +1,5 @@
|
|||
return {
|
||||
'phaazon/hop.nvim',
|
||||
cmd = {"HopWord", "HopLine"},
|
||||
config = true,
|
||||
}
|
Loading…
Reference in a new issue