Nvim: restructure all plugins configuration

This commit is contained in:
Robert Kmieć
2022-12-06 01:19:27 +01:00
parent 2b5a09d902
commit ab7595214f
89 changed files with 1477 additions and 879 deletions

View File

@@ -0,0 +1,43 @@
--Plug 'nvim-lua/plenary.nvim'
--Plug 'narutoxy/silicon.lua'
-- Not working well
-- silicon = require('silicon')
-- silicon.setup(
-- {
-- theme = "auto",
-- output = "SILICON_${year}-${month}-${date}_${time}.png", -- auto generate file name based on time (absolute or relative to cwd)
-- bgColor = vim.g.terminal_color_5,
-- bgImage = "", -- path to image, must be png
-- roundCorner = true,
-- windowControls = true,
-- lineNumber = true,
-- font = "monospace",
-- lineOffset = 1, -- from where to start line number
-- linePad = 2, -- padding between lines
-- padHoriz = 80, -- Horizontal padding
-- padVert = 100, -- vertical padding
-- shadowBlurRadius = 10,
-- shadowColor = "#555555",
-- shadowOffsetX = 8,
-- shadowOffsetY = 8,
-- gobble = false, -- enable lsautogobble like feature
-- debug = true, -- enable debug output
-- }
-- )
--
-- -- Generate image of lines in a visual selection
-- vim.keymap.set('v', '<Leader>s', function() silicon.visualise_api({to_clip = false, show_buf = false}) 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 = false, show_buf = true}) end )
-- -- Generate visible portion of a buffer
-- --vim.keymap.set('n', '<Leader>s', function() silicon.visualise_api({to_clip = true, visible = true}) end )
-- -- Generate current buffer line in normal mode
-- --vim.keymap.set('n', '<Leader>s', function() silicon.visualise_api({to_clip = true}) end )
-- Time for silicon.nvim
require('silicon').setup({
font = 'FantasqueSansMono Nerd Font=16',
theme = 'Monokai Extended',
})