vim-multiple-cursors

Dev tools

editor plugin

SHOW HN2013

191points
37comments
#78of 1,739 in 2013
Top 5%of 2013 by points

How HN took it

MixedNo clear lean

14 positive, 4 neutral or asking, 3 mixed, 3 critical, out of 24 comments about the project. Thread score +0.38.

Idea: 5 for, 2 againstExecution: 0 for, 1 against

The thread, comment by comment

Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.

positive neutral or mixed critical about another commenter or something else the maker

What HN said

What people liked

  • Multiple cursors are a useful interactive editing approach

    From 2 comments
    • For everyone here writing that they don't see a need for this because vim has macros/regexp's: Please, please, try it out. I'm telling you, this is leaps and bounds above…
      edanm on HN
    • Surely it's most obvious value is it's 100% interactive.
      lttlrck on HN
  • Good work on a hard Vim problem

    From 2 comments
    • Issues: > * Multi key commands like ciw do not work at the moment > * Single key commands that do not terminate properly cause unexpected behavior > * Undo behavior is…
      adimitrov on HN
    • Looks great tma! Will give this a spin as soon as I can.
      pw7 on HN

Objections

  • Bugs with multi-key commands, undo and performance

    From 2 comments
    • Issues: > * Multi key commands like ciw do not work at the moment > * Single key commands that do not terminate properly cause unexpected behavior > * Undo behavior is…
      adimitrov on HN
    • The rendering of multiple cursors is really buggy in tmux + vim, to the extent that it's hard to tell what has been selected. I have used this command for the purposes of…
      rane on HN
  • Selecting many matches by hand is tedious compared with regex

    From 2 comments
    • I've been trying it, and do find it nice for small things, but a bit tedious for bigger things. Taking one of the examples in the animated GIF on the linked page, if you want to…
      _delirium on HN
    • I must admit that I see little value in it given great capabilities that Vim already has. The three example edits can be made using regular expressions and macros.
      grn on HN

Requests

  • Find-all that creates cursors on regex matches, as in Sublime

    From 2 comments
    • > with multiple cursors you have to select every single comma to 'initialize' the cursors. I hear this. Hopefully, the author will be able to implement what Sublime has: a find…
      losvedir on HN
    • losvedir is right, in ST, "Find" will automatically create separate cursors and takes regex's. I used to also have plugin for ST1, which allowed you to do common things like…
      edanm on HN
  • Fix undo behavior

    From 2 comments
    • Issues: > * Multi key commands like ciw do not work at the moment > * Single key commands that do not terminate properly cause unexpected behavior > * Undo behavior is…
      adimitrov on HN
    • Absolutely fine, I love that you're doing this! I'll give it a run tonight when I have some free time, maybe even look into the undo-stuff, which I think is most important to me.
      adimitrov on HN

Questions

  • What font is used in the example GIFs

    From 1 comment

Alternatives named

  • Vim regex search and replace and macros

    From 3 comments
    • I must admit that I see little value in it given great capabilities that Vim already has. The three example edits can be made using regular expressions and macros.
      grn on HN
    • It looks to me like using a regex is more practical, something like :10,20s/poorly_named_var/nice_var/g
      nkuttler on HN
    • I do this: *Ncw (then change the variable name) Then just n.n.n.n. until things are replaced.
      susi22 on HN
  • Magnar Sveen's multiple-cursors.el for Emacs

    From 1 comment
    • If there is one thing I love about vim, sublime, light table, etc.. is it gives emacs fans new things to implement in elisp! But seriously, I love the work that has been going…
      codemac on HN
  • Sublime Text multiple selection

    From 1 comment
    • > with multiple cursors you have to select every single comma to 'initialize' the cursors. I hear this. Hopefully, the author will be able to implement what Sublime has: a find…
      losvedir on HN

Category, keywords, summaries and labels on this page were made by AI (Thread Reader v2) and not checked by hand. Each point links to the comments it came from.

Add a badge to your READMEShown on HackerShow
[![Shown on HackerShow](https://hackershow.org/badge.svg)](https://hackershow.org/show/5545946)