neovim-config/lua/config/options.lua
Vasileios Manikas 1a5d8222a8 LazyVim based config
Signed-off-by: Vasileios Manikas <manikasv97@gmail.com>
2025-01-17 13:49:57 +01:00

34 lines
1.1 KiB
Lua

-- Options are automatically loaded before lazy.nvim startup
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua
-- Add any additional options here
-- vim.g.clipboard = {
-- name = "myClipboard",
-- copy = {
-- ["+"] = { "tmux", "load-buffer", "-" },
-- ["*"] = { "tmux", "load-buffer", "-" },
-- },
-- paste = {
-- ["+"] = { "tmux", "save-buffer", "-" },
-- ["*"] = { "tmux", "save-buffer", "-" },
-- },
-- cache_enabled = true,
-- }
-- Make sure to setup `mapleader` and `maplocalleader` before
-- loading lazy.nvim so that mappings are correct.
-- This is also a good place to setup other settings (vim.opt)
vim.g.mapleader = " "
vim.g.maplocalleader = "\\"
-- Set up option variables
-- vim.opt.rtp:prepend(lazypath)
vim.opt.number = true
vim.opt.relativenumber = true
vim.opt.undofile = true
-- vim.opt.undodir = "undodir"
-- vim.opt.clipboard = 'unnamedplus'
vim.opt.ignorecase = true
vim.opt.smartcase = true
vim.opt.tabstop = 4
vim.opt.shiftwidth = 4
vim.opt.expandtab = true