diff --git a/lua/community.lua b/lua/community.lua index 7d23ee9..b8d5c80 100644 --- a/lua/community.lua +++ b/lua/community.lua @@ -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" }, diff --git a/lua/plugins/astrocore.lua b/lua/plugins/astrocore.lua index b3f2042..69517d6 100644 --- a/lua/plugins/astrocore.lua +++ b/lua/plugins/astrocore.lua @@ -69,6 +69,18 @@ return { ["b"] = { desc = "Buffers" }, -- quick save -- [""] = { ":w!", 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 diff --git a/lua/plugins/astrolsp.lua b/lua/plugins/astrolsp.lua index e07558d..9e512c0 100644 --- a/lua/plugins/astrolsp.lua +++ b/lua/plugins/astrolsp.lua @@ -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, diff --git a/lua/plugins/user.lua b/lua/plugins/user.lua index 32d720f..ca55607 100644 --- a/lua/plugins/user.lua +++ b/lua/plugins/user.lua @@ -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",