Add function to jump to tf plan output
This commit is contained in:
parent
8b75209521
commit
0b8be7b2f7
@ -63,4 +63,11 @@
|
||||
|
||||
(advice-add 'terraform--get-resource-provider-namespace :around #'terraform-provider-ns-advice))
|
||||
|
||||
(defun terraform-jump-to-plan ()
|
||||
"Jump to the top of the plan output in a buffer showing a terraform plan."
|
||||
(interactive)
|
||||
(when (eq major-mode 'vterm-mode)
|
||||
(vterm-copy-mode))
|
||||
(search-backward "Terraform will perform the following actions:"))
|
||||
|
||||
(provide 'init-terraform)
|
||||
|
Loading…
Reference in New Issue
Block a user