Skip to main content
3 events
when toggle format what by license comment
Feb 12 at 9:28 comment added Rich Ah okay. If the commands already exist elsewhere and are something you want to re-use then what I'd then personally do is convert them into mappings or Vimscript functions that use :normal. There's no obvious benefit to recording macros if you already have the commands set up. If you do try using macros in the future, then consider using :set lazyredraw to improve their speed.
Feb 12 at 7:54 comment added Helmut M i will try writing macros... its a bit more work. speed is essential. hundreds of files, thousands of lines, not much time... every microsecond adds up. copy&paste was very fast that way. i have commands in separate terminal i can just highlight as needed.
Feb 9 at 16:41 history answered Rich CC BY-SA 4.0