diff options
author | Rasmus <rasmus.luha@gmail.com> | 2023-04-08 00:27:03 +0300 |
---|---|---|
committer | Rasmus <rasmus.luha@gmail.com> | 2023-04-08 00:27:03 +0300 |
commit | a16bdfe930d89e1a7fb354b78d16e8742118f76d (patch) | |
tree | f32aabd929a485ac24ea2b3fb1c9c9d041f27478 /config/.config/nvim/init.lua |
checkers
Diffstat (limited to 'config/.config/nvim/init.lua')
-rw-r--r-- | config/.config/nvim/init.lua | 36 |
1 files changed, 36 insertions, 0 deletions
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") |