Compare commits

...
Sign in to create a new pull request.
Author SHA1 Message Date
3ada736cef remove marker 2026-10-08 22:44:04 +02:00
4bb0cf9488 resync branches 2026-10-08 22:44:03 +02:00
6b9f3f8861 add nice autocomplete and indent guides" 2026-06-27 00:48:20 +02:00
a2a00851c9 restructure and add bind to close buffers 2026-06-15 10:44:33 +02:00
ad191099a1 remove base16-colorschemes plugin to just use tinted-nvim 2026-06-11 12:09:37 +02:00
dac8b64323 restructure init.lua 2026-06-11 12:03:58 +02:00
1328081067 add binds for tabs 2026-06-06 18:39:23 +02:00
595ccc91f9 meow 2026-06-06 18:38:03 +02:00
bfed137052 stuff 2026-06-06 18:36:39 +02:00
2c5944f2c3 make config more minimal 2026-06-05 23:54:18 +02:00
21c5121c50 add more globals 2026-06-04 13:57:52 +02:00
1dab8545ce Merge pull request 'mini' (#3) from mini into master
Reviewed-on: https://git.lucymeow.gay/lucy/nvim/pulls/3
2026-06-04 13:46:10 +02:00
2 changed files with 3 additions and 113 deletions

View file

@ -2,6 +2,7 @@
"diagnostics.globals": [
"vim",
"Snacks",
"MiniStatusline"
"MiniStatusline",
"MiniPick"
]
}

112
init.lua
View file

@ -1,112 +0,0 @@
local opt = vim.opt
opt.relativenumber = true
vim.lsp.inlay_hint.enable = true
opt.tabstop = 8
vim.opt.expandtab = true
opt.swapfile = false
opt.shiftwidth = 8
vim.diagnostic.config({
virtual_text = {
spacing = 4,
source = true,
},
})
-- add plugins
vim.pack.add({
"https://github.com/nvim-treesitter/nvim-treesitter",
"https://github.com/nvim-lualine/lualine.nvim",
"https://github.com/RRethy/base16-nvim",
"https://github.com/tinted-theming/tinted-nvim.git",
"https://github.com/neovim/nvim-lspconfig",
"https://github.com/vyfor/cord.nvim",
"https://github.com/nvim-mini/mini.nvim"
})
-- function to set colorsceme
require('tinted-nvim').setup({
ui = {
transparent = false
},
highlights = {
integrations = {
lualine = true
}
}
})
vim.cmd("colorscheme " .. vim.fn.system("cat /home/lucy/.local/share/tinted-theming/tinty/current_scheme"))
-- setup mini
require('mini.basics').setup()
require('mini.icons').setup()
require('mini.pick').setup()
require('mini.git').setup()
require("lualine").setup({
options = {
section_separators = { left = "", right = "" },
component_separators = { left = "|", right = "|" },
globalstatus = true,
always_divide_middle = true,
},
sections = {
lualine_a = { "mode" },
lualine_b = { "diagnostics" },
lualine_c = { "filename", "filesize", },
lualine_x = { "lsp_status", "filetype" },
lualine_y = { "" },
lualine_z = { "location" },
},
tabline = {
lualine_a = { { 'buffers', mode = 2, show_modified_status = true, } },
lualine_b = { 'branch' },
lualine_c = {},
lualine_x = {},
lualine_y = {},
lualine_z = { 'tabs' }
}
})
-- setup superior lsp
vim.lsp.config("qml-language-server", {
cmd = { "qml-language-server" },
filetypes = { "qml" },
root_markers = { { "qmldir", "shell.qml" }, ".git" },
})
vim.lsp.enable("lua_ls")
vim.lsp.enable("qml-language-server")
vim.lsp.enable("clangd")
vim.lsp.enable("lua-language-server")
require("cord").setup({
display = {
theme = "atom",
},
editor = { tooltip = "ur gay x3" },
})
-- keymaps
local map = vim.keymap.set
map("n", "<leader>ff", function()
MiniPick.builtin.files()
end)
map("n", "<leader>lg", function()
MiniPick.builtin.grep_live()
end)
map("n", "<C-h>", "<C-w>h")
map("n", "<C-j>", "<C-w>j")
map("n", "<C-k>", "<C-w>k")
map("n", "<C-l>", "<C-w>l")
map("n", "<C-S-Left>", ":vertical resize -5<CR>", { silent = true })
map("n", "<C-S-Right>", ":vertical resize +5<CR>", { silent = true })
map("n", "<C-S-Up>", ":resize +5<CR>", { silent = true })
map("n", "<C-S-Down>", ":resize -5<CR>", { silent = true })
-- lsp keybinds
map("n", "<C-f>", function()
vim.lsp.buf.format()
end)
-- util keybinds
map("n", "<leader>t", "<cmd> terminal <cr>")
map("n", "<A-t>", "<cmd>Lspsaga term_toggle<cr>")
map("t", "<esc>", "<c-\\><c-n>")
map("i", "<C-space>", "<C-X><C-O>")

1
init.lua Symbolic link
View file

@ -0,0 +1 @@
../../dotfiles/nvim/.config/nvim/init.lua