- May 28, 2007 at 7:25 am #4387HidekiMember
Hi. I’ve been wondering how I should join 2 lines into 1.
I’ve seen that there is a keyboard shortcut that looks like it does the job, but no matter how many times I use it, it just won’t work.
Basically I’d like the join line function on vim (when you press shift j) that brings the next line right next to the end of the current line with a space attached at after where the current line ends.
Am I doing something wrong, or hmm..?May 28, 2007 at 11:00 am #4388raydParticipant
As long as there isn’t a blank line between them, selecting two or more lines and pressing CTL+J joins them.
I use this extensively for formatting text which has Returns at the end of each line.
Ray DJune 2, 2007 at 5:31 am #4409HidekiMember
ah alright, tx. now it works.
I was just wondering since i’ve just been trying it the vim way, where you activate the join line function, the next line simply attaches to the current line.
could there be some way so it works without selecting lines?
- You must be logged in to reply to this topic.