Adds nvim config as home manager module
This commit is contained in:
parent
5a9ad9bbd1
commit
98f4a6679e
34 changed files with 1260 additions and 0 deletions
16
home/modules/nvim/config/lua/plugins/substitute.lua
Normal file
16
home/modules/nvim/config/lua/plugins/substitute.lua
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
return {
|
||||
"gbprod/substitute.nvim",
|
||||
opts = {
|
||||
-- your configuration comes here
|
||||
-- or leave it empty to use the default settings
|
||||
-- refer to the configuration section below
|
||||
},
|
||||
config = function()
|
||||
require("substitute").setup({})
|
||||
|
||||
vim.keymap.set("n", "s", require("substitute").operator, { noremap = true })
|
||||
vim.keymap.set("n", "ss", require("substitute").line, { noremap = true })
|
||||
vim.keymap.set("n", "S", require("substitute").eol, { noremap = true })
|
||||
vim.keymap.set("x", "s", require("substitute").visual, { noremap = true })
|
||||
end,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue