Skip to content

let remappings zx,za... conserve prior maps #14

@Konfekt

Description

@Konfekt

This could be achieved by something in the vein of

let nzx = maparg('zx','n',0,1)
if exists('nzx.rhs') | execute 'nnoremap ' . (nzx.expr ? '<expr>' : '') . ' <SID>zx '.nzx.rhs | else | nnoremap  <SID>zx zx | endif
nmap <expr> zx <SID>zx<plug>(FastFoldUpdate)

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