Loading ...
Sorry, an error occurred while loading the content.

14098issue with executing command silently

Expand Messages
  • peiman khosravi
    Jan 2, 2014
    • 0 Attachment

      Running this command works as expected: 

      :silent !open -a safari /Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Manual/<cfile>.html

      But when I assign the same command to a key the 'silent' bit seems to be ignored and I get "Press ENTER or…". (See attached screenshot.)

      Is this normal? And how to avoid it?

      I've defined the key command in the folder ~/.vim/macros and it reads:

      map ∂ :silent! !open -a safari /Library/Frameworks/CsoundLib.framework/Versions/5.2/Resources/Manual/<cfile>.html<CR>

      Peiman Inline images 1

      You received this message from the "vim_mac" 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_mac" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_mac+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    • Show all 2 messages in this topic