summaryrefslogtreecommitdiffstats
path: root/lua/Nanderty/general.lua
diff options
context:
space:
mode:
authorNanderty <psopka@sopka.ch>2023-03-13 14:05:27 +0100
committerNanderty <psopka@sopka.ch>2023-03-13 14:05:27 +0100
commit59bd3aeee04b6ff559c51a324234a5100db0b2e1 (patch)
tree739c38a4b0bfea8744200d1a88b532afddddd8be /lua/Nanderty/general.lua
parentf2f01ec507b3e17494ceb149f5cd762571bf4920 (diff)
downloadneovim-config-59bd3aeee04b6ff559c51a324234a5100db0b2e1.tar.gz
neovim-config-59bd3aeee04b6ff559c51a324234a5100db0b2e1.tar.bz2
neovim-config-59bd3aeee04b6ff559c51a324234a5100db0b2e1.zip
new plugins
Diffstat (limited to 'lua/Nanderty/general.lua')
-rw-r--r--lua/Nanderty/general.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/lua/Nanderty/general.lua b/lua/Nanderty/general.lua
index c051876..36f6519 100644
--- a/lua/Nanderty/general.lua
+++ b/lua/Nanderty/general.lua
@@ -2,13 +2,16 @@ vim.opt.spelllang = {'de_de', 'en_us'}
vim.opt.timeoutlen = 500
vim.opt.updatetime = 200
-vim.opt.clipboard = 'unnamedplus'
vim.opt.mouse = a
vim.opt.signcolumn = 'yes'
vim.opt.cursorline = true
+vim.opt.undofile = true
+vim.opt.undodir = { vim.fn.stdpath('data')..'/undo' }
+vim.opt.undolevels = 1000
+
vim.opt.number = true
-vim.opt.scrolloff = 30
+vim.opt.scrolloff = 20
vim.opt.numberwidth = 5
vim.opt.termguicolors = true