diff options
-rw-r--r-- | common/vim.nix | 2 | ||||
-rw-r--r-- | dotfiles/vim/lua/myConfig.lua | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/common/vim.nix b/common/vim.nix index 89d28b7..e6c0ab8 100644 --- a/common/vim.nix +++ b/common/vim.nix | |||
@@ -198,7 +198,7 @@ in { | |||
198 | vale | 198 | vale |
199 | ]; | 199 | ]; |
200 | 200 | ||
201 | environment.sessionVariables = { | 201 | environment.variables = { |
202 | EDITOR = "nvim"; | 202 | EDITOR = "nvim"; |
203 | MANPAGER = "nvim +Man!"; | 203 | MANPAGER = "nvim +Man!"; |
204 | NEOVIDE_MULTIGRID = "true"; | 204 | NEOVIDE_MULTIGRID = "true"; |
diff --git a/dotfiles/vim/lua/myConfig.lua b/dotfiles/vim/lua/myConfig.lua index 4411d8c..df1fb64 100644 --- a/dotfiles/vim/lua/myConfig.lua +++ b/dotfiles/vim/lua/myConfig.lua | |||
@@ -5,8 +5,11 @@ vim.o.undofile = true | |||
5 | vim.o.backup = true | 5 | vim.o.backup = true |
6 | vim.opt.backupdir:remove "." | 6 | vim.opt.backupdir:remove "." |
7 | 7 | ||
8 | vim.opt.shortmess:append "A" | ||
8 | vim.opt.shortmess:append "c" | 9 | vim.opt.shortmess:append "c" |
9 | 10 | ||
11 | vim.opt.diffopt:append "linematch:60" | ||
12 | |||
10 | vim.o.mouse = "a" | 13 | vim.o.mouse = "a" |
11 | 14 | ||
12 | vim.o.ignorecase = true | 15 | vim.o.ignorecase = true |
@@ -21,8 +24,6 @@ vim.o.cindent = true | |||
21 | vim.o.tabstop = 4 | 24 | vim.o.tabstop = 4 |
22 | vim.o.shiftwidth = 4 | 25 | vim.o.shiftwidth = 4 |
23 | 26 | ||
24 | vim.opt.shortmess:append "A" | ||
25 | |||
26 | vim.o.inccommand = "split" | 27 | vim.o.inccommand = "split" |
27 | 28 | ||
28 | vim.o.scrolloff = 1 | 29 | vim.o.scrolloff = 1 |