minor coq changes and add keybind for gitsigns

This commit is contained in:
juan 2021-11-01 19:29:14 +08:00
parent 223357b591
commit ae91bba3cf
Signed by: juan
GPG Key ID: 5C1E5093C74F1DC7
3 changed files with 4 additions and 2 deletions

View File

@ -22,6 +22,9 @@ vim.api.nvim_set_keymap('i', '!', '!<c-g>u', {noremap = true})
vim.api.nvim_set_keymap('i', '?', '?<c-g>u', {noremap = true})
-- plugin mappings
-- gitsigns
vim.api.nvim_set_keymap('', '<leader>gs', ':Gitsigns toggle_signs<cr>',
{silent = true})
-- lsp stuff
vim.api.nvim_buf_set_keymap(0, 'n', 'K', '<cmd>lua vim.lsp.buf.hover()<CR>',
{noremap = true})

View File

@ -74,7 +74,6 @@ return require('packer').startup(function(use)
config = function()
require("coq_3p") {
{src = "nvimlua", short_name = "nLUA"}, {src = "repl"},
{src = "figlet", short_name = "BIG"}
}
end

View File

@ -1,5 +1,5 @@
vim.g.coq_settings = {
keymap = {recommended = false, pre_select = true},
keymap = {recommended = false}, -- pre_select = true need a way to make tab enter
auto_start = true,
clients = {tabnine = {enabled = true}},
display = {ghost_text = {enabled = false}, icons = {mode = "none"}}