1
0
Fork 0
vdotfiles/nvim/lua/settings.lua

35 lines
827 B
Lua
Raw Normal View History

local fsize = '11'
if vim.loop.os_uname().sysname == 'Darwin' then fsize = '14' end
vim.o.modeline = false
vim.o.foldmethod = 'marker'
vim.o.cursorline = true
vim.o.colorcolumn = '80'
vim.o.relativenumber = true
vim.o.breakindent = true
2023-01-04 20:54:18 +02:00
vim.o.clipboard = 'unnamedplus'
vim.o.list = true
2023-01-04 20:54:18 +02:00
vim.o.listchars = 'tab:==>,nbsp:x,trail:*'
vim.o.ignorecase = true
vim.o.smartcase = true
vim.o.scrolloff = 3
vim.o.sidescrolloff = 15
vim.o.tabstop = 3
vim.o.softtabstop = 4
vim.o.shiftwidth = 4
vim.o.expandtab = true
vim.o.keymap = 'russian-jcukenwintype'
vim.o.iminsert = 0
vim.o.imsearch = 0
vim.o.title = true
2023-01-13 14:34:19 +02:00
vim.o.titlestring = '[%{hostname()}] %t - neovim'
vim.o.statusline = '[%F] %R%H%W%M %=[%{&fenc}/%{&ff}] %y [%4l/%L:%3v]'
2023-02-02 11:32:10 +02:00
vim.o.guifont = 'vcascadia:h' .. fsize