From 8e6948b7ca7114d3b2686d09d559ac232bb657c8 Mon Sep 17 00:00:00 2001 From: aigeneratedusername Date: Thu, 21 May 2026 19:05:02 -0700 Subject: [PATCH] new conf --- init.lua | 28 +++++++++++++++++++--------- lua/custom/plugins/colorscheme.lua | 10 ++++++++++ 2 files changed, 29 insertions(+), 9 deletions(-) create mode 100644 lua/custom/plugins/colorscheme.lua diff --git a/init.lua b/init.lua index ed50b69d7f3..06a9dd095aa 100644 --- a/init.lua +++ b/init.lua @@ -91,7 +91,7 @@ vim.g.mapleader = ' ' vim.g.maplocalleader = ' ' -- 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 -- [[ Setting options ]] -- See `:help vim.o` @@ -102,7 +102,10 @@ vim.g.have_nerd_font = false vim.o.number = true -- You can also add relative line numbers, to help with jumping. -- Experiment for yourself to see if you like it! --- vim.o.relativenumber = true +vim.o.relativenumber = true + +vim.o.tabstop = 4 +vim.o.shiftwidth = 4 -- Enable mouse mode, can be useful for resizing splits for example! vim.o.mouse = 'a' @@ -147,8 +150,8 @@ vim.o.splitbelow = true -- It is very similar to `vim.o` but offers an interface for conveniently interacting with tables. -- See `:help lua-options` -- and `:help lua-guide-options` -vim.o.list = true -vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } +-- vim.o.list = true +-- vim.opt.listchars = { tab = '» ', trail = '·', nbsp = '␣' } -- Preview substitutions live, as you type! vim.o.inccommand = 'split' @@ -217,6 +220,13 @@ vim.keymap.set('n', '', '', { desc = 'Move focus to the upper win -- vim.keymap.set("n", "", "L", { desc = "Move window to the right" }) -- vim.keymap.set("n", "", "J", { desc = "Move window to the lower" }) -- vim.keymap.set("n", "", "K", { desc = "Move window to the upper" }) +-- + +vim.keymap.set('n', 't', function() + vim.cmd.split() + vim.cmd.terminal() + vim.cmd.resize(15) +end, { desc = 'Open [T]erminal in split' }) -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands` @@ -600,9 +610,9 @@ require('lazy').setup({ -- See `:help lsp-config` for information about keys and how to configure ---@type table local servers = { - -- clangd = {}, + clangd = {}, -- gopls = {}, - -- pyright = {}, + pyright = {}, -- rust_analyzer = {}, -- -- Some languages (like typescript) have entire language plugins that can be useful: @@ -816,7 +826,7 @@ require('lazy').setup({ -- 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' + vim.cmd.colorscheme 'min-theme' end, }, @@ -913,14 +923,14 @@ require('lazy').setup({ -- require 'kickstart.plugins.indent_line', -- require 'kickstart.plugins.lint', -- require 'kickstart.plugins.autopairs', - -- require 'kickstart.plugins.neo-tree', + require 'kickstart.plugins.neo-tree', -- require 'kickstart.plugins.gitsigns', -- adds gitsigns recommended keymaps -- NOTE: The import below can automatically add your own plugins, configuration, etc from `lua/custom/plugins/*.lua` -- This is the easiest way to modularize your config. -- -- Uncomment the following line and add your plugins to `lua/custom/plugins/*.lua` to get going. - -- { import = 'custom.plugins' }, + { import = 'custom.plugins' }, -- -- For additional information with loading, sourcing and examples see `:help lazy.nvim-🔌-plugin-spec` -- Or use telescope! diff --git a/lua/custom/plugins/colorscheme.lua b/lua/custom/plugins/colorscheme.lua new file mode 100644 index 00000000000..27eade3b28c --- /dev/null +++ b/lua/custom/plugins/colorscheme.lua @@ -0,0 +1,10 @@ +return { + 'datsfilipe/min-theme.nvim', + priority = 1000, + config = function() + require('min-theme').setup { + theme = 'dark', + } + vim.cmd.colorscheme 'min-theme' + end, +}