feat(ansible): install tmux/mc/git/nvim with laptop dotfiles

This commit is contained in:
u1
2026-02-06 23:23:44 +01:00
parent 415af7efcd
commit 758f996e6b
12 changed files with 825 additions and 1 deletions

View File

@@ -0,0 +1,51 @@
-- ======================================================================
-- options.lua — Vim options and settings
-- ======================================================================
local opt = vim.opt
-- Clipboard
opt.clipboard = "unnamedplus"
-- Editing behavior
opt.backspace = { "indent", "eol", "start" }
opt.mouse = "r"
opt.compatible = false
-- UI
opt.number = true
opt.cursorline = true
opt.showcmd = true
opt.showmode = true
opt.showmatch = true
opt.scrolloff = 10
opt.wrap = false
-- Indentation
opt.shiftwidth = 4
opt.tabstop = 4
opt.expandtab = true
-- Search
opt.incsearch = true
opt.ignorecase = true
opt.smartcase = true
opt.hlsearch = true
-- Files
opt.backup = false
opt.history = 1000
opt.tags = { "./tags;,tags;" }
-- Completion
opt.wildmenu = true
opt.wildmode = { "list", "longest" }
opt.wildignore = {
"*.docx","*.jpg","*.png","*.gif","*.pdf","*.pyc","*.exe","*.flv","*.img","*.xlsx"
}
-- Filetype detection
vim.cmd("filetype on")
vim.cmd("filetype plugin on")
vim.cmd("filetype indent on")
vim.cmd("syntax on")