On 2020-11-27 07:44, tu...@posteo.de wrote: > suppose I want to delete a line in each window or tab I currently > have in my vim...how can I do a > > windo > or > > tabdo > > combined with 'dd' (and I am too lazy to lookup the command name > in the help for each shortcut I want to use this way... ;)
Well for the "dd" case, that's the same as the ex ":d" command so you can do :windo d :tabdo d assuming that the cursor is positioned on the right line. If it's a particular line like the first or last line in the file, you can specify that: :windo 1d :windo $d or if it's all lines matching a pattern, :windo g/pattern/d -tim -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/20201127095949.1f6b9036%40bigbox.attlocal.net.