chore: replaced nvim-coc with nvim-cmp because coc was acting weird
This commit is contained in:
parent
a84efb27cd
commit
76d6b506c7
7 changed files with 239 additions and 211 deletions
6
.config/nvim/lua/plugins/silicon.lua
Normal file
6
.config/nvim/lua/plugins/silicon.lua
Normal 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 )
|
Loading…
Add table
Add a link
Reference in a new issue