Skip to content

Vim の map でコマンドを展開させた場合に任意の位置にカーソルを持ってくる #5

Description

@tyru

http://d.hatena.ne.jp/osyo-manga/20130424/1366800441

nnoremap <A-p> :%s//hoge/g<Left><Left><Left><Left><Left><Left><Left>

を

Map [n] <A-p> :%s/<cursor>/hoge/g

と書けるようにする。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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