Compare commits

...
Sign in to create a new pull request.

21 commits
tiling ... main

Author SHA1 Message Date
GitHub Actions
8b43b3eff6 nvim: update submodule 2025-05-10 09:13:20 +00:00
GitHub Actions
55755c2c39 nvim: update submodule 2025-04-20 09:04:32 +00:00
GitHub Actions
ee947e8e6f nvim: update submodule 2025-04-18 13:45:50 +00:00
GitHub Actions
030b052bc7 nvim: update submodule 2025-04-18 13:40:47 +00:00
GitHub Actions
e0eac58014 nvim: update submodule 2025-02-12 15:36:49 +00:00
GitHub Actions
544bf16f0f nvim: update submodule 2025-02-01 21:02:42 +00:00
GitHub Actions
3739ec6455 nvim: update submodule 2025-01-26 18:32:00 +00:00
GitHub Actions
fa38c4c444 nvim: update submodule 2025-01-20 14:58:25 +00:00
GitHub Actions
e0c1957859 nvim: update submodule 2025-01-07 14:09:13 +00:00
6799bba9fe tmux: add as git submodule 2025-01-07 14:54:42 +01:00
4f194817e3 alacritty: fix deprecated config 2024-11-06 23:22:04 +01:00
GitHub Actions
cf57ffef24 nvim: update submodule 2024-11-04 10:12:24 +00:00
GitHub Actions
2004917dbb nvim: update submodule 2024-10-25 10:51:55 +00:00
GitHub Actions
7867c4d10c Update submodules 2024-10-25 10:48:58 +00:00
ffaa0813cd git: change default branch name for new repos 2024-10-25 12:46:45 +02:00
GitHub Actions
32725a7bc0 Update submodules 2024-10-19 09:00:03 +00:00
GitHub Actions
c6c38989bd Update submodules 2024-09-17 09:31:20 +00:00
502027ec33 Move nvim config to submodule 2024-09-15 22:28:10 +02:00
89baa025d7 Add KDE Background image 2024-08-14 18:41:29 +02:00
0ad14f3ab0 Updated telescope 2024-08-13 17:39:04 +02:00
bd0ed35383 Remove unused color scheme 2024-08-13 11:19:46 +02:00
7 changed files with 14 additions and 114 deletions

View file

@ -1,5 +1,3 @@
live_config_reload = true
working_directory = "None"
[env]
TERM = "xterm-256color"
@ -10,3 +8,7 @@ size = 16
[font.normal]
family = "JetBrains Mono"
style = "Medium"
[general]
live_config_reload = true
working_directory = "None"

1
.config/nvim Submodule

@ -0,0 +1 @@
Subproject commit b44b7e7d563144c275d534a1acc73aeba3ab5226

View file

@ -1,112 +0,0 @@
vim.opt.number = true
vim.opt.expandtab = true
vim.opt.number = true
vim.opt.tabstop = 2
vim.opt.softtabstop = 2
vim.opt.shiftwidth = 2
vim.opt.title = true
vim.opt.whichwrap = "<,>,[,]"
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({
"git",
"clone",
"--filter=blob:none",
"https://github.com/folke/lazy.nvim.git",
"--branch=stable", -- latest stable release
lazypath,
})
end
vim.opt.rtp:prepend(lazypath)
local plugins = {
{ "catppuccin/nvim", name = "catppuccin", priority = 1000 },
{ "rebelot/kanagawa.nvim", name = "kanagawa", priority = 1000 },
{
"nvim-telescope/telescope.nvim", tag = "0.1.6",
dependencies = { "nvim-lua/plenary.nvim" }
},
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
{ "williamboman/mason.nvim" },
{ "williamboman/mason-lspconfig.nvim" },
{ "neovim/nvim-lspconfig" },
{ "hrsh7th/cmp-nvim-lsp" },
{
"L3MON4D3/LuaSnip",
dependencies = {
"saadparwaiz1/cmp_luasnip",
"rafamadriz/friendly-snippets",
},
},
{ "hrsh7th/nvim-cmp" },
}
local opts = {}
require("lazy").setup(plugins, opts)
--vim.cmd.colorscheme "catppuccin"
vim.cmd.colorscheme "kanagawa"
local builtin = require("telescope.builtin")
local configs = require("nvim-treesitter.configs")
configs.setup({
ensure_installed = { "asm", "c", "javascript", "latex", "lua", "matlab", "meson", "sql", "toml", "typescript", "vue" },
highlight = { enable = true },
indent = { enable = true }
})
require("mason").setup()
require("mason-lspconfig").setup({
ensure_installed = { "clangd", "texlab", "lua_ls", "matlab_ls", "mesonlsp", "sqlls", "tsserver", "volar" }
})
local lspconfig = require("lspconfig")
lspconfig.clangd.setup({
cmd = { "clangd", "-header-insertion=never" },
})
lspconfig.lua_ls.setup({})
lspconfig.matlab_ls.setup({})
lspconfig.mesonlsp.setup({})
lspconfig.sqlls.setup({})
lspconfig.texlab.setup({})
lspconfig.tsserver.setup({})
lspconfig.volar.setup({})
local cmp = require("cmp")
require("luasnip.loaders.from_vscode").lazy_load()
cmp.setup({
snippet = {
expand = function(args)
require("luasnip").lsp_expand(args.body)
end,
},
window = {
completion = cmp.config.window.bordered(),
documentation = cmp.config.window.bordered(),
},
mapping = cmp.mapping.preset.insert({
["<C-b>"] = cmp.mapping.scroll_docs(-4),
["<C-f>"] = cmp.mapping.scroll_docs(4),
["<C-Space>"] = cmp.mapping.complete(),
["<C-e>"] = cmp.mapping.abort(),
["<CR>"] = cmp.mapping.confirm({ select = true }),
}),
sources = cmp.config.sources({
{ name = "nvim_lsp" },
{ name = "luasnip" }, -- For luasnip users.
}, {
{ name = "buffer" },
}),
})
vim.keymap.set("n", "T", function() vim.lsp.buf.definition() end, {})
vim.keymap.set("n", "K", function() vim.lsp.buf.hover() end, {})
vim.keymap.set("n", "J", function() vim.lsp.buf.type_definition() end, {})
vim.keymap.set("n", "C", function() vim.lsp.buf.code_action() end, {})
vim.keymap.set("n", "<C-p>", builtin.find_files, {})
vim.keymap.set("n", "<C-f>", builtin.live_grep, {})

1
.config/tmux Submodule

@ -0,0 +1 @@
Subproject commit ed810ce145b0e2e387d06dda84476d5b24f126d2

View file

@ -12,3 +12,5 @@
smtpserver = smtp.konmail.net
smtpuser = seda18@rolmail.net
smtpserverport = 587
[init]
defaultBranch = main

6
.gitmodules vendored Normal file
View file

@ -0,0 +1,6 @@
[submodule "nvim"]
path = .config/nvim
url = git@github.com:kada49/init.lua.git
[submodule ".config/tmux"]
path = .config/tmux
url = git@github.com:kada49/tmux.conf.git

Binary file not shown.

After

Width:  |  Height:  |  Size: 4 MiB