Edit Page
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 21: | Line 21: | ||
execute currwin . 'wincmd w' |
execute currwin . 'wincmd w' |
||
endfunction |
endfunction |
||
− | com! -nargs=+ -complete=command Windo call WinDo(<q-args |
+ | com! -nargs=+ -complete=command Windo call WinDo(<q-args>) |
" Just like Windo, but disable all autocommands for super fast processing. |
" Just like Windo, but disable all autocommands for super fast processing. |
||
− | com! -nargs=+ -complete=command Windofast noautocmd call WinDo(<q-args |
+ | com! -nargs=+ -complete=command Windofast noautocmd call WinDo(<q-args>) |
" Just like bufdo, but restore the current buffer when done. |
" Just like bufdo, but restore the current buffer when done. |
||
Line 32: | Line 32: | ||
execute 'buffer ' . currBuff |
execute 'buffer ' . currBuff |
||
endfunction |
endfunction |
||
− | com! -nargs=+ -complete=command Bufdo call BufDo(<q-args |
+ | com! -nargs=+ -complete=command Bufdo call BufDo(<q-args>) |
</pre> |
</pre> |
||
Line 64: | Line 64: | ||
if expand('%') == '' |
if expand('%') == '' |
||
return |
return |
||
− | elseif &ro || !&modified |
+ | elseif &ro || !&modified |
return |
return |
||
endif |
endif |
||
Line 76: | Line 76: | ||
==Comments== |
==Comments== |
||
+ | |||
+ | ---- |