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

Re: New to Python

Expand Messages
  • Benoit Cerrina
    ... Yes but this is already what is done trhought the filetype detection mechanism and ftplugins Benoit
    Message 1 of 4 , Nov 1, 2001
    • 0 Attachment
      >
      > Can't you also use an autocommand that loads your python specific settings
      > whenever you open a file with a *.py extension?
      >
      >
      > " HTML
      > autocmd BufNewFile,BufRead *.html so $VIMRUNTIME/../myconfigfiles/html.vim
      >
      > " Java
      > autocmd BufNewFile,BufRead *.java so $VIMRUNTIME/../myconfigfiles/java.vim
      >
      > " JSP
      > autocmd BufNewFile,BufRead *.jsp so $VIMRUNTIME/../myconfigfiles/html.vim
      > autocmd BufNewFile,BufRead *.jsp so $VIMRUNTIME/../myconfigfiles/java.vim
      > autocmd BufNewFile,BufRead *.jsp so $VIMRUNTIME/../myconfigfiles/jsp.vim
      >
      >
      Yes but this is already what is done trhought the filetype detection
      mechanism
      and ftplugins
      Benoit
    Your message has been successfully submitted and would be delivered to recipients shortly.