From 923d0cb11865a278073fd5f6f981380f7c27f86a Mon Sep 17 00:00:00 2001 From: Dietrich Moerman Date: Tue, 16 Jan 2024 11:49:29 +0100 Subject: [PATCH] Use `ruuid` as abbreviation for random UUID --- nvim/.config/nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index d402c9a0..5a92b7b4 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -220,7 +220,7 @@ vim.api.nvim_create_autocmd('TextYankPost', { }) -- Global abbreviations. -vim.cmd.iabbrev('', 'uuid', [[luaeval('io.open("/proc/sys/kernel/random/uuid"):read()')]]) +vim.cmd.iabbrev('', 'ruuid', [[luaeval('io.open("/proc/sys/kernel/random/uuid"):read()')]]) -- Write without triggering autocommands. vim.api.nvim_create_user_command('Nw', [[:noautocmd w]], {})