From bd5a9aa75b8cc559d7667cb506e2a332a38ed4a9 Mon Sep 17 00:00:00 2001 From: zymon Date: Wed, 21 Aug 2024 13:01:54 +0200 Subject: [PATCH] repo init + config reorg --- README.md | 6 ++++++ init.lua | 11 +++++++++++ 2 files changed, 17 insertions(+) create mode 100644 README.md create mode 100644 init.lua diff --git a/README.md b/README.md new file mode 100644 index 0000000..758ef33 --- /dev/null +++ b/README.md @@ -0,0 +1,6 @@ +# zymon's nvim config + +## Install +```sh +ln -s `pwd` "${XDG_CONFIG_HOME}/nvim" +``` diff --git a/init.lua b/init.lua new file mode 100644 index 0000000..7474d5b --- /dev/null +++ b/init.lua @@ -0,0 +1,11 @@ +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