diff options
| author | José Juan Loeza Sierra <jj@xz6ze.com> | 2025-11-07 23:42:52 -0800 |
|---|---|---|
| committer | José Juan Loeza Sierra <jj@xz6ze.com> | 2025-11-07 23:53:00 -0800 |
| commit | 5dc89fe9789701abbe4a73c2998d397a6d7d964c (patch) | |
| tree | cf43ae482b0c2bbfabd3370faf127a4e21a21086 /dot-config/nvim/init.lua | |
| parent | 617c3b29dbf03322ef3ccb0cd9663532e94adb68 (diff) | |
replace lazyvim with custom config
Diffstat (limited to 'dot-config/nvim/init.lua')
| -rw-r--r-- | dot-config/nvim/init.lua | 30 |
1 files changed, 28 insertions, 2 deletions
diff --git a/dot-config/nvim/init.lua b/dot-config/nvim/init.lua index 2514f9e..ad65bbd 100644 --- a/dot-config/nvim/init.lua +++ b/dot-config/nvim/init.lua @@ -1,2 +1,28 @@ --- bootstrap lazy.nvim, LazyVim and your plugins -require("config.lazy") +-- General +vim.g.mapleader = " " + +vim.o.undofile = true -- Persistant undo + +-- UI +vim.o.cmdheight = 0 -- Puts Lualine at very bottom +vim.o.cursorline = true -- Current line highlighting +vim.o.number = true -- Show line numbers +vim.o.relativenumber = true -- Relative line numbers +vim.o.signcolumn = "yes" -- Always show signcolumn (less flicker) +vim.o.splitbelow = true -- Horizontal splits will be below +vim.o.splitright = true -- Vertical splits will be to the right +vim.o.termguicolors = true -- Enable 24-bit RGB color in TUI +vim.o.winborder = "single" -- Use border in floating windows + +-- Editing +vim.o.autoindent = true -- Use auto indent +vim.o.expandtab = true -- Convert tabs to spaces +vim.o.ignorecase = true -- Ignore case during search +vim.o.incsearch = true -- Show search matches while typing +vim.o.shiftwidth = 2 -- Use this number of spaces for indentation +vim.o.smartindent = true -- Make indenting smart +vim.o.tabstop = 2 -- Show tab as this number of spaces + +-- TODO: consider not using clipboard for all operations +-- see :h clipboard +vim.opt.clipboard = "unnamedplus" |
