Browse Source

nixpkgs/neovim: set splitright

Thomas Dy 6 days ago
parent
commit
13087ddd27
1 changed files with 3 additions and 0 deletions
  1. 3 0
      .config/nixpkgs/neovim/config/lua/user/settings.lua

+ 3 - 0
.config/nixpkgs/neovim/config/lua/user/settings.lua

@@ -37,6 +37,9 @@ vim.o.signcolumn = 'yes'
 -- have preview window be a bit taller
 -- have preview window be a bit taller
 vim.o.previewheight = 20
 vim.o.previewheight = 20
 
 
+-- split to the right by default
+vim.o.splitright = true
+
 -- make a new copy of the file for backup
 -- make a new copy of the file for backup
 -- setting to no or auto messes with filewatchers
 -- setting to no or auto messes with filewatchers
 vim.o.backupcopy = 'yes'
 vim.o.backupcopy = 'yes'