MCPcopy Create free account
hub / github.com/Tampermonkey/tampermonkey / joinLineNext

Function joinLineNext

src/cm/keymap/vim.js:208–216  ·  view source on GitHub ↗
(cm)

Source from the content-addressed store, hash-verified

206 return cur;
207 }
208 function joinLineNext(cm) {
209 var cur = cm.getCursor(), ch = cur.ch, line = cm.getLine(cur.line);
210 CodeMirror.commands.goLineEnd(cm);
211 if (cur.line != cm.lineCount()) {
212 CodeMirror.commands.goLineEnd(cm);
213 cm.replaceSelection(" ", "end");
214 CodeMirror.commands.delCharRight(cm);
215 }
216 }
217 function delTillMark(cm, cHar) {
218 var i = mark[cHar];
219 if (i === undefined) {

Callers 1

vim.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…