Skip to content

correct nnoremap for .vimrc #18

@yss

Description

@yss

nnoremap ,m :w <BAR> !lessc % > %:t:r.css<CR><space>
it is incorrect for open fullpath less, such as vim static/css/base.less
And press ,m, the base.css file vim ouput in static directory

so, you should use: nnoremap ,m :w <BAR> !lessc % > %:p:r.css<CR><space>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions