From a16bdfe930d89e1a7fb354b78d16e8742118f76d Mon Sep 17 00:00:00 2001 From: Rasmus Date: Sat, 8 Apr 2023 00:27:03 +0300 Subject: checkers --- config/.config/nvim/init.lua | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 config/.config/nvim/init.lua (limited to 'config/.config/nvim/init.lua') diff --git a/config/.config/nvim/init.lua b/config/.config/nvim/init.lua new file mode 100644 index 0000000..4bd956a --- /dev/null +++ b/config/.config/nvim/init.lua @@ -0,0 +1,36 @@ +-- Main +vim.opt.nu = true +vim.opt.clipboard = { 'unnamed', 'unnamedplus' } +vim.opt.wrap = false +vim.opt.termguicolors = true +vim.opt.swapfile = false + + +-- Tabs +vim.opt.tabstop = 4 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 4 +vim.opt.expandtab = true + + +-- Cursor +vim.opt.guicursor = block +vim.opt.scrolloff = 999 +vim.opt.sidescrolloff = 999 + + +-- Search +vim.opt.hlsearch = true +vim.opt.incsearch = true +vim.opt.ignorecase = true + + + +-- Misc +vim.opt.formatoptions:remove{ "c", "r", "o" } -- No nextLine autocomments +vim.opt.smartindent = true +vim.g.netrw_banner = 0 + + + +require("miself") -- cgit v1.2.3