Hi, I'm using NERDTree as a file browser in VIM. One of the things I would like to be able to do is have another application open when the file cannot be viewed by vim. I'm almost there. I added lines like this to my .vimrc:
au BufReadCmd *.doc !abiword <afile> now when I select a .doc file in NERDTree it is opened up in abiword. One issue I have with this is that a buffer is also opened up, and if I write that buffer it erases my original .doc. I'm worried that I may end up doing this accidentally at some point (it would be like me). Is there any way to avoid the buffer opening? Thanks Andy -- View this message in context: http://old.nabble.com/Trying-to-launch-applications-from-Vim-tp28184282p28184282.html Sent from the Vim - General mailing list archive at Nabble.com. -- 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 Subscription settings: http://groups.google.com/group/vim_use/subscribe?hl=en
