diff options
| author | Cryxtalix <fgx8p9t@protonmail.com> | 2024-11-08 21:58:55 +0800 |
|---|---|---|
| committer | Cryxtalix <fgx8p9t@protonmail.com> | 2024-11-08 21:58:55 +0800 |
| commit | dc839e971ad6a724bc99bccc6dfaa11ee8a1eaa9 (patch) | |
| tree | 79e1ee75429a5ef500f716d3675aeec6c52dcda1 /.config/nvim/init.lua.save | |
Init gnu stow
Diffstat (limited to '.config/nvim/init.lua.save')
| -rw-r--r-- | .config/nvim/init.lua.save | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.config/nvim/init.lua.save b/.config/nvim/init.lua.save new file mode 100644 index 0000000..8abcdc8 --- /dev/null +++ b/.config/nvim/init.lua.save @@ -0,0 +1,31 @@ +-- Basic +vim.g.mapleader = " " +vim.opt.wrap = true +vim.opt.number = true +vim.opt.relativenumber = true +vim.opt.laststatus = 2 +vim.opt.hlsearch = true +vim.opt.incsearch = true +vim.opt.syntax = ON +vim.cmd("filetype plugin on") + +-- Temp +vim.opt.mouse = "" + +-- Install Lazy.vim +local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim" +if not vim.loop.fs_stat(lazypath) then + vim.fn.system({ + "git", + "clone", + "--filter=blob:none", + "https://github.com/folke/lazy.nvim.git", + "--branch=stable", -- latest stable release + lazypath, + }) +end +vim.opt.rtp:prepend(lazypath) + +local opts = {} + +require("lazy").setup("plugins") |
