New answers tagged

0

There is a vim plugin called vis.vim which allows this functionality. I found it on this stack overflow post: https://stackoverflow.com/questions/40072761/vim-send-visual-block-to-external-command#answer-40083050


2

I'm not sure what was the problem then, but on Vim 8.1.1600 (on macOS Catalina), the following works for me now. Example C file: #include <stdio.h> int main() { printf("%d", 5); return 0; } Vim sequence to record the macro- Ensure you are in normal mode Press qg to start recording the macro for the key g Press :w and then press ...


Top 50 recent answers are included