Vim :q command

I’m very excited that we finally have the : command line in vim mode! One of the last big things Obsidian has been missing for me. One notable missing feature is the ability to type :q to close the current file/split/window
I admit I have no idea how much actual control you have over the command line, since it comes with codemirror, but if you can make this work my muscle memory will be very happy


I agree it should come by default, as :q → cose active pane.

I found a workaround using the community plugin “Vimrc Support”
adding this to my vimrc:
exmap q obcommand workspace:close

I’m still looking how to map :qa but im making progress.
Hope it helps.

1 Like