neovim: add hop.nvim

This commit is contained in:
FollieHiyuki 2021-07-19 04:04:25 +03:00
parent ab971ea6c7
commit be9665b0e6
No known key found for this signature in database
GPG Key ID: 813CF484F4993419
2 changed files with 16 additions and 3 deletions

View File

@ -107,7 +107,12 @@ wk.register({
['<C-n>'] = {':NvimTreeToggle<CR>', 'NvimTree'},
-- 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'}
})
-----------------------------------

View File

@ -243,7 +243,14 @@ return require('packer').startup(
}
use {
'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 {
'junegunn/vim-easy-align',
@ -313,6 +320,7 @@ return require('packer').startup(
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
)