From d9acdbd017c6c3495c16891b54e2ef5c67502d0b Mon Sep 17 00:00:00 2001 From: Moshe Avni Date: Sun, 5 Jan 2025 13:38:01 +0200 Subject: [PATCH] move tf action --- nvim/.config/nvim/lua/user/actions.lua | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/nvim/.config/nvim/lua/user/actions.lua b/nvim/.config/nvim/lua/user/actions.lua index 15a68d0..9822f7a 100644 --- a/nvim/.config/nvim/lua/user/actions.lua +++ b/nvim/.config/nvim/lua/user/actions.lua @@ -86,11 +86,6 @@ return { ['[Folds] Close all folds (fc)'] = function() vim.cmd 'normal! zM' end, - ['[Terraform] Add -target macro to register q'] = function() - -- set q register to -target - vim.fn.setreg('q', [[yss'I-target=A \j]]) - pretty_print('Macro q set to -target', 'Terraform') - end, ['[Terraform] Remove terragrunt files'] = function() require('lazy').load { plugins = { 'vim-fugitive' } } local scan_dir = require 'plenary.scandir' @@ -113,6 +108,9 @@ return { v? will be ?d %s?\v^\s*#\s*(.*) will be (.*)?\1 \2? ]] + -- set q register to -target + vim.fn.setreg('q', [[yss'I-target=A \j]]) + pretty_print('Macro q set to -target', 'Terraform') end, ['Basic groovy format'] = function() vim.cmd.BasicGroovyFormat()