Compare commits

...

3 commits

4 changed files with 25 additions and 4 deletions

View file

@ -8,6 +8,7 @@ return {
{ import = "astrocommunity.pack.lua" },
-- import/override with your plugins folder
{ import = "astrocommunity.colorscheme.catppuccin" },
{ import = "astrocommunity.colorscheme.rose-pine" },
--{ import = "astrocommunity.scrolling.nvim-scrollbar" },
{ import = "astrocommunity.scrolling.satellite-nvim" },
{ import = "astrocommunity.scrolling.neoscroll-nvim" },

View file

@ -69,6 +69,18 @@ return {
["<Leader>b"] = { desc = "Buffers" },
-- quick save
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
["gh"] = {
"0",
desc = "Goto line start"
},
["gl"] = {
"$",
desc = "Goto line end"
},
["gs"] = {
"^",
desc = "Goto first non-blank in line"
}
},
t = {
-- setting a mapping to false will disable it

View file

@ -82,7 +82,7 @@ return {
-- mappings to be set up on attaching of a language server
mappings = {
n = {
gl = { function() vim.diagnostic.open_float() end, desc = "Hover diagnostics" },
-- gl = { function() vim.diagnostic.open_float() end, desc = "Hover diagnostics" },
-- a `cond` key can provided as the string of a server capability to be required to attach, or a function with `client` and `bufnr` parameters from the `on_attach` that returns a boolean
-- gD = {
-- function() vim.lsp.buf.declaration() end,

View file

@ -7,14 +7,21 @@ return {
-- == Examples of Adding Plugins ==
"andweeb/presence.nvim",
-- "andweeb/presence.nvim",
{
"ray-x/lsp_signature.nvim",
event = "BufRead",
config = function() require("lsp_signature").setup() end,
},
-- == Examples of Overriding Plugins ==
{
"iamcco/markdown-preview.nvim",
cmd = { "MarkdownPreviewToggle", "MarkdownPreview", "MarkdownPreviewStop" },
build = "cd app && npm install",
init = function()
vim.g.mkdp_filetypes = { "markdown" }
end,
ft = { "markdown" },
},
-- customize alpha options
{
@ -84,6 +91,7 @@ return {
{
"Exafunction/codeium.nvim",
enabled = false,
dependencies = {
"nvim-lua/plenary.nvim",
"hrsh7th/nvim-cmp",