Re: How to combine windo/tabdo with a shortcutted command?

2020-11-29 Thread tuxic
Hi Salman, WHOW! Thank you ***VERY MUCH!*** :) :) :) :) :) Will insert those in my .vimrc! Cheers! Meino On 11/29 02:19, Salman Halim wrote: > You're welcome. If you use windo and tabdo a lot, these versions might > interest you. They work the same as the originals, but will restore your >

Re: How to combine windo/tabdo with a shortcutted command?

2020-11-29 Thread Salman Halim
You're welcome. If you use windo and tabdo a lot, these versions might interest you. They work the same as the originals, but will restore your current window and tab after they're done. For example, if you execute ':windo set nu!', you'll end up in the last window you have open in the current

Re: How to combine windo/tabdo with a shortcutted command?

2020-11-29 Thread tuxic
Hi Salman, OH YES! :) Exactly what I have searched for! Thanks a lot! Cheers! Meino On 11/29 01:15, Salman Halim wrote: > If you're duplicating keystrokes you might hit in normal mode, the command > is :normal, so something like might work: > > tabdo windo normal dd > tabdo windo normal

Re: How to combine windo/tabdo with a shortcutted command?

2020-11-29 Thread Salman Halim
If you're duplicating keystrokes you might hit in normal mode, the command is :normal, so something like might work: tabdo windo normal dd tabdo windo normal Ihello -- Salman On Sun, Nov 29, 2020, 13:10 wrote: > Hi Tim, > > thanks for your reply! > > Is there a more general way to acchieve

Re: How to combine windo/tabdo with a shortcutted command?

2020-11-29 Thread tuxic
Hi Tim, thanks for your reply! Is there a more general way to acchieve this? If I would had asked: "I have a command, which is known by its shortcut only: How can I execute this command for each tab or each window by using tabdo or window respectively?" Is there an answer even if the command

Re: How to combine windo/tabdo with a shortcutted command?

2020-11-27 Thread Tim Chase
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

How to combine windo/tabdo with a shortcutted command?

2020-11-26 Thread tuxic
Hi, 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... ;) Is there a common way to this? Cheers! mcc