Notes on Lazyvim
Table of Contents
To setup lazyvim for development:- Lazy Vim for Ambitious developers.
Custom Plugin Edits:
options.lua
vim.opt.clipboard = "unnamedplus"
vim.opt.relativenumber = false
colorscheme.lua
return {
-- Configure LazyVim to load gruvbox
{
"LazyVim/LazyVim",
opts = {
colorscheme = "catppuccin-frappe",
},
},
}
fzf.lua
return {
{
"ibhagwan/fzf-lua",
opts = function(_, _)
return {
defaults = {
formatter = "path.filename_first",
},
}
end,
},
}
ionide.lua
return {
{
"ionide/Ionide-vim",
lazy = true,
},
}
mini-files.lua
return {
{
"echasnovski/mini.files",
opts = {
windows = {
-- Width of preview window
width_preview = 100,
},
},
},
}
neogen.lua
return {
{
"danymat/neogen",
opts = {
languages = {
cs = {
template = {
annotation_convention = "xmldoc", -- for a full list of annotation_conventions, see supported-languages below,
},
},
},
},
},
}
nvim-spider.lua
return {
{
"chrisgrieser/nvim-spider",
lazy = true,
opts = {},
keys = {
{
"w",
"<cmd>lua require('spider').motion('w')<CR>",
mode = { "n", "o", "x" },
desc = "Move to start of next of word",
},
{
"e",
"<cmd>lua require('spider').motion('e')<CR>",
mode = { "n", "o", "x" },
desc = "Move to end of word",
},
{
"b",
"<cmd>lua require('spider').motion('b')<CR>",
mode = { "n", "o", "x" },
desc = "Move to start of previous word",
},
},
},
}
rip-substitue.lua
return {
"chrisgrieser/nvim-rip-substitute",
keys = {
{
"g/",
function()
require("rip-substitute").sub()
end,
mode = { "n", "x" },
desc = "Rip Substitute",
},
},
}
csharp.json
{
"Boilerplate Class With Namespace" : {
"prefix": "tcsn",
"description": "A default class with namespace",
"body": [
"namespace $1;",
"",
"${2:public} ${3:static} ${4:class} ${5:class_name} {",
"${6}",
"}"
]
},
"Boilerplate Class" : {
"prefix": "tclass",
"description": "A default class",
"body": [
"${1:public} ${2:static} ${3:class} ${4:class_name} {",
"${5}",
"}"
]
}
}