minor coq changes and add keybind for gitsigns
This commit is contained in:
parent
223357b591
commit
ae91bba3cf
@ -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})
|
||||
|
@ -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
|
||||
|
@ -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"}}
|
||||
|
Loading…
Reference in New Issue
Block a user