In a vim compiled with '+extra_search',
doing ':bn!' will cycle through all files.

In vim.tiny ':n' will edit the next file.

When editing more than one file
if ':n' is used in the last file an error
'E165: Cannot go beyond last file' is generated.

I know I can use ':N' to go to the previous file,
':rewind' or ':first' to start at the first file.

Is it possible to detect the E165 and issue ':rewind' in the same vim map 
command? Remember vim.tiny does not have '+eval'.

-- 
-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to