mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
Move my defaults to init.lua
There is no plugin default, why after/plugin/default.lua is not run
This commit is contained in:
29
init.lua
29
init.lua
@@ -157,9 +157,36 @@ require('lazy').setup({
|
||||
|
||||
-- [[ Setting options ]]
|
||||
-- See `:help vim.o`
|
||||
--
|
||||
|
||||
-- look mom, no backups
|
||||
vim.o.backup = false
|
||||
vim.o.swapfile = false
|
||||
vim.o.writebackup = false
|
||||
|
||||
vim.o.colorcolumn = '80,120'
|
||||
vim.o.shiftwidth = 2
|
||||
vim.o.tabstop = 2
|
||||
|
||||
-- global status line ftw
|
||||
vim.opt.laststatus = 3
|
||||
|
||||
-- well, do I recall what this does? I don't atm
|
||||
vim.o.splitbelow = true
|
||||
vim.o.splitright = true
|
||||
|
||||
-- spelling
|
||||
vim.o.spelllang = 'en_us,en_gb,de'
|
||||
|
||||
-- scrolloff
|
||||
vim.o.scrolloff = 4
|
||||
vim.o.sidescrolloff = 4
|
||||
|
||||
-- sometimes handy, sometimes not, still evaluating
|
||||
vim.o.winbar = '%=%m %f'
|
||||
|
||||
-- Set highlight on search
|
||||
vim.o.hlsearch = false
|
||||
vim.o.hlsearch = true
|
||||
|
||||
-- Make line numbers default
|
||||
vim.wo.number = true
|
||||
|
||||
Reference in New Issue
Block a user