From fda2bc324b940db329b7db24b034503ab1212980 Mon Sep 17 00:00:00 2001 From: desktop Date: Tue, 5 Dec 2023 15:56:59 +0300 Subject: [PATCH] nvim : align : disable preview and enable regex. --- .config/nvim/lua/key/align.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.config/nvim/lua/key/align.lua b/.config/nvim/lua/key/align.lua index 9b16e22..4639708 100644 --- a/.config/nvim/lua/key/align.lua +++ b/.config/nvim/lua/key/align.lua @@ -1,4 +1,4 @@ require('key/rekey') -rekey_visual('A', 'lua require("align").align_to_string({ preview = true, regex = false, reverse = false })') -- align from left. -rekey_visual('a', 'lua require("align").align_to_string({ preview = true, regex = false, reverse = true })') -- align from right. +rekey_visual('A', 'lua require("align").align_to_string({ preview = false, regex = true, reverse = false })') -- align from left. +rekey_visual('a', 'lua require("align").align_to_string({ preview = false, regex = true, reverse = true })') -- align from right.