Could we change the project description to better explain the above features, without having to wade through the Drupal manual..
Using Linux on the command line, I couldn't work out why these commands did nothing.

I suggest:

ftplugin/php_drupal.vim
    This sets several vim options to appropriate values for editing PHP files, to make it easier to follow Drupal coding standards. It also defines the following mappings:

    <LocalLeader>da
        Lookup the API docs for a drupal function under cursor and open it in a web browser.

    <LocalLeader>dda
        Lookup the API docs for a drush function under cursor and open it in a web browser.

    <LocalLeader>dv
        Get the value of the drupal variable under cursor and open it in a web browser.

Comments

benjifisher’s picture

Status: Active » Needs review
StatusFileSize
new764 bytes

I changed the wording a bit, but added that \da and \dda open a web browser. The \dv command does not open in a web browser, but I added a comment that it requires drush.

I did not use <LocalLeader> in the definition list, but I added a line from the vim help file after the list. I keep thinking that I should have common sources for the HTML and vim-help documentation.

Please review the attached patch for the vim help file.

benjifisher’s picture

Status: Needs review » Fixed
StatusFileSize
new1.47 KB

I re-rolled the patch from #1 and committed it: f8207e7.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.