2011/3/10 Christian Brabandt <[email protected]>: > > :g/\.\.\?$/d
Technically this will also delete other file names if ends in a dot (not a recommendable name, but possible at all). This other one will avoid it: :g/\(\s\.\|\/\.\)\.\?$/d Regards. -- Joan Miquel Torres__________________________________ Linux Registered User #164872 http://www.mallorcaweb.net/joanmiquel BULMA: http://bulma.net http://breu.bulma.net/?l2301 -- 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
