aboutsummaryrefslogtreecommitdiffstats
path: root/modules/tools/editor/neovim/options.lua
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-24 23:13:51 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2024-09-24 23:13:51 +0530
commitc0c5087218c27e31c3e6f66f3937bff22fa0f647 (patch)
treedede2292db1423cef901932a7898ec951c9d2345 /modules/tools/editor/neovim/options.lua
parent21265ba643f1c12ad40e5195de8a3a97682adbde (diff)
downloadhome-manager-config-c0c5087218c27e31c3e6f66f3937bff22fa0f647.tar.gz
home-manager-config-c0c5087218c27e31c3e6f66f3937bff22fa0f647.zip
Using nix flake modules to manage the configurations.
Diffstat (limited to 'modules/tools/editor/neovim/options.lua')
-rw-r--r--modules/tools/editor/neovim/options.lua21
1 files changed, 21 insertions, 0 deletions
diff --git a/modules/tools/editor/neovim/options.lua b/modules/tools/editor/neovim/options.lua
new file mode 100644
index 0000000..b1fe9cb
--- /dev/null
+++ b/modules/tools/editor/neovim/options.lua
@@ -0,0 +1,21 @@
+vim.g.mapleader = " ";
+vim.g.maplocalleader = " ";
+
+vim.o.clipboard = "unnamedplus";
+
+vim.o.number = true;
+vim.o.list = true;
+vim.o.listchars = "tab:| ,trail:_,lead:_";
+
+vim.o.laststatus = 3;
+
+vim.o.signcolumn = "auto";
+vim.opt.fillchars = { eob = " " };
+
+vim.o.tabstop = 2;
+vim.o.shiftwidth = 2;
+vim.o.expandtab = false;
+
+vim.o.updatetime = 300;
+
+vim.o.mouse = "a";