mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
add all previous plugins and config
This commit is contained in:
26
after/plugin/defaults.lua
Normal file
26
after/plugin/defaults.lua
Normal file
@@ -0,0 +1,26 @@
|
||||
vim.opt.backup = false
|
||||
vim.opt.swapfile = false
|
||||
vim.opt.writebackup = false
|
||||
|
||||
vim.opt.colorcolumn = { 80, 120 }
|
||||
vim.opt.shiftwidth = 2
|
||||
vim.opt.tabstop = 2
|
||||
|
||||
vim.opt.showmode = false
|
||||
vim.opt.relativenumber = true
|
||||
vim.opt.listchars = "tab:» ,extends:›,precedes:‹,nbsp:·,trail:·,eol:↵"
|
||||
|
||||
-- global status line ftw
|
||||
vim.opt.laststatus = 3
|
||||
-- sometimes handy, sometimes not, still evaluating
|
||||
vim.opt.winbar = "%=%m %f"
|
||||
|
||||
vim.opt.splitbelow = true
|
||||
vim.opt.splitright = true
|
||||
|
||||
vim.opt.scrolloff = 4
|
||||
vim.opt.sidescrolloff = 4
|
||||
|
||||
vim.opt.spelllang = { "en_us", "en_gb", "de" }
|
||||
|
||||
vim.opt.foldlevelstart = 99
|
||||
Reference in New Issue
Block a user