Skip to content

About

Generates modeline according to the current settings.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Latest commit

 

History

4 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

This is a mirror of http://www.vim.org/scripts/script.php?script_id=1477

[How to use it?]

execute ':Modeliner'.


[And, what will happen?]

If your current settings are like below:
  - setl fenc=utf-8
  - setl et
  - setl sts=4

then you will get a modeline like:
  - for 'c' filetype:
      /* vim: set fenc=utf-8 et sts=4 : */
  - for 'xml' filetype:
      <!-- vim: set fenc=utf-8 et sts=4 : -->


[How to include my favorite options?]

Modify  g:Modeliner_format.  It is a simple format.

An example:
    let g:Modeliner_format = 'fenc=  tw=  et  ts=  sts=  sw=  backup wrap'

About

Generates modeline according to the current settings.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages