sponsor Vim development Vim logo Vim Book Ad

vim-lesscss : Update corresponding css files on the fly while edits less files

 script karma  Rating 23/8, Downloaded by 1945  Comments, bugs, improvements  Vim wiki

created by
Vital Kudzelka
 
script type
utility
 
description
Vim plugin that make it easy to edit less files without need to manually
update corresponding css file.

Just open your `less` file in Vim and edit it. On save corresponding `css`
file will be created with the same name as original.

Use ':Lesscss[!] [cmd] to run predefined command or reuse previous.

Each command is a dictionary that define custom options you want to use
when ':Lesscss' runs, such as less compiler options or output file location.

Command applied globally unless the ! is provided, in which case the command
applied only to current buffer.

For example, to disable Lesscss for all buffers run:

    :Lesscss off

To disable Lesscss only for current one use:

    :Lesscss! off

For more details, see README on github:

https://github.com/vitalk/vim-lesscss
 
install details
If your don't have a preferred way to install Vim plugins, try to use pathogen(http://www.vim.org/scripts/script.php?script_id=2332) and then run:

cd ~/.vim/bundle
git clone git://github.com/vitalk/vim-lesscss.git
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
vim-lesscss-0.7.zip 0.7 2014-05-13 7.0 Vital Kudzelka Support source map for output.
vim-lesscss-0.4.zip 0.4 2013-08-29 7.0 Vital Kudzelka Add support of custom commads to :Lesscss.
vim-lesscss-0.2.zip 0.2 2012-11-28 7.0 Vital Kudzelka fail silently if cannot create output directory and prevent write to remote fs
vim-lesscss.tar.gz 0.1 2012-11-12 7.0 Vital Kudzelka Initial upload
ip used for rating: 13.58.197.26

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github