neovim configuration
This commit is contained in:
14
lua/config/options.lua
Normal file
14
lua/config/options.lua
Normal file
@@ -0,0 +1,14 @@
|
||||
vim.g.mapleader = "," -- Set leader key to comma
|
||||
|
||||
vim.o.number = true -- Show absolute line numbers
|
||||
vim.o.wrap = false -- Disable line wrapping globally
|
||||
vim.o.tabstop = 4 -- Width of a raw <Tab> character
|
||||
vim.o.shiftwidth = 4 -- Number of spaces used for autoindent
|
||||
vim.o.expandtab = true -- Use spaces instead of tabs
|
||||
vim.o.smartcase = true -- Override ignorecase if search contains uppercase
|
||||
vim.o.ignorecase = true -- Case-insensitive searching
|
||||
vim.o.hlsearch = false -- Disable persistent search highlighting
|
||||
vim.o.signcolumn = "yes" -- Always show the sign column (prevents text shifting)
|
||||
vim.o.clipboard = "unnamedplus" -- Sync Neovim with the system clipboard
|
||||
vim.o.undofile = true -- Enable persistent undo history between sessions
|
||||
vim.o.undodir = vim.fn.expand("~/.cache/nvim-undodir") -- Path to store undo history
|
||||
Reference in New Issue
Block a user