On Friday, July 27, 2012 7:02:52 PM UTC-5, Bee wrote: > I tend to use ' around strings passed as arguments to functions or > > commands, and use " for comments. > > > > Comments... Please > >
I use " for strings when I need to use special characters, e.g. :execute "nnoremap \<CR>" MyFuncResult() I also use " for strings which contain ' characters, like: :echo "I don't like to double up the ' characters" I use ' everywhere else, especially when I want to include a literal backslash or a " character in a string. -- 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