dotfiles

$HOME is where the <3 is
git clone git://git.alexkarle.com/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 7a1ef860bf214ece9b14879a6e99474106e79f9e (patch)
parent 223cb61e2d9acbaef91ad35b1fe3288adfdb779e
Author: Alex Karle <alex@alexkarle.com>
Date:   Sun, 27 Feb 2022 12:01:32 -0500

nvim: Source local.lua, if it exists

Again, this is nice for site-local configuration

Diffstat:
M.config/nvim/init.lua | 3+++
M.gitignore | 3+++
2 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/.config/nvim/init.lua b/.config/nvim/init.lua @@ -21,3 +21,6 @@ vim.api.nvim_set_keymap("n", "<C-h>", "<C-w>h", { noremap = true }) vim.api.nvim_set_keymap("n", "<C-j>", "<C-w>j", { noremap = true }) vim.api.nvim_set_keymap("n", "<C-k>", "<C-w>k", { noremap = true }) vim.api.nvim_set_keymap("n", "<C-l>", "<C-w>l", { noremap = true }) + +-- Lastly, source a local config, if it exists +vim.cmd [[runtime! local.lua]] diff --git a/.gitignore b/.gitignore @@ -4,3 +4,6 @@ !.mblaze/filter !.mblaze/headers !.mblaze/profile + +# Local nvim config +.config/nvim/local.lua