mirror of
https://github.com/Hydroxycarbamide/astrovim_user.git
synced 2025-05-08 13:59:07 -04:00
Compare commits
3 commits
0f119de936
...
caad93bd07
Author | SHA1 | Date | |
---|---|---|---|
caad93bd07 | |||
ebc7c1077f | |||
dcd6af00f6 |
4 changed files with 25 additions and 4 deletions
|
@ -8,6 +8,7 @@ return {
|
||||||
{ import = "astrocommunity.pack.lua" },
|
{ import = "astrocommunity.pack.lua" },
|
||||||
-- import/override with your plugins folder
|
-- import/override with your plugins folder
|
||||||
{ import = "astrocommunity.colorscheme.catppuccin" },
|
{ import = "astrocommunity.colorscheme.catppuccin" },
|
||||||
|
{ import = "astrocommunity.colorscheme.rose-pine" },
|
||||||
--{ import = "astrocommunity.scrolling.nvim-scrollbar" },
|
--{ import = "astrocommunity.scrolling.nvim-scrollbar" },
|
||||||
{ import = "astrocommunity.scrolling.satellite-nvim" },
|
{ import = "astrocommunity.scrolling.satellite-nvim" },
|
||||||
{ import = "astrocommunity.scrolling.neoscroll-nvim" },
|
{ import = "astrocommunity.scrolling.neoscroll-nvim" },
|
||||||
|
|
|
@ -69,6 +69,18 @@ return {
|
||||||
["<Leader>b"] = { desc = "Buffers" },
|
["<Leader>b"] = { desc = "Buffers" },
|
||||||
-- quick save
|
-- quick save
|
||||||
-- ["<C-s>"] = { ":w!<cr>", desc = "Save File" }, -- change description but the same command
|
-- ["<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 = {
|
t = {
|
||||||
-- setting a mapping to false will disable it
|
-- setting a mapping to false will disable it
|
||||||
|
|
|
@ -82,7 +82,7 @@ return {
|
||||||
-- mappings to be set up on attaching of a language server
|
-- mappings to be set up on attaching of a language server
|
||||||
mappings = {
|
mappings = {
|
||||||
n = {
|
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
|
-- 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 = {
|
-- gD = {
|
||||||
-- function() vim.lsp.buf.declaration() end,
|
-- function() vim.lsp.buf.declaration() end,
|
||||||
|
|
|
@ -7,14 +7,21 @@ return {
|
||||||
|
|
||||||
-- == Examples of Adding Plugins ==
|
-- == Examples of Adding Plugins ==
|
||||||
|
|
||||||
"andweeb/presence.nvim",
|
-- "andweeb/presence.nvim",
|
||||||
{
|
{
|
||||||
"ray-x/lsp_signature.nvim",
|
"ray-x/lsp_signature.nvim",
|
||||||
event = "BufRead",
|
event = "BufRead",
|
||||||
config = function() require("lsp_signature").setup() end,
|
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
|
-- customize alpha options
|
||||||
{
|
{
|
||||||
|
@ -84,6 +91,7 @@ return {
|
||||||
|
|
||||||
{
|
{
|
||||||
"Exafunction/codeium.nvim",
|
"Exafunction/codeium.nvim",
|
||||||
|
enabled = false,
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue