vim stuff
This commit is contained in:
@@ -0,0 +1,18 @@
|
|||||||
|
-- Basic Neovim settings (converted from old .vimrc)
|
||||||
|
|
||||||
|
vim.opt.expandtab = true -- Convert tabs to spaces
|
||||||
|
vim.opt.tabstop = 4 -- Tab width
|
||||||
|
vim.opt.shiftwidth = 4 -- Indent width
|
||||||
|
vim.opt.softtabstop = 4 -- Backspace behavior
|
||||||
|
|
||||||
|
vim.opt.number = true -- Line numbers
|
||||||
|
vim.opt.cursorline = true -- Highlight current line
|
||||||
|
|
||||||
|
-- Quality of life
|
||||||
|
vim.opt.termguicolors = true
|
||||||
|
vim.opt.mouse = "a"
|
||||||
|
vim.opt.ignorecase = true
|
||||||
|
vim.opt.smartcase = true
|
||||||
|
vim.opt.wrap = false
|
||||||
|
vim.opt.scrolloff = 8
|
||||||
|
vim.opt.signcolumn = "yes" -- Always show sign column
|
||||||
@@ -0,0 +1,6 @@
|
|||||||
|
set expandtab " Convert tabs to spaces
|
||||||
|
set tabstop=4 " Display existing tab characters as 4 spaces wide
|
||||||
|
set shiftwidth=4 " Use 4 spaces for each indentation level (e.g., with >> or autoindent)
|
||||||
|
set softtabstop=4 " Pressing Tab inserts 4 spaces; Backspace deletes 4 spaces at once
|
||||||
|
set number
|
||||||
|
set cursorline
|
||||||
Reference in New Issue
Block a user