[{"data":1,"prerenderedAt":318},["ShallowReactive",2],{"project-5545946":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":43,"post_text":44,"what":45,"said":81,"maker_in_thread":170,"shape":179,"grid":183,"attempts":279,"same_week":280,"maker_shows":38,"maker_hidden":310,"reader_version":311,"card":312},"5545946","vim-multiple-cursors","True Sublime Text style multiple selection","title","Show HN: vim-multiple-cursors - True Sublime Text style multiple selection","https:\u002F\u002Fgithub.com\u002Fterryma\u002Fvim-multiple-cursors","github.com","tma",1365915120,2013,191,37,78,1739,5,"notable","dev_tools","editor plugin","library",[24,25,26,27,28],"vim","multiple cursors","sublime text","vim plugin","multi-cursor editing","mixed",0.381,{"positive":32,"neutral":33,"mixed":34,"critical":34},14,4,3,24,{"idea":37,"execution":39,"design":42},{"positive":18,"critical":38},2,{"positive":40,"critical":41},0,1,{"positive":40,"critical":40},[18,40,40,18,40,40,34,40,18,18,34,34,34,34,18,40,40,41,18,41,40,18,40,40,40,18,41,18,34,18,18,18,18,18,34,40,40],null,{"problem":46,"audience":56,"pricing":44,"motivation":67,"time_to_build":44,"stack":74,"openness":79,"stage":80,"team_size":79},{"value":47,"source":48,"evidence":49},"Vim lacks Sublime Text style multiple cursors for editing several places at once","maker",[50,52],{"id":51},"post",{"id":53,"by":54,"text":55},"5546212","adimitrov","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…",{"value":57,"source":58,"evidence":59},"Vim users who want multi-cursor editing","inferred",[60,64],{"id":61,"by":62,"text":63},"5546598","edanm","For everyone here writing that they don't see a need for this because vim has macros\u002Fregexp's: Please, please, try it out. I'm telling you, this is leaps and bounds above…",{"id":65,"by":11,"text":66},"5547482","Yep, the only reason why I wrote this was because of the missing live feedback functionality in existing Vim features, and it's the one feature that the plugin can't do without.…",{"value":68,"source":48,"evidence":69},"Missing live feedback in Vim's existing features; inspired by Magnar Sveen's multiple-cursors.el",[70,71],{"id":65,"by":11,"text":66},{"id":72,"by":11,"text":73},"5546233","I should probably put a reference to him on the project page, as watching his video recently was a big push towards making me implement this in Vim. His expand-region plugin also…",[75],{"value":76,"source":58,"evidence":77},"Vimscript",[78],{"id":53,"by":54,"text":55},"unknown","beta",{"praise":82,"objections":100,"requests":120,"questions":138,"alternatives":146},[83,92],{"value":84,"source":85,"evidence":86},"Multiple cursors are a useful interactive editing approach","commenter",[87,88],{"id":61,"by":62,"text":63},{"id":89,"by":90,"text":91},"5547113","lttlrck","Surely it's most obvious value is it's 100% interactive.",{"value":93,"source":85,"evidence":94},"Good work on a hard Vim problem",[95,96],{"id":53,"by":54,"text":55},{"id":97,"by":98,"text":99},"5546371","pw7","Looks great tma! Will give this a spin as soon as I can.",[101,109],{"value":102,"source":85,"evidence":103},"Bugs with multi-key commands, undo and performance",[104,105],{"id":53,"by":54,"text":55},{"id":106,"by":107,"text":108},"5546809","rane","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…",{"value":110,"source":85,"evidence":111},"Selecting many matches by hand is tedious compared with regex",[112,116],{"id":113,"by":114,"text":115},"5546696","_delirium","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…",{"id":117,"by":118,"text":119},"5546284","grn","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.",[121,131],{"value":122,"source":85,"evidence":123},"Find-all that creates cursors on regex matches, as in Sublime",[124,128],{"id":125,"by":126,"text":127},"5546933","losvedir","> 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…",{"id":129,"by":62,"text":130},"5547362","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…",{"value":132,"source":85,"evidence":133},"Fix undo behavior",[134,135],{"id":53,"by":54,"text":55},{"id":136,"by":54,"text":137},"5546257","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.",[139],{"value":140,"source":85,"evidence":141},"What font is used in the example GIFs",[142],{"id":143,"by":144,"text":145},"5546502","aeon10","what is the font used in the example gifs",[147,159,166],{"value":148,"source":85,"evidence":149},"Vim regex search and replace and macros",[150,151,155],{"id":117,"by":118,"text":119},{"id":152,"by":153,"text":154},"5546250","nkuttler","It looks to me like using a regex is more practical, something like :10,20s\u002Fpoorly_named_var\u002Fnice_var\u002Fg",{"id":156,"by":157,"text":158},"5548011","susi22","I do this: *Ncw (then change the variable name) Then just n.n.n.n. until things are replaced.",{"value":160,"source":85,"evidence":161},"Magnar Sveen's multiple-cursors.el for Emacs",[162],{"id":163,"by":164,"text":165},"5546042","codemac","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…",{"value":167,"source":85,"evidence":168},"Sublime Text multiple selection",[169],{"id":125,"by":126,"text":127},{"comments":18,"answered":40,"key":171},[172,173,176],{"id":72,"text":73},{"id":174,"text":175},"5547446","Thanks! expand-region and multiple-cursors run in the same vein in that it takes some functionality Vim already offers, and makes them a little easier to use to the average user.…",{"id":177,"text":178},"5546246","Thanks for the feedback. I'd love for any issues you've seen to be reported so I can get on fixing them. I finally got the plugin to a usable state today and decided to release…",{"commenters":180,"max_depth":33,"maker_replies":18,"first_comment_mins":181,"lifespan_hours":182},30,59,18,[184,186,190,192,196,198,201,203,205,206,207,208,210,213,214,217,218,221,223,224,226,227,231,234,236,238,243,245,248,252,256,258,262,266,270,272,276],[163,40,18,185,164,40],"project\u002Fpositive\u002Fidea",[187,40,40,188,189,40],"5546087","other\u002Fneutral\u002Fnone","sjm",[72,40,40,191,11,41],"maker\u002Fneutral\u002Fidea",[193,40,18,194,195,40],"5546499","maker\u002Fpositive\u002Fnone","gaving",[174,40,40,197,11,41],"maker\u002Fneutral\u002Fnone",[199,40,40,188,200,40],"5547081","swah",[53,41,34,202,54,40],"project\u002Fmixed\u002Fexecution",[177,41,40,204,11,41],"maker\u002Fneutral\u002Fexecution",[136,41,18,194,54,40],[61,38,18,185,62,40],[113,38,34,202,114,40],[125,38,34,209,126,40],"project\u002Fneutral\u002Fexecution",[211,38,34,202,212,40],"5546935","dhruvmittal",[129,38,34,209,62,40],[215,38,18,185,216,40],"5547080","micampe",[65,38,40,191,11,41],[219,34,40,188,220,40],"5548785","ParadigmComplex",[117,33,41,222,118,40],"project\u002Fcritical\u002Fidea",[89,33,18,185,90,40],[106,18,41,225,107,40],"project\u002Fcritical\u002Fexecution",[156,18,40,188,157,40],[228,229,18,194,230,40],"5546669",6,"farslan",[232,229,40,188,233,40],"5546799","flipcoder",[235,229,40,188,90,40],"5547098",[237,229,40,197,11,41],"5547502",[239,240,18,241,242,40],"5546656",7,"project\u002Fpositive\u002Fnone","cab9485",[152,244,41,222,153,40],8,[246,244,18,185,247,40],"5546266","joesb",[249,244,34,250,251,40],"5547134","project\u002Fneutral\u002Fidea","deckiedan",[253,254,18,241,255,40],"5546595",9,"alan-saul",[97,257,18,194,98,40],10,[259,260,18,241,261,40],"5546647",11,"gokce",[263,264,18,194,265,40],"5546452",12,"ashleyblackmore",[267,268,18,241,269,40],"5546126",13,"neduma",[143,32,34,271,144,40],"project\u002Fneutral\u002Fdesign",[273,274,40,188,275,40],"5546060",15,"jQueryIsAwesome",[277,274,40,188,278,40],"5546121","jjjjjosh",[],[281,286,291,296,300,305],{"id":282,"name":283,"points":284,"category":285},"5550930","Scarce Capital HFT",301,"finance_crypto",{"id":287,"name":288,"points":289,"category":290},"5558714","QuoteRed",115,"productivity",{"id":292,"name":293,"points":294,"category":295},"5544866","Pi-Voice",98,"ai",{"id":297,"name":298,"points":299,"category":20},"5543574","Hospice.io",93,{"id":301,"name":302,"points":303,"category":304},"5538579","Found a Business",76,"learning_science",{"id":306,"name":307,"points":308,"category":309},"5562717","Sparklin Wars",72,"games",false,"v2",{"id":313,"name":5,"line":6,"ai":310,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":314,"top":18,"kw":315,"maker":11,"domain":10,"tier":19,"attempts":40,"strip":316,"url":9,"mix":317,"praise":84,"objection":102,"sub":21},5545946,0.38,[24,25,26,27,28],"5005003055333350015105000515355555300",[32,33,34,34],1793990893223]