feat: Add cutlass.nvim
This commit is contained in:
parent
dba8847475
commit
b35c84dcbd
3 changed files with 40 additions and 2 deletions
17
flake.lock
17
flake.lock
|
@ -228,6 +228,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"plugins-cutlass-nvim": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1702908963,
|
||||
"narHash": "sha256-zmS/JlcGW8hLWla01F2z9QMfnIYvWr5BkPCoZqzsAFw=",
|
||||
"owner": "gbprod",
|
||||
"repo": "cutlass.nvim",
|
||||
"rev": "1ac7e4b53d79410be52a9e464d44c60556282b3e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "gbprod",
|
||||
"repo": "cutlass.nvim",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"plugins-nvim-emmet": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
|
@ -249,6 +265,7 @@
|
|||
"neovim-nightly-overlay": "neovim-nightly-overlay",
|
||||
"nixCats": "nixCats",
|
||||
"nixpkgs": "nixpkgs_2",
|
||||
"plugins-cutlass-nvim": "plugins-cutlass-nvim",
|
||||
"plugins-nvim-emmet": "plugins-nvim-emmet"
|
||||
}
|
||||
},
|
||||
|
|
10
flake.nix
10
flake.nix
|
@ -11,11 +11,16 @@
|
|||
url = "github:nix-community/neovim-nightly-overlay";
|
||||
};
|
||||
|
||||
"plugins-nvim-emmet" = {
|
||||
plugins-nvim-emmet = {
|
||||
url = "github:olrtg/nvim-emmet";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
plugins-cutlass-nvim = {
|
||||
url = "github:gbprod/cutlass.nvim";
|
||||
flake = false;
|
||||
};
|
||||
|
||||
# see :help nixCats.flake.inputs
|
||||
# If you want your plugin to be loaded by the standard overlay,
|
||||
# i.e. if it wasnt on nixpkgs, but doesnt have an extra build step.
|
||||
|
@ -323,9 +328,10 @@
|
|||
kulala-nvim
|
||||
|
||||
# Custom
|
||||
rose-pine
|
||||
cutlass-nvim
|
||||
diffview-nvim
|
||||
nvim-emmet
|
||||
rose-pine
|
||||
treesj
|
||||
vim-caddyfile
|
||||
];
|
||||
|
|
15
lua/plugins/cutlass-nvim.lua
Normal file
15
lua/plugins/cutlass-nvim.lua
Normal file
|
@ -0,0 +1,15 @@
|
|||
return {
|
||||
{
|
||||
'gbprod/cutlass.nvim',
|
||||
event = 'BufReadPost',
|
||||
opts = {
|
||||
cut_key = 'x',
|
||||
override_del = true,
|
||||
registers = {
|
||||
select = '_',
|
||||
delete = '_',
|
||||
change = '_',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
Loading…
Reference in a new issue