Add key to hop in line.

This commit is contained in:
juan 2022-04-09 21:42:39 +08:00
parent aa1aacc793
commit b91841c0a6
Signed by: juan
GPG Key ID: 5C1E5093C74F1DC7
2 changed files with 5 additions and 7 deletions

View File

@ -39,6 +39,8 @@ vim.api.nvim_set_keymap('', '<leader>/', ':CommentToggle<cr>', {silent = true})
-- toggle Hop -- toggle Hop
vim.api.nvim_set_keymap('', '<leader>b', ':HopWordBC<cr>', {silent = true}) vim.api.nvim_set_keymap('', '<leader>b', ':HopWordBC<cr>', {silent = true})
vim.api.nvim_set_keymap('', '<leader>w', ':HopWordAC<cr>', {silent = true}) vim.api.nvim_set_keymap('', '<leader>w', ':HopWordAC<cr>', {silent = true})
vim.api.nvim_set_keymap('', '<leader>l', ':HopWordCurrentLine<cr>',
{silent = true})
-- telescope stuff -- telescope stuff
vim.api.nvim_set_keymap('', '<leader>tf', ':Telescope fd<cr>', {silent = true}) vim.api.nvim_set_keymap('', '<leader>tf', ':Telescope fd<cr>', {silent = true})
vim.api.nvim_set_keymap('', '<leader>tb', ':Telescope buffers<cr>', vim.api.nvim_set_keymap('', '<leader>tb', ':Telescope buffers<cr>',

View File

@ -12,8 +12,8 @@ require('packer').init {
clone_timeout = 600 -- Timeout, in seconds, for git clones clone_timeout = 600 -- Timeout, in seconds, for git clones
}, },
auto_clean = true, auto_clean = true,
compile_on_sync = true compile_on_sync = true,
-- auto_reload_compiled = true auto_reload_compiled = true
} }
return require('packer').startup(function(use) return require('packer').startup(function(use)
@ -60,11 +60,7 @@ return require('packer').startup(function(use)
run = ':COQdeps', run = ':COQdeps',
config = function() require "plugins.coq" end config = function() require "plugins.coq" end
} }
use { use {'ms-jpq/coq.artifacts', after = 'coq_nvim', branch = 'artifacts'}
'ms-jpq/coq.artifacts',
after = 'coq_nvim',
branch = 'artifacts'
}
use { use {
'ms-jpq/coq.thirdparty', 'ms-jpq/coq.thirdparty',
branch = '3p', branch = '3p',