How to execute selected text as Vim commands December 3, 2023 by Tarik You can select the lines, yank the selection and execute it with :@"