{"id":3226,"date":"2026-05-27T18:21:12","date_gmt":"2026-05-27T09:21:12","guid":{"rendered":"https:\/\/www.blowfish.co.jp\/?p=3226"},"modified":"2026-05-27T18:21:12","modified_gmt":"2026-05-27T09:21:12","slug":"vim-%e4%b8%bb%e8%a6%81%e3%82%b3%e3%83%9e%e3%83%b3%e3%83%89%e4%b8%80%e8%a6%a7","status":"publish","type":"post","link":"https:\/\/www.blowfish.co.jp\/?p=3226","title":{"rendered":"Vim \u4e3b\u8981\u30b3\u30de\u30f3\u30c9\u4e00\u89a7"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u30e2\u30fc\u30c9\u5207\u66ff<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>i<\/code><\/td><td>\u30ab\u30fc\u30bd\u30eb\u524d\u306b\u633f\u5165\u30e2\u30fc\u30c9<\/td><\/tr><tr><td><code>a<\/code><\/td><td>\u30ab\u30fc\u30bd\u30eb\u5f8c\u306b\u633f\u5165\u30e2\u30fc\u30c9<\/td><\/tr><tr><td><code>I<\/code><\/td><td>\u884c\u982d\u306b\u633f\u5165\u30e2\u30fc\u30c9<\/td><\/tr><tr><td><code>A<\/code><\/td><td>\u884c\u672b\u306b\u633f\u5165\u30e2\u30fc\u30c9<\/td><\/tr><tr><td><code>o<\/code><\/td><td>\u6b21\u306e\u884c\u306b\u65b0\u898f\u884c\u30fb\u633f\u5165<\/td><\/tr><tr><td><code>O<\/code><\/td><td>\u524d\u306e\u884c\u306b\u65b0\u898f\u884c\u30fb\u633f\u5165<\/td><\/tr><tr><td><code>v<\/code><\/td><td>\u30d3\u30b8\u30e5\u30a2\u30eb\u30e2\u30fc\u30c9\uff08\u6587\u5b57\uff09<\/td><\/tr><tr><td><code>V<\/code><\/td><td>\u30d3\u30b8\u30e5\u30a2\u30eb\u30e2\u30fc\u30c9\uff08\u884c\uff09<\/td><\/tr><tr><td><code>Ctrl+v<\/code><\/td><td>\u30d3\u30b8\u30e5\u30a2\u30eb\u30e2\u30fc\u30c9\uff08\u77e9\u5f62\uff09<\/td><\/tr><tr><td><code>Esc<\/code><\/td><td>\u30ce\u30fc\u30de\u30eb\u30e2\u30fc\u30c9\u306b\u623b\u308b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30ab\u30fc\u30bd\u30eb\u79fb\u52d5<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>h j k l<\/code><\/td><td>\u2190 \u2193 \u2191 \u2192<\/td><\/tr><tr><td><code>w \/ b<\/code><\/td><td>\u6b21\u306e\u5358\u8a9e \/ \u524d\u306e\u5358\u8a9e\u306e\u5148\u982d<\/td><\/tr><tr><td><code>e<\/code><\/td><td>\u5358\u8a9e\u306e\u672b\u5c3e\u306b\u79fb\u52d5<\/td><\/tr><tr><td><code>0 \/ ^<\/code><\/td><td>\u884c\u982d \/ \u6700\u521d\u306e\u975e\u7a7a\u767d\u6587\u5b57<\/td><\/tr><tr><td><code>$<\/code><\/td><td>\u884c\u672b\u306b\u79fb\u52d5<\/td><\/tr><tr><td><code>gg \/ G<\/code><\/td><td>\u30d5\u30a1\u30a4\u30eb\u5148\u982d \/ \u672b\u5c3e<\/td><\/tr><tr><td><code>nG<\/code><\/td><td>n \u884c\u76ee\u306b\u79fb\u52d5<\/td><\/tr><tr><td><code>Ctrl+d<\/code><\/td><td>\u534a\u30da\u30fc\u30b8\u4e0b\u30b9\u30af\u30ed\u30fc\u30eb<\/td><\/tr><tr><td><code>Ctrl+u<\/code><\/td><td>\u534a\u30da\u30fc\u30b8\u4e0a\u30b9\u30af\u30ed\u30fc\u30eb<\/td><\/tr><tr><td><code>%<\/code><\/td><td>\u5bfe\u5fdc\u3059\u308b\u62ec\u5f27\u306b\u30b8\u30e3\u30f3\u30d7<\/td><\/tr><tr><td><code>{ \/ }<\/code><\/td><td>\u524d \/ \u6b21\u306e\u6bb5\u843d\u306b\u79fb\u52d5<\/td><\/tr><tr><td><code>Ctrl+o<\/code><\/td><td>\u30b8\u30e3\u30f3\u30d7\u5c65\u6b74\u3092\u623b\u308b<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u7de8\u96c6<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>x<\/code><\/td><td>\u30ab\u30fc\u30bd\u30eb\u4e0b\u306e\u6587\u5b57\u3092\u524a\u9664<\/td><\/tr><tr><td><code>dd<\/code><\/td><td>\u884c\u3092\u524a\u9664\uff08\u30ab\u30c3\u30c8\uff09<\/td><\/tr><tr><td><code>dw<\/code><\/td><td>\u5358\u8a9e\u3092\u524a\u9664<\/td><\/tr><tr><td><code>D<\/code><\/td><td>\u884c\u672b\u307e\u3067\u524a\u9664<\/td><\/tr><tr><td><code>cc<\/code><\/td><td>\u884c\u3092\u524a\u9664\u3057\u3066\u633f\u5165\u30e2\u30fc\u30c9<\/td><\/tr><tr><td><code>cw<\/code><\/td><td>\u5358\u8a9e\u3092\u5909\u66f4<\/td><\/tr><tr><td><code>C<\/code><\/td><td>\u884c\u672b\u307e\u3067\u5909\u66f4<\/td><\/tr><tr><td><code>r<\/code><\/td><td>1\u6587\u5b57\u3092\u7f6e\u63db<\/td><\/tr><tr><td><code>R<\/code><\/td><td>\u4e0a\u66f8\u304d\u30e2\u30fc\u30c9<\/td><\/tr><tr><td><code>J<\/code><\/td><td>\u6b21\u306e\u884c\u3092\u73fe\u5728\u884c\u306b\u9023\u7d50<\/td><\/tr><tr><td><code>~<\/code><\/td><td>\u5927\u6587\u5b57\/\u5c0f\u6587\u5b57\u3092\u5207\u308a\u66ff\u3048<\/td><\/tr><tr><td><code>.<\/code><\/td><td>\u76f4\u524d\u306e\u64cd\u4f5c\u3092\u7e70\u308a\u8fd4\u3059<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>yy<\/code><\/td><td>\u884c\u3092\u30b3\u30d4\u30fc\uff08\u30e4\u30f3\u30af\uff09<\/td><\/tr><tr><td><code>yw<\/code><\/td><td>\u5358\u8a9e\u3092\u30b3\u30d4\u30fc<\/td><\/tr><tr><td><code>y$<\/code><\/td><td>\u884c\u672b\u307e\u3067\u30b3\u30d4\u30fc<\/td><\/tr><tr><td><code>p<\/code><\/td><td>\u30ab\u30fc\u30bd\u30eb\u306e\u5f8c\u306b\u30da\u30fc\u30b9\u30c8<\/td><\/tr><tr><td><code>P<\/code><\/td><td>\u30ab\u30fc\u30bd\u30eb\u306e\u524d\u306b\u30da\u30fc\u30b9\u30c8<\/td><\/tr><tr><td><code>\"ayy<\/code><\/td><td>\u30ec\u30b8\u30b9\u30bf a \u306b\u884c\u3092\u30b3\u30d4\u30fc<\/td><\/tr><tr><td><code>\"ap<\/code><\/td><td>\u30ec\u30b8\u30b9\u30bf a \u304b\u3089\u30da\u30fc\u30b9\u30c8<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30a2\u30f3\u30c9\u30a5\uff0f\u30ea\u30c9\u30a5<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>u<\/code><\/td><td>\u30a2\u30f3\u30c9\u30a5\uff08\u5143\u306b\u623b\u3059\uff09<\/td><\/tr><tr><td><code>Ctrl+r<\/code><\/td><td>\u30ea\u30c9\u30a5\uff08\u3084\u308a\u76f4\u3057\uff09<\/td><\/tr><tr><td><code>U<\/code><\/td><td>\u884c\u5168\u4f53\u306e\u5909\u66f4\u3092\u5143\u306b\u623b\u3059<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u691c\u7d22\u30fb\u7f6e\u63db<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>\/pattern<\/code><\/td><td>\u524d\u65b9\u691c\u7d22<\/td><\/tr><tr><td><code>?pattern<\/code><\/td><td>\u5f8c\u65b9\u691c\u7d22<\/td><\/tr><tr><td><code>n \/ N<\/code><\/td><td>\u6b21 \/ \u524d\u306e\u691c\u7d22\u7d50\u679c<\/td><\/tr><tr><td><code>*<\/code><\/td><td>\u30ab\u30fc\u30bd\u30eb\u4e0b\u306e\u5358\u8a9e\u3092\u691c\u7d22<\/td><\/tr><tr><td><code>:s\/a\/b\/g<\/code><\/td><td>\u884c\u5185\u3067 a \u3092 b \u306b\u5168\u7f6e\u63db<\/td><\/tr><tr><td><code>:%s\/a\/b\/g<\/code><\/td><td>\u30d5\u30a1\u30a4\u30eb\u5168\u4f53\u3067\u5168\u7f6e\u63db<\/td><\/tr><tr><td><code>:%s\/a\/b\/gc<\/code><\/td><td>\u78ba\u8a8d\u3057\u306a\u304c\u3089\u5168\u7f6e\u63db<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d5\u30a1\u30a4\u30eb\u64cd\u4f5c\u30fb\u30b3\u30de\u30f3\u30c9<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>:w<\/code><\/td><td>\u4fdd\u5b58<\/td><\/tr><tr><td><code>:q<\/code><\/td><td>\u7d42\u4e86<\/td><\/tr><tr><td><code>:wq \/ :x<\/code><\/td><td>\u4fdd\u5b58\u3057\u3066\u7d42\u4e86<\/td><\/tr><tr><td><code>:q!<\/code><\/td><td>\u4fdd\u5b58\u305b\u305a\u5f37\u5236\u7d42\u4e86<\/td><\/tr><tr><td><code>:w file<\/code><\/td><td>\u5225\u540d\u3067\u4fdd\u5b58<\/td><\/tr><tr><td><code>:e file<\/code><\/td><td>\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f<\/td><\/tr><tr><td><code>:sp \/ :vsp<\/code><\/td><td>\u6c34\u5e73 \/ \u5782\u76f4\u306b\u753b\u9762\u5206\u5272<\/td><\/tr><tr><td><code>Ctrl+w w<\/code><\/td><td>\u5206\u5272\u30a6\u30a3\u30f3\u30c9\u30a6\u3092\u5207\u66ff<\/td><\/tr><tr><td><code>:set nu<\/code><\/td><td>\u884c\u756a\u53f7\u3092\u8868\u793a<\/td><\/tr><tr><td><code>:set nonu<\/code><\/td><td>\u884c\u756a\u53f7\u3092\u975e\u8868\u793a<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30de\u30fc\u30af\u30fb\u30de\u30af\u30ed<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>\u30b3\u30de\u30f3\u30c9<\/th><th>\u8aac\u660e<\/th><\/tr><\/thead><tbody><tr><td><code>ma<\/code><\/td><td>\u73fe\u5728\u4f4d\u7f6e\u306b\u30de\u30fc\u30af a \u3092\u8a2d\u5b9a<\/td><\/tr><tr><td><code>`a<\/code><\/td><td>\u30de\u30fc\u30af a \u306e\u4f4d\u7f6e\u306b\u79fb\u52d5<\/td><\/tr><tr><td><code>qa<\/code><\/td><td>\u30de\u30af\u30ed a \u306e\u8a18\u9332\u958b\u59cb<\/td><\/tr><tr><td><code>q<\/code><\/td><td>\u30de\u30af\u30ed\u8a18\u9332\u7d42\u4e86<\/td><\/tr><tr><td><code>@a<\/code><\/td><td>\u30de\u30af\u30ed a \u3092\u5b9f\u884c<\/td><\/tr><tr><td><code>@@<\/code><\/td><td>\u76f4\u524d\u306e\u30de\u30af\u30ed\u3092\u518d\u5b9f\u884c<\/td><\/tr><\/tbody><\/table><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u30e2\u30fc\u30c9\u5207\u66ff \u30b3\u30de\u30f3\u30c9 \u8aac\u660e i \u30ab\u30fc\u30bd\u30eb\u524d\u306b\u633f\u5165\u30e2\u30fc\u30c9 a \u30ab\u30fc\u30bd\u30eb\u5f8c\u306b\u633f\u5165\u30e2\u30fc\u30c9 I \u884c\u982d\u306b\u633f\u5165\u30e2\u30fc\u30c9 A \u884c\u672b\u306b\u633f\u5165\u30e2\u30fc\u30c9 o \u6b21\u306e\u884c\u306b\u65b0\u898f\u884c\u30fb\u633f\u5165 O \u524d\u306e\u884c\u306b\u65b0\u898f\u884c\u30fb\u633f\u5165 v \u30d3\u30b8\u30e5\u30a2\u30eb\u30e2\u30fc\u30c9\uff08\u6587\u5b57\uff09 V \u30d3\u30b8\u30e5 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"saved_in_kubio":false,"footnotes":""},"categories":[74,75,4],"tags":[],"class_list":["post-3226","post","type-post","status-publish","format-standard","hentry","category-linux","category-vi","category-tech"],"_links":{"self":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/3226","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3226"}],"version-history":[{"count":1,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/3226\/revisions"}],"predecessor-version":[{"id":3227,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=\/wp\/v2\/posts\/3226\/revisions\/3227"}],"wp:attachment":[{"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3226"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3226"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.blowfish.co.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3226"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}