Added silicon for nvim
This commit is contained in:
parent
b9515b1645
commit
2d42f9e209
|
@ -2,5 +2,6 @@ require('vanten.after.treesitter')
|
|||
require('vanten.after.lsp')
|
||||
require('vanten.after.telescope')
|
||||
require('vanten.after.catppuccin')
|
||||
require('vanten.after.silicon')
|
||||
|
||||
vim.keymap.set("n", "<leader>e", vim.cmd.Ex)
|
||||
|
|
9
dotfiles/nvim/after/silicon.lua
Normal file
9
dotfiles/nvim/after/silicon.lua
Normal file
|
@ -0,0 +1,9 @@
|
|||
local silicon = require('nvim-silicon')
|
||||
|
||||
silicon.setup({
|
||||
theme = "Dracula",
|
||||
to_clipboard = true,
|
||||
})
|
||||
|
||||
vim.keymap.set('n', '<leader>s', silicon.clip, {})
|
||||
vim.keymap.set('v', '<leader>s', silicon.clip, {})
|
|
@ -16,4 +16,5 @@ return {
|
|||
ft = { "markdown" },
|
||||
build = function() vim.fn["mkdp#util#install"]() end,
|
||||
},
|
||||
{ 'michaelrommel/nvim-silicon' },
|
||||
}
|
||||
|
|
7
home-modules/silicon.nix
Normal file
7
home-modules/silicon.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.silicon
|
||||
];
|
||||
}
|
Loading…
Reference in a new issue