{"id":3469,"date":"2012-07-06T17:20:55","date_gmt":"2012-07-06T08:20:55","guid":{"rendered":"http:\/\/nanoappli.com\/blog\/?p=3469"},"modified":"2012-07-06T17:20:55","modified_gmt":"2012-07-06T08:20:55","slug":"vim%e3%81%a7%e8%a4%87%e6%95%b0%e3%83%95%e3%82%a1%e3%82%a4%e3%83%ab%e3%82%92%e7%b7%a8%e9%9b%86%e3%81%99%e3%82%8b","status":"publish","type":"post","link":"http:\/\/nanoappli.com\/blog\/archives\/3469","title":{"rendered":"vim\u3067\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b"},"content":{"rendered":"<p>\nvim\u3067\u306f\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u540c\u6642\u306b\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002<br \/>\nvim\u3067\u306f\u306a\u3044vi\u3067\u3082\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u306f\u51fa\u6765\u308b\u3051\u3069\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u5206\u5272\u3055\u305b\u3066\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092&#8221;\u540c\u6642\u306b&#8221;\u8868\u793a\u3055\u305b\u308b\u4e8b\u306f\u51fa\u6765\u307e\u305b\u3093\u3002<br \/>\n<br \/>\n\u307e\u305a\u306f1\u3064\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f<br \/>\n<pre lang=\"x\">\nvi test1.c\n<\/pre>\n<br \/>\n<br \/>\n<br \/>\nvi\u4e0a\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3068\u30012\u3064\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u304f\u3002<br \/>\nvi\u3067\u306f\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3044\u308b\u5834\u5408\u3001\u30aa\u30fc\u30d7\u30f3\u3057\u3066\u3044\u308b\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u3053\u3068\u3092\u30d0\u30c3\u30d5\u30a1\u3068\u547c\u3073\u307e\u3059\u3002<br \/>\n<pre lang=\"x\">\n:e test2.c\n<\/pre>\n<br \/>\n<br \/>\n<br \/>\n\u30aa\u30fc\u30d7\u30f3\u3057\u3066\u3044\u308b\u5168\u30d0\u30c3\u30d5\u30a1\u3092\u78ba\u8a8d\u3059\u308b<br \/>\n<pre lang=\"x\">\n:ls\n<\/pre>\n<br \/>\n:ls\u306e\u51fa\u529b\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u306a\u308b\u3002:files\u3067\u3082\u540c\u3058\u3060\u3051\u3069ls\u306e\u307b\u3046\u304c\u6587\u5b57\u6570\u304c\u5c11\u306a\u3044\u306e\u3067\u304a\u3059\u3059\u3081\u3002<br \/>\n<pre lang=\"x\">\n:ls\n  1 #    \"test1.c\"                      \u884c 1\n  2 %a   \"test2.c\"                      \u884c 1\n\u7d9a\u3051\u308b\u306b\u306fENTER\u3092\u62bc\u3059\u304b\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\n<\/pre>\n<br \/>\n<br \/>\n<br \/>\n\u3055\u3063\u304d\u307e\u3067\u7de8\u96c6\u3057\u3066\u3044\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u623b\u308b<br \/>\n<pre lang=\"x\">\nctrl-^\n<\/pre>\n<br \/>\n<br \/>\n<br \/>\n\u30d0\u30c3\u30d5\u30a1\u756a\u53f7\u3092\u6307\u5b9a\u3057\u3066\u30012\u3064\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u753b\u9762\u306b\u8868\u793a\u3055\u305b\u308b<br \/>\n<pre lang=\"x\">\n:buffer 2\n<\/pre>\n<br \/>\n&#8220;:buffer 2&#8243;\u3060\u3068\u9577\u3044\u306e\u3067&#8221;:b2&#8243;\u3068\u7701\u7565\u3057\u3066\u3082\u3088\u3044<br \/>\n<br \/>\n<br \/>\n<br \/>\n\u958b\u3044\u3066\u3044\u308b\u30d0\u30c3\u30d5\u30a1\u3092\u9589\u3058\u308b<br \/>\n<pre lang=\"x\">\n:bdelete\n<\/pre>\n&#8220;:bd&#8221;\u3067\u7701\u7565\u53ef\u3002&#8221;:bd!&#8221;\u3067\u5f37\u5236\u30af\u30ed\u30fc\u30ba(:q!\u3068\u540c\u3058\u610f\u5473\u3067)<br \/>\n<br \/>\n<br \/>\n<br \/>\n\u4e21\u65b9\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u4e26\u3079\u3066\u8868\u793a(\u30a6\u30a3\u30f3\u30c9\u30a6\u5206\u5272\u8868\u793a)<br \/>\n<pre lang=\"x\">\n:split\n\u3082\u3057\u304f\u306f\n:vsplit\n<\/pre>\n\u3053\u308c\u3082:sp, :vs\u3067\u7701\u7565\u53ef\u80fd<br \/>\n<br \/>\n<br \/>\n<br \/>\n\u4e26\u3079\u305f\u30a6\u30a3\u30f3\u30c9\u30a6\u9593\u3092\u79fb\u52d5\u3059\u308b<br \/>\n<pre lang=\"x\">\nCtrl-w h\nCtrl-w j\nCtrl-w k\nCtrl-w l\n<\/pre>\n\u305d\u308c\u305e\u308c\u306e\u65b9\u5411\u306b\u79fb\u52d5\u3067\u304d\u308b\u3002<br \/>\n<br \/>\n<br \/>\n<br \/>\n\u4e26\u3079\u3066\u958b\u3044\u305f\u753b\u9762\u30921\u3064\u3060\u3051\u9589\u3058\u308b<br \/>\n<pre lang=\"x\">\n:close\n<\/pre>\n<br \/>\n<br \/>\n<a href=\"http:\/\/www.amazon.co.jp\/exec\/obidos\/ASIN\/4774147958\/nanoappli-22\/\" target=\"_blank\"><img src=\"http:\/\/ec2.images-amazon.com\/images\/I\/516K5O-bN8L._SL160_.jpg\" alt=\"4774147958\" border=\"0\" \/><\/a><br \/>\n<a href=\"http:\/\/www.amazon.co.jp\/exec\/obidos\/ASIN\/4774147958\/nanoappli-22\/\" target=\"_blank\">Vim\u30c6\u30af\u30cb\u30c3\u30af\u30d0\u30a4\u30d6\u30eb\u3000~\u4f5c\u696d\u52b9\u7387\u3092\u30ab\u30a4\u30bc\u30f3\u3059\u308b150\u306e\u6280 <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>vim\u3067\u306f\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u540c\u6642\u306b\u7de8\u96c6\u3059\u308b\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002 vim\u3067\u306f\u306a\u3044vi\u3067\u3082\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u7de8\u96c6\u306f\u51fa\u6765\u308b\u3051\u3069\u3001\u30a6\u30a3\u30f3\u30c9\u30a6\u5206\u5272\u3055\u305b\u3066\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092&#8221;\u540c\u6642\u306b&#8221;\u8868\u793a\u3055\u305b\u308b\u4e8b\u306f\u51fa\u6765\u307e\u305b\u3093\u3002 \u307e\u305a\u306f1\u3064\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f vi test1.c vi\u4e0a\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u6253\u3064\u3068\u30012\u3064\u76ee\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u958b\u304f\u3002 vi\u3067\u306f\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3044\u308b\u5834\u5408\u3001\u30aa\u30fc\u30d7\u30f3\u3057\u3066\u3044\u308b\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u3053\u3068\u3092\u30d0\u30c3\u30d5\u30a1\u3068\u547c\u3073\u307e\u3059\u3002 :e test2.c \u30aa\u30fc\u30d7\u30f3\u3057\u3066\u3044\u308b\u5168\u30d0\u30c3\u30d5\u30a1\u3092\u78ba\u8a8d\u3059\u308b :ls :ls\u306e\u51fa\u529b\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u611f\u3058\u306b\u306a\u308b\u3002:files\u3067\u3082\u540c\u3058\u3060\u3051\u3069ls\u306e\u307b\u3046\u304c\u6587\u5b57\u6570\u304c\u5c11\u306a\u3044\u306e\u3067\u304a\u3059\u3059\u3081\u3002 :ls 1 \u2026<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"spay_email":"","jetpack_publicize_message":"","jetpack_is_tweetstorm":false,"jetpack_publicize_feature_enabled":true},"categories":[1],"tags":[],"jetpack_featured_media_url":"","jetpack_publicize_connections":[],"jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":6125,"url":"http:\/\/nanoappli.com\/blog\/archives\/6125","url_meta":{"origin":3469,"position":0},"title":"SmartGit\u3092\u4f7f\u3063\u3066Android\u306e\u30bd\u30fc\u30b9\u3092\u53d6\u5f97\u3059\u308b","date":"2012\u5e7412\u670825\u65e5","format":false,"excerpt":"\u524d\u56deWindows\u7528\u306egit\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u3067\u3042\u308bSmartGit\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u307e\u3057\u305f\u3002 Window\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/12\/20121224_49.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":3533,"url":"http:\/\/nanoappli.com\/blog\/archives\/3533","url_meta":{"origin":3469,"position":1},"title":"[C\u8a00\u8a9e\u5165\u9580]\u753b\u9762\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3055\u305b\u3066\u307f\u308b","date":"2012\u5e747\u670810\u65e5","format":false,"excerpt":"\u6587\u6cd5\u3068\u304b\u7d30\u304b\u3044\u3053\u3068\u306f\u7f6e\u3044\u3068\u3044\u3066\u3001\u30d7\u30ed\u30b0\u30e9\u30e0\u30921\u3064\u4f5c\u3063\u3066\u307f\u307e\u3059\u3002 \u4f5c\u696d\u306f\u3001windows\u306b\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5613,"url":"http:\/\/nanoappli.com\/blog\/archives\/5613","url_meta":{"origin":3469,"position":2},"title":"VMware Tool\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u30a8\u30e9\u30fc\u6642\u3001vmx\u306e\u7de8\u96c6\u6642\u306e\u6ce8\u610f\u70b9(KB article 1714)","date":"2012\u5e7411\u67089\u65e5","format":false,"excerpt":"VMware Player\/Workstation\u3092\u4f7f\u7528\u6642\u306bVMware Tool\u306e\u30a2\u30c3\u30d7\u30c7\u30fc\u30c8\u3092\u8a66\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3251,"url":"http:\/\/nanoappli.com\/blog\/archives\/3251","url_meta":{"origin":3469,"position":3},"title":"[PIC]MPLAB\u3067LED\u70b9\u6ec5\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u4f5c\u6210\u3059\u308b","date":"2012\u5e746\u670826\u65e5","format":false,"excerpt":"\u524d\u56de\u3001PIC\u958b\u767a\u7528\u306eIDE\u3067\u3042\u308bMPLAB\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u304c\u51fa\u6765\u305f\u306e\u3067\u3001\u4eca\u56de\u306f\u30bd\u30d5\u30c8\u4f5c\u6210\u306e\u6d41\u308c\u3092\u78ba\u8a8d\u3057\u2026","rel":"","context":"","img":{"alt_text":"","src":"https:\/\/i0.wp.com\/nanoappli.com\/blog\/wp-content\/uploads\/2012\/06\/20120626_08-402x300.jpg?resize=350%2C200","width":350,"height":200},"classes":[]},{"id":6422,"url":"http:\/\/nanoappli.com\/blog\/archives\/6422","url_meta":{"origin":3469,"position":4},"title":"[C#]TextBox\u306b\u30d5\u30a1\u30a4\u30eb\u3092\u30c9\u30e9\u30c3\u30b0\uff06\u30c9\u30ed\u30c3\u30d7\u3057\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u5165\u529b\u3055\u305b\u308b","date":"2014\u5e741\u670819\u65e5","format":false,"excerpt":"\u30c4\u30fc\u30eb\u3092\u4f5c\u3063\u3066\u3044\u308b\u3068\u3001\u30a2\u30d7\u30ea\u5185\u3067\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5165\u529b\u3059\u308b\u72b6\u6cc1\u304c\u3088\u304f\u767a\u751f\u3057\u307e\u3059\u3002 \u3053\u306e\u969b\u3001\u73fe\u5728Explor\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":478,"url":"http:\/\/nanoappli.com\/blog\/archives\/478","url_meta":{"origin":3469,"position":5},"title":"msi\u30d1\u30c3\u30b1\u30fc\u30b8\u3092msiexec.exe\u3067\u5c55\u958b\u3059\u308b","date":"2012\u5e741\u670811\u65e5","format":false,"excerpt":"\u30a4\u30f3\u30b9\u30c8\u30fc\u30e9\u3067\u3088\u304f\u62e1\u5f35\u5b50\u304cmsi\u306e\u30d5\u30a1\u30a4\u30eb\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002 \u3053\u308c\u306f\u3001\"MicroSoft win\u2026","rel":"","context":"","img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/3469"}],"collection":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/comments?post=3469"}],"version-history":[{"count":4,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/3469\/revisions"}],"predecessor-version":[{"id":3473,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/posts\/3469\/revisions\/3473"}],"wp:attachment":[{"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/media?parent=3469"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/categories?post=3469"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/nanoappli.com\/blog\/wp-json\/wp\/v2\/tags?post=3469"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}