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

Re: Shortcuts within a special scope

Expand Messages
  • thomas
    ... If by scope you mean the buffer s filetype, you could put the map command in after/ftplugin/foo.vim and user the argument. ... HTH Thomas.
    Message 1 of 2 , Dec 1, 2007
    • 0 Attachment
      > I am wondering if it is possible to map shortcuts only to a special
      > scope (= filetpye = foo)

      If by scope you mean the buffer's filetype, you could put the map
      command in after/ftplugin/foo.vim and user the <buffer> argument.

      :h :map-local

      HTH
      Thomas.

      --~--~---------~--~----~------------~-------~--~----~
      You received this message from the "vim_dev" maillist.
      For more information, visit http://www.vim.org/maillist.php
      -~----------~----~----~----~------~----~------~--~---
    Your message has been successfully submitted and would be delivered to recipients shortly.