simple edit

This commit is contained in:
elbiazo 2025-02-28 21:05:50 -05:00
parent 34e7d29aa7
commit 2dd3adab2b
2 changed files with 42 additions and 19 deletions

View File

@ -91,7 +91,7 @@ vim.g.mapleader = ' '
vim.g.maplocalleader = ' ' vim.g.maplocalleader = ' '
-- Set to true if you have a Nerd Font installed and selected in the terminal -- Set to true if you have a Nerd Font installed and selected in the terminal
vim.g.have_nerd_font = false vim.g.have_nerd_font = true -- ELB: enabling nerd font
-- [[ Setting options ]] -- [[ Setting options ]]
-- See `:help vim.opt` -- See `:help vim.opt`
@ -156,6 +156,12 @@ vim.opt.cursorline = true
-- Minimal number of screen lines to keep above and below the cursor. -- Minimal number of screen lines to keep above and below the cursor.
vim.opt.scrolloff = 10 vim.opt.scrolloff = 10
-- ELB: Set tabstop as 4 spaces
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.softtabstop = 4
vim.opt.cindent = true
-- [[ Basic Keymaps ]] -- [[ Basic Keymaps ]]
-- See `:help vim.keymap.set()` -- See `:help vim.keymap.set()`
@ -189,6 +195,12 @@ vim.keymap.set('n', '<C-l>', '<C-w><C-l>', { desc = 'Move focus to the right win
vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' }) vim.keymap.set('n', '<C-j>', '<C-w><C-j>', { desc = 'Move focus to the lower window' })
vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' }) vim.keymap.set('n', '<C-k>', '<C-w><C-k>', { desc = 'Move focus to the upper window' })
-- ELB: Keybinds
-- ELB: Keybinds to make tabbing sane
vim.keymap.set('n', 'gn', '<Cmd>tabnext<CR>', { desc = 'Move to the previous tab' })
vim.keymap.set('n', 'gp', '<Cmd>tabprevious<CR>', { desc = 'Move to the next tab' })
-- [[ Basic Autocommands ]] -- [[ Basic Autocommands ]]
-- See `:help lua-guide-autocommands` -- See `:help lua-guide-autocommands`
@ -884,27 +896,35 @@ require('lazy').setup({
end, end,
}, },
{ -- You can easily change to a different colorscheme. -- ELB: Changing colorscheme to onedarkpro from tokyonight
-- Change the name of the colorscheme plugin below, and then -- { -- You can easily change to a different colorscheme.
-- change the command in the config to whatever the name of that colorscheme is. -- -- Change the name of the colorscheme plugin below, and then
-- -- change the command in the config to whatever the name of that colorscheme is.
-- --
-- -- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
-- 'folke/tokyonight.nvim',
-- priority = 1000, -- Make sure to load this before all the other start plugins.
-- init = function()
-- -- Load the colorscheme here.
-- -- Like many other themes, this one has different styles, and you could load
-- -- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
-- vim.cmd.colorscheme 'tokyonight-night'
-- --
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`. -- -- You can configure highlights by doing something like:
'folke/tokyonight.nvim', -- vim.cmd.hi 'Comment gui=none'
priority = 1000, -- Make sure to load this before all the other start plugins. -- end,
config = function() -- },
---@diagnostic disable-next-line: missing-fields {
require('tokyonight').setup { 'olimorris/onedarkpro.nvim',
styles = { priority = 1000, -- Ensure it loads first
comments = { italic = false }, -- Disable italics in comments init = function()
}, vim.cmd.colorscheme 'onedark'
}
-- Load the colorscheme here. -- You can configure highlights by doing something like:
-- Like many other themes, this one has different styles, and you could load vim.cmd.hi 'Comment gui=none'
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
vim.cmd.colorscheme 'tokyonight-night'
end, end,
}, },
-- ELB: end of changing theme
-- Highlight todo, notes, etc in comments -- Highlight todo, notes, etc in comments
{ 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } }, { 'folke/todo-comments.nvim', event = 'VimEnter', dependencies = { 'nvim-lua/plenary.nvim' }, opts = { signs = false } },
@ -977,6 +997,8 @@ require('lazy').setup({
-- place them in the correct locations. -- place them in the correct locations.
-- NOTE: Next step on your Neovim journey: Add/Configure additional plugins for Kickstart -- NOTE: Next step on your Neovim journey: Add/Configure additional plugins for Kickstart
'github/copilot.vim', -- ELB: Adding copilot
-- --
-- Here are some example plugins that I've included in the Kickstart repository. -- Here are some example plugins that I've included in the Kickstart repository.
-- Uncomment any of the lines below to enable them (you will need to restart nvim). -- Uncomment any of the lines below to enable them (you will need to restart nvim).

1
test.c Normal file
View File

@ -0,0 +1 @@
#include <stdio.h>