diff options
| author | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-03-03 18:46:16 +0100 |
|---|---|---|
| committer | Tom Li Dobnik <tomlidobnik1@gmail.com> | 2026-03-03 18:46:16 +0100 |
| commit | f7bbc5e6740f6199d7ed0fe704daaa7efd98c093 (patch) | |
| tree | d6cd8984dbf2a8a909f16dde865a19a343c31d48 /.config/nvim-old/lua/options.lua | |
| parent | 1f156148fadab8468a46e598296b18b54f7860ce (diff) | |
nvim update
Diffstat (limited to '.config/nvim-old/lua/options.lua')
| -rw-r--r-- | .config/nvim-old/lua/options.lua | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/.config/nvim-old/lua/options.lua b/.config/nvim-old/lua/options.lua new file mode 100644 index 0000000..c61f4c9 --- /dev/null +++ b/.config/nvim-old/lua/options.lua @@ -0,0 +1,36 @@ +local set = vim.opt +local g = vim.g + +g.mapleader = " " +g.maplocalleader = " " +g.have_nerd_font = true +set.number = true +set.relativenumber = true +set.termguicolors = true +set.tabstop = 4 +set.shiftwidth = 4 +set.swapfile = false +set.expandtab = true +set.mouse = "a" +set.showmode = false +set.breakindent = true +set.undofile = true +set.ignorecase = true +set.smartcase = true +set.signcolumn = "yes" +set.updatetime = 250 +set.timeoutlen = 300 +set.splitright = true +set.splitbelow = true +set.list = true +set.listchars = { tab = "» ", trail = "·", nbsp = "␣" } +set.inccommand = "split" +set.cursorline = true +set.scrolloff = 4 +set.sidescrolloff = 4 +set.conceallevel = 2 +set.wrap = false + +vim.schedule(function() + set.clipboard = "unnamedplus" +end) |
