diff options
| author | Simen A. W. Olsen <so@bjerk.io> | 2024-05-26 21:38:43 +0200 |
|---|---|---|
| committer | Simen A. W. Olsen <so@bjerk.io> | 2024-05-26 21:38:43 +0200 |
| commit | 3a9c76d44f5c60c0f66acad9cbfbc8f255aff0dc (patch) | |
| tree | 6068d8d27b2108535bbe5359c6934d14f71923ce /.config/nvim/lua/simenandre/set.lua | |
| parent | a2f43302e1524cc8fe38791e0fdc00a3695fb76b (diff) | |
| download | dotfiles-3a9c76d44f5c60c0f66acad9cbfbc8f255aff0dc.tar.gz dotfiles-3a9c76d44f5c60c0f66acad9cbfbc8f255aff0dc.zip | |
fine-adjustments
Diffstat (limited to '.config/nvim/lua/simenandre/set.lua')
| -rw-r--r-- | .config/nvim/lua/simenandre/set.lua | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/.config/nvim/lua/simenandre/set.lua b/.config/nvim/lua/simenandre/set.lua index c1248ee..1bd1b6c 100644 --- a/.config/nvim/lua/simenandre/set.lua +++ b/.config/nvim/lua/simenandre/set.lua @@ -1,4 +1,3 @@ --- Set <space> as the leader key -- See `:help mapleader` -- NOTE: Must happen before plugins are loaded (otherwise wrong leader will be used) vim.g.mapleader = " " @@ -65,8 +64,20 @@ vim.opt.cursorline = true -- Minimal number of screen lines to keep above and below the cursor. vim.opt.scrolloff = 10 + +vim.opt.tabstop = 2 +vim.opt.softtabstop = 4 +vim.opt.shiftwidth = 2 +vim.opt.expandtab = true + +vim.opt.smartindent = true + +vim.opt.colorcolumn = "80" +vim.opt.wrap = false + -- [[ Basic Autocommands ]] -- See `:help lua-guide-autocommands` +-- -- Highlight when yanking (copying) text -- Try it with `yap` in normal mode |
