replaced nvim-coc with nvim-cmp because coc was acting weird

This commit is contained in:
Afonso Franco 2022-11-14 03:00:43 +00:00
parent 9f35ac025e
commit 6f7e44154c
Signed by: afonso
GPG key ID: C459E0BB3DCEE899
7 changed files with 239 additions and 211 deletions

View file

@ -0,0 +1,6 @@
local present, silicon = pcall(require,'silicon')
-- Generate image of lines in a visual selection
vim.keymap.set('v', '<Leader>s', function() silicon.visualise_api() end )
-- Generate image of a whole buffer, with lines in a visual selection highlighted
vim.keymap.set('v', '<Leader>bs', function() silicon.visualise_api({to_clip = true, show_buf = true}) end )