Skip to content

Commit 5ebce9f

Browse files
committed
feat(core): Adding plugins and keymappings
0 parents  commit 5ebce9f

28 files changed

+888
-0
lines changed

.neoconf.json

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
"neodev": {
3+
"library": {
4+
"enabled": true,
5+
"plugins": true
6+
}
7+
},
8+
"neoconf": {
9+
"plugins": {
10+
"lua_ls": {
11+
"enabled": true
12+
}
13+
}
14+
},
15+
"lspconfig": {
16+
"lua_ls": {
17+
"Lua.format.enable": false
18+
}
19+
}
20+
}

.stylua.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
column_width = 120
2+
line_endings = "Unix"
3+
indent_type = "Spaces"
4+
indent_width = 2
5+
quote_style = "AutoPreferDouble"
6+
call_parentheses = "None"
7+
collapse_simple_statement = "Always"

.vs/VSWorkspaceState.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"ExpandedNodes": [
3+
"",
4+
"\\lua\\plugins",
5+
"\\lua\\user",
6+
"\\lua\\web"
7+
],
8+
"SelectedNode": "\\neovim.yml",
9+
"PreviewInSolutionExplorer": false
10+
}

.vs/slnx.sqlite

88 KB
Binary file not shown.

Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
2+
[dependencies]
3+
ratatui = "0.27.0" # Ejemplo, ajusta según sea necesario
4+
image = "0.25.1" # Ejemplo, ajusta según sea necesario

