mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-07-21 19:24:25 +02:00
added hop.nvim
This commit is contained in:
parent
0b7128cbc0
commit
1f480c6454
3 changed files with 5 additions and 0 deletions
1
init.lua
1
init.lua
|
@ -21,6 +21,7 @@ require('nv-telescope')
|
||||||
require('nv-floaterm')
|
require('nv-floaterm')
|
||||||
require('nv-vim-rooter')
|
require('nv-vim-rooter')
|
||||||
require('nv-lspkind')
|
require('nv-lspkind')
|
||||||
|
require('nv-hop')
|
||||||
|
|
||||||
-- Which Key (Hope to replace with Lua plugin someday)
|
-- Which Key (Hope to replace with Lua plugin someday)
|
||||||
vim.cmd('source ~/.config/nvim/lua/nv-whichkey/init.vim')
|
vim.cmd('source ~/.config/nvim/lua/nv-whichkey/init.vim')
|
||||||
|
|
3
lua/nv-hop/init.lua
Normal file
3
lua/nv-hop/init.lua
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
vim.api.nvim_set_keymap('n', 's', ":HopChar2<cr>", {})
|
||||||
|
vim.api.nvim_set_keymap('n', 'S', ":HopWord<cr>", {})
|
||||||
|
|
|
@ -88,4 +88,5 @@ return require('packer').startup(function()
|
||||||
use 'liuchengxu/vim-which-key'
|
use 'liuchengxu/vim-which-key'
|
||||||
use 'tpope/vim-sleuth'
|
use 'tpope/vim-sleuth'
|
||||||
use 'voldikss/vim-floaterm'
|
use 'voldikss/vim-floaterm'
|
||||||
|
use 'phaazon/hop.nvim'
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue