On 13/04/09 14:00, Yue Wu wrote: > > I created a help type of file, it has *foo.txt*, I find that in offical > help > type of file, |foo.txt| would work as expected, so it will locate me to > foo.txt, > but in my own help type of file, *foo.txt* can't work correctly, it would > try to > locate to foo or . or txt, what's wrong? I don't think it's related to > iskeyword. >
- Did you place your helpfile in a help directory, namely, $VIM/vimfiles/doc/ (on any platform), ~/.vim/doc/ (on Unix etc.) or ~/vimfiles/doc/ (on Windows etc.)? - After you did, did you run the |:helptags| command on that directory? - How did you open the file where the |link| is found? If you opened it by a standard help command (including :help :helpgrep etc. but not :view :vimgrep etc.) linking to |foo.txt| should work. - The following single-line ~/.vim/after/ftplugin/help.vim might help: setl isk=33-126,161-255,^*,^\",^\| Best regards, Tony. -- Board the windows, up your car insurance, and don't leave any booze in plain sight. It's St. Patrick's day in Chicago again. The legend has it that St. Patrick drove the snakes out of Ireland. In fact, he was arrested for drunk driving. The snakes left because people kept throwing up on them. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
