MCPcopy
hub / github.com/philc/vimium / init

Method init

content_scripts/mode_visual.js:498–504  ·  view source on GitHub ↗
(options)

Source from the content-addressed store, hash-verified

496
497class VisualLineMode extends VisualMode {
498 init(options) {
499 if (options == null) {
500 options = {};
501 }
502 super.init(Object.assign(options, { name: "visual/line", indicator: "Visual mode (line)" }));
503 return this.extendSelection();
504 }
505
506 commandHandler({ command: { command }, count }) {
507 if (count == null) count = 1;

Callers 1

enterVisualLineModeFunction · 0.95

Calls 2

extendSelectionMethod · 0.95
initMethod · 0.45

Tested by

no test coverage detected