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

48590Re: Shortcuts within a special scope

Expand Messages
  • thomas
    Dec 1, 2007
      > 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
      -~----------~----~----~----~------~----~------~--~---
    • Show all 2 messages in this topic