{"id":226,"date":"2010-08-11T10:59:17","date_gmt":"2010-08-11T09:59:17","guid":{"rendered":"http:\/\/kb.toderu.ro\/?p=226"},"modified":"2010-08-11T10:59:17","modified_gmt":"2010-08-11T09:59:17","slug":"vim","status":"publish","type":"post","link":"https:\/\/kb.toderu.ro\/?p=226","title":{"rendered":"vim"},"content":{"rendered":"<p>\t\t\t\tvi\/vim commands:<\/p>\n<p>A append to end of line<br \/>\na append after current symbol<br \/>\nI insert at beginning of line<br \/>\no insert new a line (below)<br \/>\nO insert new line (above)<br \/>\nMove by word: w, b<br \/>\nMove by sentence: ), (<br \/>\nMove by paragraph: }, {<br \/>\nJump to line x: xG or : x<br \/>\nJump to end: G<br \/>\nChange (replace) \tDelete (cut) \tYank (copy)<br \/>\nLine \t\t\tcc \tdd \tyy<br \/>\nLetter \t\t\tcl \tdl \tyl<br \/>\nWord \t\t\tcw \tdw \tyw<br \/>\nSentence ahead \t\tc) \td) \ty)<br \/>\nSentence behind \tc( \td( \ty(<br \/>\nParagraph above \tc{ \td{ \ty{<br \/>\nParagraph below \tc} \td} \ty}<br \/>\np -> paste below(after)<br \/>\nP -> paste above(before)<br \/>\nctrl+r -> redo last undo<br \/>\nctrl+u -> undo<br \/>\nctrl+U &#8211; > undo all<br \/>\nMultiple documents can be viewed in a single vim screen<br \/>\nCtrl-w, s splits the screen horizontally<br \/>\nCtrl-w, v splits the screen vertically<br \/>\nCtrl-w, Arrow moves between windows\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>vi\/vim commands: A append to end of line a append after current symbol I insert at beginning of line o insert new a line (below) O insert new line (above) Move by word: w, b Move by sentence: ), ( Move by paragraph: }, { Jump to line x: xG or : x Jump to [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-226","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=226"}],"version-history":[{"count":0,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=\/wp\/v2\/posts\/226\/revisions"}],"wp:attachment":[{"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.toderu.ro\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}