This commit is contained in:
Bryan Ramos 2023-03-22 00:11:44 -04:00
commit a79fc67d37
647 changed files with 123931 additions and 0 deletions

View file

@ -0,0 +1,26 @@
-- Line Numbering
vim.o.relativenumber = true
vim.o.number = true
vim.cmd('highlight LineNr ctermfg=DarkGray')
-- Enable clipboard
vim.o.clipboard = "unnamedplus"
-- Load packer.nvim
local packer_install_path = vim.fn.stdpath('data') .. '/site/pack/packer/start/packer.nvim'
if vim.fn.empty(vim.fn.glob(packer_install_path)) > 0 then
vim.fn.execute('!git clone https://github.com/wbthomason/packer.nvim ' .. packer_install_path)
vim.cmd 'packadd packer.nvim'
end
dofile(vim.fn.stdpath('config') .. '/plugins.lua')
-- Keep Cursor
vim.o.guicursor = ''
-- Indentation
vim.opt.shiftwidth = 2
vim.opt.softtabstop = 2
vim.opt.expandtab = true
vim.opt.tabstop = 2

View file

@ -0,0 +1,65 @@
-- Load packer.nvim
local packer = require('packer')
-- Start defining plugins
return packer.startup(function(use)
-- Install packer.nvim
use 'wbthomason/packer.nvim'
-- Install indent-blankline.nvimuse
use {"lukas-reineke/indent-blankline.nvim",
config = function()
require("indent_blankline").setup {
}
end,
}
-- Neo-Tree
use {
"nvim-neo-tree/neo-tree.nvim",
branch = "v2.x",
requires = {
"nvim-lua/plenary.nvim",
"nvim-tree/nvim-web-devicons",
"MunifTanjim/nui.nvim",
}
}
-- Lualine (bottom line)
use {
'nvim-lualine/lualine.nvim',
requires = { 'kyazdani42/nvim-web-devicons', opt = true },
config = function()
require('lualine').setup {}
end
}
-- Git Integration
use { 'TimUntersberger/neogit',
requires = 'nvim-lua/plenary.nvim'
}
-- Autobracket
use {'windwp/nvim-autopairs',
config = function()
require('nvim-autopairs').setup()
end
}
-- Color Preview
use { 'ap/vim-css-color',
ft = {
'css',
'sass',
'scss',
'rasi',
'markdown'
}
}
end)