Files
superior_dotfiles/private_dot_config/nvim/lua/config/set.lua
Szymon P 73a62aef61 Update .config/hypr/colors.conf
Update .config/hypr/hypridle.conf
Update .config/hypr/hyprland/binds/managment.conf
Update .config/hypr/hyprland/decoration.conf
Update .config/hypr/hyprland/exec.conf
Update .config/hypr/hyprland/workspace_assign/workspace_2.conf
Update .config/mimeapps.list
Update .config/nvim/lua/config/set.lua
Update .config/fish/functions/update.fish
Update .config/yazi/yazi.toml
Update .local/bin/system_setup.sh
2025-12-27 00:53:55 +01:00

35 lines
951 B
Lua

-- Colorscheme --
vim.cmd.colorscheme "catppuccin-latte"
-- Looks --
vim.opt.relativenumber = true
vim.opt.number = true
vim.opt.signcolumn = 'yes'
vim.opt.cursorline = false
vim.opt.list = true
vim.opt.wrap = true
vim.opt.shiftwidth = 4
vim.opt.tabstop = 4
vim.opt.expandtab = true
vim.opt.list = true
-- Highlight line yank --
vim.api.nvim_create_augroup("YankHighlight", { clear = true })
vim.api.nvim_create_autocmd("TextYankPost", {
group = "YankHighlight",
callback = function()
vim.highlight.on_yank({ higroup = "IncSearch", timeout = 200 })
end,
})
-- shared clipboard --
vim.opt.clipboard = "unnamedplus"
-- Language --
vim.opt.spell = true
vim.opt.spelllang = { 'pl', 'en' }
-- Telescope --
local builtin = require('telescope.builtin')
vim.keymap.set('n', '<leader>ff', builtin.find_files, { desc = 'Telescope find files' })
vim.keymap.set('n', '<leader>fg', builtin.git_files, { desc = 'Telescope find git files' })