Spacemacs vim-mode how to move to last non-blank character of the line

how to move to last non-blank character of the line in spacemacs vim-mode. g_ doesn’t work.

不是$

你需要用这个函数mwim-end-of-code-or-line,可以参考这个layer spacemacs/packages.el at develop · syl20bnr/spacemacs · GitHub