jamgoo
jamgoo

Reputation: 73

Remap <space><space> to diw in powershell vi mode

I wanted to map <space><space> to diw in vi mode of psreadline. How do I do that?

Upvotes: 0

Views: 44

Answers (1)

jamgoo
jamgoo

Reputation: 73

Set-PSReadLineKeyHandler -Chord ' , ' -Function DeleteWord -ViMode Command

Upvotes: 0

Related Questions