In bash commandline, you can use vim shortcuts by setting set editing-mode vi
in the ~/.inputrc
file. I want to be able do the same when typing <prefix>:new
to create a new window for example.
(In my ~/.tmux.conf
file, i have set-window-option -g mode-keys vi
, which does not achieve the above in the command mode.)
<prefix>:neww
as:
is bound to the command prompt by default, andneww
is an alias fornew-window
?