mirror of
https://github.com/Hydroxycarbamide/astrovim_user.git
synced 2025-05-07 05:19:08 -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/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" },
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue