Hello! Here's my latest try at helping with DCL's $s:
au BufWinEnter * if &ft == "dcl"|%s/^\$//e|setlocal nomod|endif au BufWrite * if &ft == "dcl" au BufWrite * 1,$-1g/[^\-]$/.+1,.+1s/^/$/e au BufWrite * 1,1s/^/$/e|endif Enjoy! Chip Campbell -- You received this message from the "vim_dev" 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
