chore: replaced nvim-coc with nvim-cmp because coc was acting weird
This commit is contained in:
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 )
|
||||
Reference in New Issue
Block a user