question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Implement `:m[ove]` command

See original GitHub issue

FEATURE REQUEST

Hi there,

I’ve perused the road map and couldn’t find :copy and :move commands. I also couldn’t find a decent way to replicate these using native VS Code commands.

I believe that any Vim user would love to see these implemented in your already fantastic extension.

“The vim :copy command (and its shorthand :t) lets us duplicate one or more lines from one part of the document to another, while the :move command lets us place them somewhere else in the document.”

The format of the copy command goes like this:

:[range]copy {address}

The :move command looks similar to the :copy command:

:[range]move {address}

Reference: “Practical Vim: Edit Text at the Speed of Thought.” Practical Vim: Edit Text at the Speed of Thought, by Drew Neil, The Pragmatic Bookshelf, 2012, pp. 59–61.

Environment:

  • Extension (VsCodeVim) version: 0.11.2
  • VSCode version: 1.21.1 (1.21.1)
  • OS version: 10.13.4 Beta (17E182a)

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:19
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

8reactions
xlucascommented, Mar 8, 2019

Any update on this being supported? I miss that a lot.

0reactions
Miigoncommented, Nov 25, 2022

Is this still on the roadmap?

Read more comments on GitHub >

github_iconTop Results From Across the Web

mv command in Linux with examples
mv stands for move. mv is used to move one or more files or directories from one place to another in a file...
Read more >
mv Command
The mv command moves files and directories from one directory to another or renames a file or directory. If you move a file...
Read more >
mv Command Examples in Linux: Move Files and Directories
mv is one of the must known commands in Linux. mv stands for move and is essentially used for moving files or directories...
Read more >
How to Move Files and Directories in Linux (mv Command)
Moving files and directories is one of the most basic tasks you often need to perform on a Linux system. In this tutorial,...
Read more >
move (command)
In computing, move is a command in various command-line interpreters (shells) such as COMMAND.COM , cmd.exe , 4DOS/4NT, and PowerShell. It is used...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found