diff options
| author | kj_sh604 | 2026-06-02 07:52:44 -0400 |
|---|---|---|
| committer | kj_sh604 | 2026-06-02 07:52:44 -0400 |
| commit | e777ea62f96b43e63f6ed5d6fedb4177497c3734 (patch) | |
| tree | d8e26220bf22cc0ff6778d86cdf736b6f5f03eed /.config/nvim/lua/opts.lua | |
| parent | 2d89de28fb8d785dbadb4b5e1d3c3a7156172b46 (diff) | |
refactor: put nvim config into one file
Diffstat (limited to '')
| -rw-r--r-- | .config/nvim/lua/opts.lua | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/.config/nvim/lua/opts.lua b/.config/nvim/lua/opts.lua deleted file mode 100644 index 3f7dc11..0000000 --- a/.config/nvim/lua/opts.lua +++ /dev/null @@ -1,47 +0,0 @@ -local opts = { - -- clipboard = "unnamedplus", - -- textwidth = 80, - autochdir = true, - autoindent = true, - cursorline = true, - expandtab = true, - hlsearch = true, - ignorecase = true, - linebreak = true, - listchars = { tab = ">-", trail = "~", extends = ">", precedes = "<", space = "." }, - mouse = "a", - number = true, - relativenumber = true, - shiftwidth = 4, - showmatch = true, - smartcase = true, - softtabstop = 4, - splitbelow = true, - splitright = true, - tabstop = 4, - termguicolors = true, - ttimeout = true, - ttimeoutlen = 1, - ttyfast = true, - undofile = true, -} - --- use a line cursor within insert mode and a block cursor everywhere else. --- reference chart of values: --- ps = 0 -> blinking block. --- ps = 1 -> blinking block (default). --- ps = 2 -> steady block. --- ps = 3 -> blinking underline. --- ps = 4 -> steady underline. --- ps = 5 -> blinking bar (xterm). --- ps = 6 -> steady bar (xterm). -vim.g.t_SI = "\27[6 q" -vim.g.t_EI = "\27[2 q" - -if vim.env.TERM == "alacritty" then - vim.opt.ttymouse = "sgr" -end - -for k, v in pairs(opts) do - vim.opt[k] = v -end |
