Compare commits

...

1 Commits

Author SHA1 Message Date
eee5b39eb1 i need to get a job wtf even are these changes 2026-02-16 09:35:17 +00:00
7 changed files with 58 additions and 18 deletions

View File

@@ -50,6 +50,17 @@ vim.cmd.colorscheme("catppuccin-mocha")
-- Scrolloff -- Scrolloff
vim.opt.scrolloff = math.floor(vim.o.lines / 2) - 3 vim.opt.scrolloff = math.floor(vim.o.lines / 2) - 3
-- Indent
vim.o.autoindent = true
-- Rebind 'i' to indent properly on empty lines
vim.keymap.set("n", "i", function()
if vim.fn.getline("."):match("^%s*$") then
return [["_cc]]
else
return "i"
end
end, { expr = true, desc = "Indent properly on empty lines" })
-- Force proper keybindings -- Force proper keybindings
vim.keymap.set("n", "<left>", '<cmd>echo "Use h to move!!"<CR>') vim.keymap.set("n", "<left>", '<cmd>echo "Use h to move!!"<CR>')
vim.keymap.set("n", "<right>", '<cmd>echo "Use l to move!!"<CR>') vim.keymap.set("n", "<right>", '<cmd>echo "Use l to move!!"<CR>')

View File

@@ -29,6 +29,7 @@ return {
vim.lsp.enable({ vim.lsp.enable({
"lua_ls", "lua_ls",
"ts_ls", "ts_ls",
"pylsp",
"cssls", "cssls",
"nixd", "nixd",
"rust_analyzer", "rust_analyzer",

View File

@@ -6,6 +6,7 @@ return {
config = function() config = function()
require("nvim-treesitter.configs").setup({ require("nvim-treesitter.configs").setup({
highlight = { enable = true }, highlight = { enable = true },
indent = { enable = true },
ensure_installed = { ensure_installed = {
"bash", "bash",
"html", "html",
@@ -16,11 +17,11 @@ return {
"norg_meta", "norg_meta",
"markdown", "markdown",
"markdown_inline", "markdown_inline",
"python",
"query", "query",
"regex", "regex",
"tsx", "tsx",
"typescript", "typescript",
"python",
"vim", "vim",
"yaml", "yaml",
}, },

View File

@@ -25,14 +25,14 @@ return {
file = ".session", file = ".session",
force = { read = false, write = true, delete = true }, force = { read = false, write = true, delete = true },
}) })
require("mini.notify").setup({ -- require("mini.notify").setup({
window = { winblend = 0 }, -- window = { winblend = 0 },
}) -- Better Notifications -- }) -- Better Notifications
vim.notify = MiniNotify.make_notify({ -- vim.notify = MiniNotify.make_notify({
ERROR = { duration = 5000 }, -- ERROR = { duration = 5000 },
WARN = { duration = 4000 }, -- WARN = { duration = 4000 },
INFO = { duration = 3000 }, -- INFO = { duration = 3000 },
}) -- })
require("mini.surround").setup() -- Suround selections with characters require("mini.surround").setup() -- Suround selections with characters
require("mini.move").setup({ require("mini.move").setup({
mappings = { mappings = {

View File

@@ -0,0 +1,6 @@
return {
"vladdoster/remember.nvim",
config = function()
require("remember").setup({})
end,
}

View File

@@ -5,7 +5,7 @@ return {
config = function() config = function()
require("telescope").setup({ require("telescope").setup({
defaults = { defaults = {
file_ignore_patterns = { ".git", ".node_modules" }, file_ignore_patterns = { ".git", ".venv", ".node_modules" },
}, },
extensions = { extensions = {
file_browser = { file_browser = {

View File

@@ -1,16 +1,37 @@
return { return {
"folke/noice.nvim", "folke/noice.nvim",
event = "VeryLazy", event = "VeryLazy",
opts = { config = function()
require("noice").setup({
messages = { messages = {
enabled = false, enabled = true,
view = "notify",
view_error = "notify", -- view for errors
view_warn = "notify", -- view for warnings
view_history = "messages", -- view for :messages
view_search = "virtualtext", -- view for search count messages. Set to `false` to disable
}, },
notify = { notify = {
enabled = true,
view = "notify",
},
hover = {
enabled = false, enabled = false,
}, },
-- you can enable a preset for easier configuration
presets = {
long_message_to_split = true, -- long messages will be sent to a split
inc_rename = false, -- enables an input dialog for inc-rename.nvim
lsp_doc_border = false, -- add a border to hover docs and signature help
}, },
})
require("notify").setup({
background_colour = "#000000",
})
end,
dependencies = { dependencies = {
-- if you lazy-load any plugin below, make sure to add proper `module="..."` entries -- if you lazy-load any plugin below, make sure to add proper `module="..."` entries
"MunifTanjim/nui.nvim", "MunifTanjim/nui.nvim",
"rcarriga/nvim-notify",
}, },
} }