feat: dot plugin for new configuration
This commit is contained in:
55
lua/dot/init.lua
Normal file
55
lua/dot/init.lua
Normal file
@@ -0,0 +1,55 @@
|
||||
vim.g.mapleader = " "
|
||||
vim.g.maplocalleader = " "
|
||||
|
||||
-- Filetype plugins
|
||||
vim.o.filetype = "on"
|
||||
|
||||
-- Terminal
|
||||
vim.o.termguicolors = true -- True colors
|
||||
vim.g.have_nerd_font = true
|
||||
|
||||
---- Appearance
|
||||
|
||||
-- Line numbers
|
||||
vim.o.number = true
|
||||
vim.o.relativenumber = true
|
||||
vim.o.signcolumn = "yes"
|
||||
vim.o.colorcolumn = "80"
|
||||
|
||||
-- Indentation
|
||||
vim.o.expandtab = false
|
||||
vim.o.tabstop = 4
|
||||
vim.o.softtabstop = 4
|
||||
vim.o.shiftwidth = 4
|
||||
vim.o.breakindent = true
|
||||
vim.o.list = true
|
||||
vim.opt.listchars = { tab = "│ ", trail = ".", nbsp = "␣" }
|
||||
|
||||
----
|
||||
|
||||
-- Mouse support
|
||||
vim.o.mouse = "a"
|
||||
|
||||
-- Save undo history
|
||||
vim.o.undofile = true
|
||||
|
||||
vim.o.ignorecase = true
|
||||
vim.o.smartcase = true
|
||||
|
||||
vim.o.updatetime = 250
|
||||
vim.o.timeoutlen = 300
|
||||
|
||||
vim.o.splitright = true
|
||||
vim.o.splitbelow = true
|
||||
|
||||
vim.o.inccommand = "split"
|
||||
|
||||
vim.o.cursorline = true
|
||||
|
||||
vim.o.scrolloff = 10
|
||||
|
||||
vim.o.completeopt = "menuone,noselect"
|
||||
|
||||
-- Confirm on exit
|
||||
vim.o.confirm = true
|
||||
|
||||
Reference in New Issue
Block a user