samedi 7 août 2021

how to write an if statement in vimrc for checking subsequent character?

(vim script) I want to check weather the next subsequent character is '}' or not and as a result do something. if true do :

<Esc>la

l(move to the left)

a(switch to insert mode)

Aucun commentaire:

Enregistrer un commentaire