This package defines text objects that should make your Javascript development experience even more enjoyable.
This package has text objects defined for:
Each of these text objects is cobbled together using rudimentary regular expressions and Evil movement commands. As such, there are a few limitations that are known. We hope to address each of these and eventually add test coverage to prevent regressions and support TDD, which would be immensely helpful during the implementation phase.
// this is supported
/**
* Comment content
* goes here
*/
// this is not
/** Comment content goes here */
(quelpa '(evil-text-objects-javascript
:fetcher github
:repo "urbint/evil-text-objects-javascript"))
(require 'evil-text-objects-javascript)
(add-hook 'rjsx-mode-hook #'evil-text-objects-javascript/install)
The following keybindings are assigned. Configuration may be provided in the future to support overwrites to reflect personal preferences. Please open an issue if you have a compelling reason this should be supported.