mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-12-12 00:58:58 -05:00
neovim: add hop.nvim
This commit is contained in:
parent
54dcfc154d
commit
4fc3c5d6a0
@ -107,7 +107,12 @@ wk.register({
|
|||||||
['<C-n>'] = {':NvimTreeToggle<CR>', 'NvimTree'},
|
['<C-n>'] = {':NvimTreeToggle<CR>', 'NvimTree'},
|
||||||
|
|
||||||
-- ToggleTerm
|
-- ToggleTerm
|
||||||
['<C-\\>'] = {':ToggleTerm<CR>', 'Toggle terminal'}
|
['<C-\\>'] = {':ToggleTerm<CR>', 'Toggle terminal'},
|
||||||
|
|
||||||
|
-- hop.nvim
|
||||||
|
s = {':HopWord<CR>', 'Hop to word'},
|
||||||
|
S = {':HopChar1<CR>', 'Hop to character'},
|
||||||
|
['<A-s>'] = {':HopPattern<CR>', 'Hop to pattern'}
|
||||||
})
|
})
|
||||||
|
|
||||||
-----------------------------------
|
-----------------------------------
|
||||||
|
@ -243,7 +243,14 @@ return require('packer').startup(
|
|||||||
}
|
}
|
||||||
use {
|
use {
|
||||||
'machakann/vim-sandwich',
|
'machakann/vim-sandwich',
|
||||||
event = 'BufRead'
|
keys = {'sa', 'sd', 'sr'}
|
||||||
|
}
|
||||||
|
use {
|
||||||
|
'phaazon/hop.nvim',
|
||||||
|
cmd = {'HopChar1', 'HopChar2', 'HopWord', 'HopPattern', 'HopLine'},
|
||||||
|
config = function()
|
||||||
|
require('hop').setup{keys = 'etovxqpdygfblzhckisuran'}
|
||||||
|
end
|
||||||
}
|
}
|
||||||
use {
|
use {
|
||||||
'junegunn/vim-easy-align',
|
'junegunn/vim-easy-align',
|
||||||
@ -313,6 +320,7 @@ return require('packer').startup(
|
|||||||
end
|
end
|
||||||
}
|
}
|
||||||
|
|
||||||
-- TODO: lspsaga, orgmode.nvim, TrueZen/zen-mode, nvim-lint, vim-spectre, nvim-dap, hop.nvim, dial.nvim, asynctasks.nvim
|
-- TODO: lspsaga, orgmode.nvim, zen-mode.nvim, nvim-lint, format(ter).nvim, rest.nvim,
|
||||||
|
-- sqls.nvim, symbols-outline.nvim, nvim-spectre, nvim-dap, dial.nvim, asynctasks.nvim
|
||||||
end
|
end
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user