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

35 lines
832 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]'
vim.o.guifont = 'JetBrains Mono:h' .. fsize