README.md

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# AstroNvim Template
2+
3+
**NOTE:** This is for AstroNvim v4+
4+
5+
A template for getting started with [AstroNvim](https://github.com/AstroNvim/AstroNvim)
6+
7+
## 🛠️ Installation
8+
9+
#### Make a backup of your current nvim and shared folder
10+
11+
```shell
12+
mv ~/.config/nvim ~/.config/nvim.bak
13+
mv ~/.local/share/nvim ~/.local/share/nvim.bak
14+
mv ~/.local/state/nvim ~/.local/state/nvim.bak
15+
mv ~/.cache/nvim ~/.cache/nvim.bak
16+
```
17+
18+
#### Create a new user repository from this template
19+
20+
Press the "Use this template" button above to create a new repository to store your user configuration.
21+
22+
You can also just clone this repository directly if you do not want to track your user configuration in GitHub.
23+
24+
#### Clone the repository
25+
26+
```shell
27+
git clone https://github.com/DelgadoElias/nvim-rv ~/.config/nvim
28+
```
29+
30+
#### Start Neovim
31+
32+
```shell
33+
nvim
34+
```

init.lua

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
-- This file simply bootstraps the installation of Lazy.nvim and then calls other files for execution
2+
-- This file doesn't necessarily need to be touched, BE CAUTIOUS editing this file and proceed at your own risk.
3+
local lazypath = vim.env.LAZY or vim.fn.stdpath "data" .. "/lazy/lazy.nvim"
4+
if not (vim.env.LAZY or (vim.uv or vim.loop).fs_stat(lazypath)) then
5+
-- stylua: ignore
6+
vim.fn.system({"git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", "--branch=stable",
7+
lazypath})
8+
end
9+
vim.opt.rtp:prepend(lazypath)
10+
11+
-- validate that lazy is available
12+
if not pcall(require, "lazy") then
13+
-- stylua: ignore
14+
vim.api.nvim_echo({{("Unable to load lazy from: %s\n"):format(lazypath), "ErrorMsg"},
15+
{"Press any key to exit...", "MoreMsg"}}, true, {})
16+
vim.fn.getchar()
17+
vim.cmd.quit()
18+
end
19+
20+
21+
22+
-- Minimal setup
23+
require "lazy_setup"
24+
require "polish"
25+
26+
-- Personal mappings
27+
require("user.mappings")
28+
require("web.angular")
29+
30+
-- Another plugins to configure
31+
require("oil").setup()
32+
33+
34+
35+
-- require xclip to enable this feature
36+
vim.opt.clipboard = "unnamedplus"
37+
38+
vim.cmd("hi Normal guibg=NONE ctermbg=NONE")
39+
vim.cmd("hi CursorColumn cterm=NONE ctermbg=NONE ctermfg=NONE")
40+
vim.cmd("hi CursorLine cterm=NONE ctermbg=NONE ctermfg=NONE")
41+
vim.cmd("hi CursorLineNr cterm=NONE ctermbg=NONE ctermbg=NONE")
42+
vim.cmd("hi clear LineNr")
43+
vim.cmd("hi clear SignColumn")
44+
vim.cmd("hi clear StatusLine")

lazy-lock.json

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"AstroNvim": { "branch": "main", "commit": "86f153cc426a32f86f8102368b96107c39e69e0c" },
3+
"Comment.nvim": { "branch": "master", "commit": "e30b7f2008e52442154b66f7c519bfd2f1e32acb" },
4+
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
5+
"aerial.nvim": { "branch": "master", "commit": "fa75fd0286788c6c5a65ec46aafbfaf7b7826b74" },
6+
"alpha-nvim": { "branch": "main", "commit": "b6f4129302db197a7249e67a90de3f2b676de13e" },
7+
"astrocore": { "branch": "main", "commit": "b2caf55bd935f7aca1e0405bb89edefa006905e1" },
8+
"astrolsp": { "branch": "main", "commit": "5d92b868586c4b79298003b307e8dc3e9a357816" },
9+
"astrotheme": { "branch": "main", "commit": "8a3aca953261d5c79a3ec9e2524fa0d2a09fe07c" },
10+
"astroui": { "branch": "main", "commit": "7adeb60d76939d3cd66c9852e0e8621bd42014dd" },
11+
"atac.nvim": { "branch": "main", "commit": "31a23a02fb2bc8c85b0b572d05aa6cb09debb8e4" },
12+
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
13+
"cmp-dap": { "branch": "master", "commit": "ea92773e84c0ad3288c3bc5e452ac91559669087" },
14+
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
15+
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
16+
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
17+
"dressing.nvim": { "branch": "master", "commit": "1b7921eecc65af1baf8ac1dc06f0794934cbcfb2" },
18+
"friendly-snippets": { "branch": "main", "commit": "00ebcaa159e817150bd83bfe2d51fa3b3377d5c4" },
19+
"gitsigns.nvim": { "branch": "main", "commit": "0b04035bb7b3c83e999b9676e2fb46fd0aa9f910" },
20+
"guess-indent.nvim": { "branch": "main", "commit": "6cd61f7a600bb756e558627cd2e740302c58e32d" },
21+
"heirline.nvim": { "branch": "master", "commit": "0d797435e54645a5f98bad7ad6046aac1ef95c1e" },
22+
"indent-blankline.nvim": { "branch": "master", "commit": "18603eb949eba08300799f64027af11ef922283f" },
23+
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
24+
"lazydev.nvim": { "branch": "main", "commit": "491452cf1ca6f029e90ad0d0368848fac717c6d2" },
25+
"lsp_signature.nvim": { "branch": "master", "commit": "a38da0a61c172bb59e34befc12efe48359884793" },
26+
"lspkind.nvim": { "branch": "master", "commit": "cff4ae321a91ee3473a92ea1a8c637e3a9510aec" },
27+
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
28+
"luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" },
29+
"mason-lspconfig.nvim": { "branch": "main", "commit": "25c11854aa25558ee6c03432edfa0df0217324be" },
30+
"mason-null-ls.nvim": { "branch": "main", "commit": "2b8433f76598397fcc97318d410e0c4f7a4bea6a" },
31+
"mason-nvim-dap.nvim": { "branch": "main", "commit": "8b9363d83b5d779813cdd2819b8308651cec2a09" },
32+
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
33+
"mini.bufremove": { "branch": "main", "commit": "e6044aa28e61d4dd9ec86194d6f81743eced0c1c" },
34+
"mini.icons": { "branch": "main", "commit": "2d89252993fec829b24720097a687412d10f6c85" },
35+
"neo-tree.nvim": { "branch": "main", "commit": "a77af2e764c5ed4038d27d1c463fa49cd4794e07" },
36+
"neoconf.nvim": { "branch": "main", "commit": "ec16c0234108542b54d83967b85350bcb7b07b8d" },
37+
"neodev.nvim": { "branch": "main", "commit": "1f4ebcc10852518166ce165e57d425a4265a10d4" },
38+
"none-ls.nvim": { "branch": "main", "commit": "9b98991e15dce8fc502993e23caac2528b8b667f" },
39+
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
40+
"nvim-autopairs": { "branch": "master", "commit": "ffc139f2a96640ca6c4d3dff9b95b7b9eace87ae" },
41+
"nvim-cmp": { "branch": "main", "commit": "ae644feb7b67bf1ce4260c231d1d4300b19c6f30" },
42+
"nvim-colorizer.lua": { "branch": "master", "commit": "0671e0eabc6842676d3310370e8fae4e1c51d7f9" },
43+
"nvim-dap": { "branch": "master", "commit": "90616ae6ae40053103dc66872886fc26b94c70c8" },
44+
"nvim-dap-ui": { "branch": "master", "commit": "1c351e4e417d4691da12948b6ecf966936a56d28" },
45+
"nvim-lspconfig": { "branch": "master", "commit": "eb36e0185ad4b92b0999fb698428f2966334d2c1" },
46+
"nvim-nio": { "branch": "master", "commit": "a428f309119086dc78dd4b19306d2d67be884eee" },
47+
"nvim-notify": { "branch": "master", "commit": "fbef5d32be8466dd76544a257d3f3dce20082a07" },
48+
"nvim-surround": { "branch": "main", "commit": "ec2dc7671067e0086cdf29c2f5df2dd909d5f71f" },
49+
"nvim-treesitter": { "branch": "master", "commit": "4d94c24d6cb9985347bdf0692c1fd81088c6c8b2" },
50+
"nvim-treesitter-textobjects": { "branch": "master", "commit": "bf8d2ad35d1d1a687eae6c065c3d524f7ab61b23" },
51+
"nvim-ts-autotag": { "branch": "main", "commit": "e239a560f338be31337e7abc3ee42515daf23f5e" },
52+
"nvim-ts-context-commentstring": { "branch": "main", "commit": "375c2d86cee6674afd75b4f727ce3a80065552f7" },
53+
"nvim-ufo": { "branch": "main", "commit": "a5390706f510d39951dd581f6d2a972741b3fa26" },
54+
"nvim-web-devicons": { "branch": "master", "commit": "9154484705968658e9aab2b894d1b2a64bf9f83d" },
55+
"nvim-window-picker": { "branch": "main", "commit": "41cfaa428577c53552200a404ae9b3a0b5719706" },
56+
"oil.nvim": { "branch": "master", "commit": "1360be5fda9c67338331abfcd80de2afbb395bcd" },
57+
"plenary.nvim": { "branch": "master", "commit": "2d9b06177a975543726ce5c73fca176cedbffe9d" },
58+
"presence.nvim": { "branch": "main", "commit": "87c857a56b7703f976d3a5ef15967d80508df6e6" },
59+
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
60+
"resession.nvim": { "branch": "master", "commit": "cc819b0489938d03e4f3532a583354f0287c015b" },
61+
"smart-splits.nvim": { "branch": "master", "commit": "1a2b268a7ec7aeef879cdd15973339010ec134f7" },
62+
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
63+
"telescope.nvim": { "branch": "master", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
64+
"todo-comments.nvim": { "branch": "main", "commit": "ae0a2afb47cf7395dc400e5dc4e05274bf4fb9e0" },
65+
"toggleterm.nvim": { "branch": "main", "commit": "48be57eaba817f038d61bbf64d2c597f578c0827" },
66+
"vim-illuminate": { "branch": "master", "commit": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa" },
67+
"which-key.nvim": { "branch": "main", "commit": "fb070344402cfc662299d9914f5546d840a22126" }
68+
}

lua/community.lua

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
if true then return {} end -- WARN: REMOVE THIS LINE TO ACTIVATE THIS FILE
2+
3+
-- AstroCommunity: import any community modules here
4+
-- We import this file in `lazy_setup.lua` before the `plugins/` folder.
5+
-- This guarantees that the specs are processed before any user plugins.
6+
7+
---@type LazySpec
8+
return {
9+
"AstroNvim/astrocommunity",
10+
{ import = "astrocommunity.pack.lua" },
11+
-- import/override with your plugins folder
12+
}

lua/lazy_setup.lua

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
require("lazy").setup({{
2+
"AstroNvim/AstroNvim",
3+
version = "^4",
4+
import = "astronvim.plugins",
5+
opts = {
6+
mapleader = " ",
7+
maplocalleader = ",",
8+
icons_enabled = true,
9+
pin_plugins = nil,
10+
update_notifications = true
11+
}
12+
}, {
13+
import = "community"
14+
}, {
15+
import = "plugins"
16+
}}, {
17+
install = {
18+
colorscheme = {"astrodark", "habamax"}
19+
},
20+
ui = {
21+
backdrop = 0
22+
},
23+
performance = {
24+
rtp = {
25+
disabled_plugins = {"gzip", "netrwPlugin", "tarPlugin", "tohtml", "zipPlugin"}
26+
}
27+
}
28+
} --[[@as LazyConfig]] )

0 commit comments

Comments
 (0)