{"id":68,"date":"2014-08-17T00:00:55","date_gmt":"2014-08-16T22:00:55","guid":{"rendered":"http:\/\/kurt.www.pinboard.jp\/blog\/?p=68"},"modified":"2014-07-27T15:12:39","modified_gmt":"2014-07-27T13:12:39","slug":"copy-characters-from-the-line-abovebelow","status":"publish","type":"post","link":"http:\/\/kurt.www.pinboard.jp\/blog\/kurt\/68\/","title":{"rendered":"copy characters from the line above\/below"},"content":{"rendered":"<p>Do you still remember QEdit? In my opinion one of the best editors for DOS. I was using QEdit a lot and later TSE, The SemWare Editor, an even more enhanced rewrite of QEdit. One of the feature I used a lot was a function to copy the character from the line above to the current position. Very handy if you need to duplicate most, but not all of the previous line.<!--more--> I don&#8217;t use this function much any more, but when I sit down and fill in my bookkeeping journal, it would still be very useful. Indeed, I found vim has this functionality too! When in insert mode, simply press <span style=\"color: green;\">CTRL-y<\/span> to copy the character from the line above the cursor or <span style=\"color: green;\">CTRL-e<\/span> to copy the character from the line below the cursor.<\/p>\n<table>\n<tbody valign=\"top\">\n<tr>\n<td style=\"background-color: lightyellow; color: green;\">CTRL-y<\/td>\n<td>(in insert mode) copy the character from the line above<\/td>\n<\/tr>\n<tr>\n<td style=\"background-color: lightyellow; color: green;\">CTRL-e<\/td>\n<td>(in insert mode) copy the character from the line below<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Do you still remember QEdit? In my opinion one of the best editors for DOS. I was using QEdit a lot and later TSE, The SemWare Editor, an even more enhanced rewrite of QEdit. One of the feature I used a lot was a function to copy the character from the line above to the [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[12],"_links":{"self":[{"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/posts\/68"}],"collection":[{"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/comments?post=68"}],"version-history":[{"count":3,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions"}],"predecessor-version":[{"id":71,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/posts\/68\/revisions\/71"}],"wp:attachment":[{"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/media?parent=68"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/categories?post=68"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/kurt.www.pinboard.jp\/blog\/wp-json\/wp\/v2\/tags?post=68"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}