{"id":467,"date":"2018-12-28T14:11:07","date_gmt":"2018-12-28T05:11:07","guid":{"rendered":"https:\/\/www.hpc.co.jp\/support\/?page_id=467"},"modified":"2019-01-30T12:44:26","modified_gmt":"2019-01-30T03:44:26","slug":"hello_vi_03","status":"publish","type":"page","link":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/","title":{"rendered":"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b"},"content":{"rendered":"<div id=\"page_head\">\n<div class=\"inviewfadeIn animated fadeIn\">\n<div class=\"top_title_en\">FAQ<\/div>\n<h1 class=\"top_title_jp\">\u3088\u304f\u3042\u308b\u8cea\u554f<\/h1>\n<\/div>\n<\/div>\n<div id=\"page_container\">\n<div class=\"pnkz\"><!-- Breadcrumb NavXT 6.2.1 --><br \/>\n<a href=\"https:\/\/www.hpc.co.jp\">\u30db\u30fc\u30e0<\/a> &gt; <a href=\"https:\/\/www.hpc.co.jp\/support\">\u30b5\u30dd\u30fc\u30c8<\/a> &gt; <a href=\"https:\/\/www.hpc.co.jp\/support\/faq\/\">FAQ<\/a> &gt; <a href=\"\/support\/faq\/apl\/\">\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7de8<\/a> &gt; Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b<\/div>\n<section class=\"container\">\n<div class=\"block\">\n<div class=\"top_content\">\n<h2 class=\"title_full\">Vi (Vim) \u8d85\u5165\u9580<\/h2>\n<\/div>\n<div class=\"innerWrap vi_area\">\n<h3 class=\"title_gr\">\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b<\/h3>\n<div class=\"text_area_90\">\n<p>\u3053\u306e\u9023\u8f09\u3067\u306f\u3001Linux \u3092\u4f7f\u3044\u3053\u306a\u3059\u305f\u3081\u306b\u306f\u3001\u5fc5\u9808\u306e\u9805\u76ee\u3068\u8a00\u3048\u308b\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u3092\u89e3\u8aac\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u306e\u8b1b\u5ea7\u304c\u7d42\u4e86\u3059\u308b\u9803\u306b\u306f\u7686\u3055\u3093\u304c\u4f7f\u3044\u3053\u306a\u305b\u308b\u3088\u3046\u3001\u5224\u308a\u3084\u3059\u304f\u89e3\u8aac\u3057\u307e\u3059\u3002<\/p>\n<\/div>\n<div class=\"text_area_90\">\n<h4 class=\"title_center_b\">\u9023\u8f09<\/h4>\n<ul class=\"li_square\">\n<li><a href=\"\/support\/hello_vi_01\/\">\u3010\u521d\u7d1a\u7de8\u3011\u7b2c1\u56de Vi \u3067\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304f<\/a><\/li>\n<li><a href=\"\/support\/hello_vi_02\/\">\u3010\u521d\u7d1a\u7de8\u3011\u7b2c2\u56de Vi \u3067\u30d5\u30a1\u30a4\u30eb\u3092\u7de8\u96c6\u3059\u308b<\/a><\/li>\n<li>\u3010\u521d\u7d1a\u7de8\u3011\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b<\/li>\n<li><a href=\"\/support\/hello_vi_04\/\">\u3010\u521d\u7d1a\u7de8\u3011\u7b2c4\u56de Vi \u306e\u691c\u7d22\u6a5f\u80fd\u3092\u6d3b\u7528\u3059\u308b\u3001\u30d5\u30a1\u30a4\u30eb\u5185\u3092\u5feb\u9069\u306b\u79fb\u52d5\u3059\u308b<\/a><\/li>\n<li><a href=\"\/support\/hello_vi_05\/\">\u3010\u521d\u7d1a\u7de8\u3011\u7b2c5\u56de Vi \u306e\u7f6e\u63db\u6a5f\u80fd\u3092\u6d3b\u7528\u3059\u308b<\/a><\/li>\n<li><a href=\"\/support\/hello_vi_06\/\">\u3010\u521d\u7d1a\u7de8\u3011\u7b2c6\u56de Vi \u57fa\u672c\u7684\u306a\u64cd\u4f5c\u306e\u307e\u3068\u3081<\/a><\/li>\n<\/ul>\n<\/div>\n<div class=\"text_area_90\">\n<h4 class=\"title_center_b\">\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u306e\u4f5c\u6210<\/h4>\n<p>\nvi \u3067\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u4eca\u56de\u306e\u4f8b\u3067\u306f\u3001\u201chello.sh\u201d\u3068\u3044\u3046\u540d\u524d\u306e\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n<div class=\"text_area_bggr\">\n<pre>[hpc@z800 \u02dc]$ vi hello.sh<\/pre>\n<\/div>\n<p>\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u3092vi\u3067\u958b\u304f\u3068\u3001\u6b21\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u305f\u304b\u3068\u601d\u3044\u307e\u3059\u3002\n<\/p>\n<div class=\"text_area_bggr\">\n<pre><span style=\"text-decoration: underline;\"> <\/span>\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n\"hello.sh\" [New File]                                                   0,0-1         All<\/pre>\n<\/div>\n<p>\u305d\u308c\u3067\u306f\u3001\u524d\u56de\u306e\u5fa9\u7fd2\u3092\u517c\u306d\u3066\u3001\u6b21\u306e3\u884c\u3092\u5165\u529b\u3057\u3001\u201chello.sh\u201d\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<div class=\"text_area_bggr\">\n<pre>#!\/bin\/sh\r\nsleep 2\r\necho \"Hello\"<span style=\"text-decoration: underline;\"> <\/span>\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n~\r\n-- INSERT --                                                            1,1           All<\/pre>\n<\/div>\n<p>\u6b63\u3057\u304f\u5165\u529b\u3055\u308c\u308b\u3068\u3001\u3053\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u308b\u306f\u305a\u3067\u3059\u3002\u5165\u529b\u304c\u51fa\u6765\u306a\u3044\u65b9\u306f\u3001\u30b3\u30de\u30f3\u30c9\u30e2\u30fc\u30c9\u304b\u3089\u30a4\u30f3\u30b5\u30fc\u30c8\u30e2\u30fc\u30c9\u306b\u79fb\u884c\u3059\u308b\u5fc5\u8981\u304c\u3042\u308b\u3053\u3068\u3092\u601d\u3044\u51fa\u3059\u305f\u3081\u3001\u524d\u56de\u306e\u8b1b\u7fa9\u5185\u5bb9\u306b\u623b\u3063\u3066\u78ba\u8a8d\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u65b0\u898f\u30d5\u30a1\u30a4\u30eb\u3092\u958b\u3044\u3066\u3001\u3059\u3050\u306b\u5165\u529b\u3092\u59cb\u3081\u308b\u969b\u306b\u5165\u529b\u3059\u3079\u304d\u30b3\u30de\u30f3\u30c9\u306f\u2026[ i ] \u3067\u3059\u3002<\/p>\n<p>\u30b7\u30a7\u30eb\u30b9\u30af\u30ea\u30d7\u30c8\u306e\u610f\u5473\u3067\u3059\u304c\u30011\u884c\u76ee\u306b\u5165\u529b\u3057\u3066\u3082\u3089\u3063\u305f\u300c#!\u300d\u306e\u884c\u306fshebang\uff08\u30b7\u30a7\u30d0\u30f3\uff09\u3067\u3059\u3002\u30b7\u30a7\u30d0\u30f3\u3067\u306f\u3001\u305d\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u304c\u5b9f\u884c\u3055\u308c\u3001\u8aad\u307f\u8fbc\u3080\u30a4\u30f3\u30bf\u30d7\u30ea\u30bf\u306e\u30d5\u30eb\u30d1\u30b9(\/bin\/sh)\u3092\u6307\u5b9a\u3057\u307e\u3059\u3002<\/p>\n<p>2\u884c\u76ee\u306f\u30012\u79d2\u9593\u5f85\u3064\u3088\u3046\u306b\u3068\u3044\u3046\u6307\u793a\u3002<\/p>\n<p>3\u884c\u76ee\u306f\u3001\u201cHello\u201d\u3068\u8868\u793a\u3057\u3001\u884c\u9001\u308a\uff08\u6539\u884c\uff09\u305b\u3088\u3068\u3044\u3046\u6307\u793a\u3067\u3059\u3002<\/p>\n<p>\u7de8\u96c6\u5f8c\u3001[Esc]\u3001[ : ]\u3001[ w ]\u3001[ q ]\u3001[Enter]\u3067 vi \u3092\u9589\u3058\u308b\u3068\u3001\u3053\u306e\u5185\u5bb9\u3067\u3001\u65b0\u3057\u3044\u30d5\u30a1\u30a4\u30eb\u201chello.sh\u201d\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n<\/div>\n<div class=\"text_area_90\">\n<h4 class=\"title_center_b\">\u4f5c\u6210\u3057\u305f\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306e\u5b9f\u884c<\/h4>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u30021\u3064\u76ee\u306e\u30b3\u30de\u30f3\u30c9\u306f\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u5b9f\u884c\u6a29\u9650\u3092\u4ed8\u4e0e(CHange MODe + grants eXecute permissions)\u3057\u3066\u3044\u307e\u3059\u30022\u3064\u76ee\u306e\u30b3\u30de\u30f3\u30c9\u3067\u3001\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u30ab\u30ec\u30f3\u30c8\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u4eca\u3044\u308b\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff09\u306b\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u3092<b>\u5b9f\u884c<\/b>\u3059\u308b\u969b\u306b\u306f\u3001\u5fc5\u305a\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u982d\u306b .\/ \uff08\u30c9\u30c3\u30c8\u3001\u30b9\u30e9\u30c3\u30b7\u30e5\uff09\u3092\u5165\u529b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u3053\u306e\u65b9\u6cd5\u3067\u5b9f\u884c\u3059\u308b\u306b\u306f\u3001\u5fc5\u305a\u3001\u5b9f\u884c\u6a29\u9650\u306e\u4ed8\u4e0e\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u540d\u306e\u982d\u306e .\/ \u3092\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"text_area_bggr\">\n<pre>[hpc@z800 \u02dc]$ chmod +x hello.sh\r\n[hpc@z800 \u02dc]$ .\/hello.sh\r\nHello\r\n<\/pre>\n<\/div>\n<p>\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u5b9f\u884c\u3059\u308b\u3068\u30012\u79d2\u5f8c\u306b Hello \u3068\u8868\u793a\u3055\u308c\u3001\u30b3\u30de\u30f3\u30c9\u30d7\u30ed\u30f3\u30d7\u30c8\u306b\u623b\u308a\u307e\u3059\u3002<\/p>\n<\/div>\n<div class=\"text_area_90\">\n<h4 class=\"title_center_b\">Yank(\u30e4\u30f3\u30af), Put(\u30d7\u30c3\u30c8), Delete(\u30c7\u30ea\u30fc\u30c8)<\/h4>\n<p>Windows \u3092\u304a\u4f7f\u3044\u306e\u7686\u69d8\u306b\u306f\u306a\u3058\u307f\u306e\u8584\u3044\u8a00\u8449\u304b\u3082\u3057\u308c\u307e\u305b\u3093\u304c\u3001\u305d\u308c\u305e\u308c\u3001Windows \u3067\u3044\u3046\u3068\u3053\u308d\u306e\u3001\u30b3\u30d4\u30fc\u3001\u30da\u30fc\u30b9\u30c8\u3001\u30ab\u30c3\u30c8\u3092\u610f\u5473\u3057\u3066\u3044\u307e\u3059\u3002Yank, Put, Delete \u3068\u899a\u3048\u3066\u304a\u304f\u3068\u3001\u610f\u5473\u3068\u30b3\u30de\u30f3\u30c9\u306e\u5bfe\u5fdc\u304c\u53d6\u308c\u308b\u305f\u3081\u3001\u5fd8\u308c\u306b\u304f\u304f\u306a\u308b\u30e1\u30ea\u30c3\u30c8\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<p>\u86c7\u8db3\u3067\u3059\u304c\u3001\u3053\u308c\u306f\u6c7a\u3057\u3066 Vi \u3060\u3051\u306b\u9650\u3063\u305f\u3053\u3068\u3067\u306f\u306a\u304f\u3001Linux \u5168\u822c\u306b\u5bfe\u3057\u3066\u8a00\u3048\u308b\u4e8b\u3067\u3059\u3002\u65b0\u3057\u3044\u30b3\u30de\u30f3\u30c9\u306b\u51fa\u4f1a\u3063\u305f\u3089\u3001\u305d\u306e\u30b3\u30de\u30f3\u30c9\u306e\u8a9e\u6e90\u3092\u8abf\u3079\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n<table id=\"tablepress-9\" class=\"tablepress tablepress-id-9 vi_table table_def_gr\">\n<thead>\n<tr class=\"row-1\">\n\t<th class=\"column-1\">\u30b3\u30de\u30f3\u30c9\t<\/th><th class=\"column-2\">\u30b3\u30de\u30f3\u30c9\u306e\u610f\u5473<\/th><th class=\"column-3\">Windows\u3067\u306e\u547c\u79f0<\/th>\n<\/tr>\n<\/thead>\n<tbody class=\"row-hover\">\n<tr class=\"row-2\">\n\t<td class=\"column-1\">yy \u53c8\u306f Y<\/td><td class=\"column-2\">1\u884c Yank<\/td><td class=\"column-3\">Copy<\/td>\n<\/tr>\n<tr class=\"row-3\">\n\t<td class=\"column-1\">p<\/td><td class=\"column-2\">\u6b21\u306e\u884c\u306bput<\/td><td class=\"column-3\">Paste<\/td>\n<\/tr>\n<tr class=\"row-4\">\n\t<td class=\"column-1\">P<\/td><td class=\"column-2\">\u4e0a\u306e\u884c\u306bput<\/td><td class=\"column-3\">Paste<\/td>\n<\/tr>\n<tr class=\"row-5\">\n\t<td class=\"column-1\">dd<\/td><td class=\"column-2\">1\u884c Delete<\/td><td class=\"column-3\">Cut<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<!-- #tablepress-9 from cache --><\/div>\n<div class=\"text_area_90\">\n<h4 class=\"title_center_b\">Yank&#038;Put\uff08\u30b3\u30d4\u30fc\uff06\u30da\u30fc\u30b9\u30c8\uff09<\/h4>\n<p>\u6587\u66f8\u4f5c\u6210\u306e\u6642\u3001\u540c\u3058\u3053\u3068\u3092\u4f55\u5ea6\u3082\u66f8\u304b\u306a\u3051\u308c\u3070\u306a\u3089\u306a\u3044\u3053\u3068\u304c\u591a\u3005\u3042\u308b\u3068\u601d\u3044\u307e\u3059\u3002\u3053\u306e\u624b\u9593\u3092\u7701\u304f\u306e\u304c\u3001Yank&amp;Put \u6a5f\u80fd\u3067\u3059\u3002<\/p>\n<p>\u5148\u307b\u3069\u4f5c\u6210\u3057\u305f\u201chello.sh\u201d\u3092 Vi \u3067\u3001\u3082\u3046\u4e00\u5ea6\u958b\u304d\u307e\u3057\u3087\u3046\u3002<\/p>\n<div class=\"text_area_bggr\">\n<pre>[hpc@z800 \u02dc]$ vi hello.sh<\/pre>\n<\/div>\n<p>\u30ab\u30fc\u30bd\u30eb\u3092 echo &#8220;Hello&#8221; \u306e\u884c\u306e\u3044\u305a\u308c\u304b\u306e\u4f4d\u7f6e\u306b\u5408\u308f\u305b\u3001[ y ]\u3001[ y ] \u3068\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u753b\u9762\u4e0a\u306b\u5909\u5316\u306f\u73fe\u308c\u307e\u305b\u3093\u304c\u30011\u884c\u30e4\u30f3\u30af\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/p>\n<div class=\"text_area_bggr\">\n<pre>echo<span style=\"text-decoration: underline;\"> <\/span>\"Hello\"<\/pre>\n<\/div>\n<p>\u6b21\u306b\u3001[ p ] \u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002echo &#8220;Hello&#8221; \u306e\u884c\u304c\u3082\u3046\u4e00\u884c\u8ffd\u52a0\u3055\u308c\u30012\u884c\u306b\u306a\u308a\u307e\u3057\u305f\u3002\u3053\u308c\u304c Put \u3067\u3059\u3002<\/p>\n<div class=\"text_area_bggr\">\n<pre>echo \"Hello\"\r\n<span style=\"text-decoration: underline;\">e<\/span>cho \"Hello\"<\/pre>\n<\/div>\n<p>\u3067\u306f\u3001\u3053\u306e\u72b6\u614b\u3067\u3001[ 2 ]\u3001[ p ] \u3068\u5165\u529b\u3057\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002\u5148\u307b\u3069 Yank \u3057\u305f\u30d0\u30c3\u30d5\u30a1\u304c\u672a\u3060\u6b8b\u3063\u3066\u3044\u307e\u3059\u306e\u3067\u3001 \u3055\u3089\u306b2\u56de Put \u3055\u308c\u305f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n<div class=\"text_area_bggr\">\n<pre>echo \"Hello\"\r\necho \"Hello\"\r\necho \"Hello\"\r\n<span style=\"text-decoration: underline;\">e<\/span>cho \"Hello\"<\/pre>\n<\/div>\n<p>\u3053\u306e\u3088\u3046\u306b\u3001Vi \u3067\u306f\u30b3\u30de\u30f3\u30c9\u306e\u524d\u306b\u6570\u5b57\u3092\u5165\u529b\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u30b3\u30de\u30f3\u30c9\u3092\u8907\u6570\u56de\u7e70\u308a\u8fd4\u3059\u3053\u3068\u304c\u51fa\u6765\u307e\u3059\u3002\u3053\u308c\u3067\u3001Yank&amp;Put \u306e\u5b9f\u7fd2\u306f\u7d42\u4e86\u3067\u3059\u3002\u201chello.sh\u201d\u3092\u4fdd\u5b58\u305b\u305a\u306b\u9589\u3058\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<p>\u3067\u306f\u3001Yank&amp;Put \u306e\u7406\u89e3\u5ea6\u3092\u5fdc\u7528\u554f\u984c\u3067\u30c6\u30b9\u30c8\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002 Vi \u3067\u5148\u307b\u3069\u306e \u201chello.sh\u201d \u30d5\u30a1\u30a4\u30eb\u3092\u958b\u304d\u3001<br \/>\n#!\/bin\/sh<br \/>\nsleep 2<br \/>\necho &#8220;Hello&#8221;<br \/>\n\u3068\u66f8\u304b\u308c\u3066\u3044\u308b\u3068\u3053\u308d\u3092\u3001Yank&amp;Put\u3068\u30ab\u30fc\u30bd\u30eb\u79fb\u52d5\u3060\u3051\u3092\u7528\u3044\u3066\u3001\u6700\u5c0f\u306e\u64cd\u4f5c\u3067<br \/>\n#!\/bin\/sh<br \/>\nsleep 2<br \/>\necho &#8220;Hello&#8221;<br \/>\nsleep 2<br \/>\necho &#8220;Hello&#8221;<br \/>\n\u3068\u66f8\u304d\u63db\u3048\u3066\u304f\u3060\u3055\u3044\u3002\u51fa\u6765\u307e\u3057\u305f\u304b\uff1f<\/p>\n<p>\u7b54\u3048\u306f sleep 2 \u306e\u3044\u305a\u308c\u304b\u306e\u6587\u5b57\u306b\u30ab\u30fc\u30bd\u30eb\u3092\u5408\u308f\u305b\u3066\u304b\u3089\u3001[ 2 ]\u3001[ Y ]\u3001[\u2193] \u3001[ p ]\u3067\u3059\u3002<\/p>\n<\/div>\n<div class=\"text_area_90\">\n<h4 class=\"title_center_b\">Delete&#038;Put\uff08\u30ab\u30c3\u30c8\uff06\u30da\u30fc\u30b9\u30c8\uff09<\/h4>\n<p>[ y ]\u3001[ y ] \u306e\u4ee3\u308f\u308a\u306b\u3001[ d ]\u3001[ d ] \u3068\u5165\u529b\u3059\u308b\u3068\u30011\u884c\u6d88\u3057\u3066\u3001\u5f8c\u3067 [ p ] \u3067 put \u3067\u304d\u308b\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<p>\u4ee5\u4e0a\u3068\u306a\u308a\u307e\u3059\u3002\u672c\u5f53\u306b\u304a\u75b2\u308c\u3055\u307e\u3067\u3057\u305f\u3002\u307e\u305f\u6b21\u56de\u304a\u4f1a\u3044\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n<\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>FAQ \u3088\u304f\u3042\u308b\u8cea\u554f \u30db\u30fc\u30e0 &gt; \u30b5\u30dd\u30fc\u30c8 &gt; FAQ &gt; \u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u7de8 &gt; Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b Vi (Vim) \u8d85\u5165\u9580&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":18,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-467","page","type-page","status-publish","hentry"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.4 - aioseo.com -->\n\t<meta name=\"description\" content=\"Linux\/Unix \u74b0\u5883\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u9ad8\u6a5f\u80fd\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8d77\u52d5\u65b9\u6cd5\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3001\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.4\" \/>\n\t\t<meta property=\"og:locale\" content=\"ja_JP\" \/>\n\t\t<meta property=\"og:site_name\" content=\"\u30b5\u30dd\u30fc\u30c8 -\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b - \u30b5\u30dd\u30fc\u30c8\" \/>\n\t\t<meta property=\"og:description\" content=\"Linux\/Unix \u74b0\u5883\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u9ad8\u6a5f\u80fd\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8d77\u52d5\u65b9\u6cd5\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3001\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2018-12-28T05:11:07+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-01-30T03:44:26+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b - \u30b5\u30dd\u30fc\u30c8\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Linux\/Unix \u74b0\u5883\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u9ad8\u6a5f\u80fd\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8d77\u52d5\u65b9\u6cd5\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3001\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/hello_vi_03\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/hello_vi_03\\\/#listItem\",\"name\":\"Vi (Vim) \\u8d85\\u5165\\u9580\\uff1a\\u7b2c3\\u56de Vi \\u3067\\u30ab\\u30c3\\u30c8\\u30fb\\u30b3\\u30d4\\u30fc\\u30fb\\u30da\\u30fc\\u30b9\\u30c8\\u6a5f\\u80fd\\u3092\\u7528\\u3044\\u3066\\u7de8\\u96c6\\u3059\\u308b\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/hello_vi_03\\\/#listItem\",\"position\":2,\"name\":\"Vi (Vim) \\u8d85\\u5165\\u9580\\uff1a\\u7b2c3\\u56de Vi \\u3067\\u30ab\\u30c3\\u30c8\\u30fb\\u30b3\\u30d4\\u30fc\\u30fb\\u30da\\u30fc\\u30b9\\u30c8\\u6a5f\\u80fd\\u3092\\u7528\\u3044\\u3066\\u7de8\\u96c6\\u3059\\u308b\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/#listItem\",\"name\":\"Home\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/#organization\",\"name\":\"\\u30b5\\u30dd\\u30fc\\u30c8\",\"url\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/hello_vi_03\\\/#webpage\",\"url\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/hello_vi_03\\\/\",\"name\":\"Vi (Vim) \\u8d85\\u5165\\u9580\\uff1a\\u7b2c3\\u56de Vi \\u3067\\u30ab\\u30c3\\u30c8\\u30fb\\u30b3\\u30d4\\u30fc\\u30fb\\u30da\\u30fc\\u30b9\\u30c8\\u6a5f\\u80fd\\u3092\\u7528\\u3044\\u3066\\u7de8\\u96c6\\u3059\\u308b - \\u30b5\\u30dd\\u30fc\\u30c8\",\"description\":\"Linux\\\/Unix \\u74b0\\u5883\\u3067\\u5e83\\u304f\\u4f7f\\u308f\\u308c\\u3066\\u3044\\u308b\\u9ad8\\u6a5f\\u80fd\\u306a\\u30c6\\u30ad\\u30b9\\u30c8\\u30a8\\u30c7\\u30a3\\u30bf Vi \\u306e\\u4f7f\\u3044\\u65b9\\u306b\\u3064\\u3044\\u3066\\u3001\\u8d77\\u52d5\\u65b9\\u6cd5\\u304b\\u3089\\u4fbf\\u5229\\u306a\\u6a5f\\u80fd\\u307e\\u3067\\u3001\\u9806\\u306b\\u8aac\\u660e\\u3057\\u307e\\u3059\\u3002\",\"inLanguage\":\"ja\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/hello_vi_03\\\/#breadcrumblist\"},\"datePublished\":\"2018-12-28T14:11:07+09:00\",\"dateModified\":\"2019-01-30T12:44:26+09:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/#website\",\"url\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/\",\"name\":\"\\u30b5\\u30dd\\u30fc\\u30c8\",\"inLanguage\":\"ja\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hpc.co.jp\\\/support\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b - \u30b5\u30dd\u30fc\u30c8","description":"Linux\/Unix \u74b0\u5883\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u9ad8\u6a5f\u80fd\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8d77\u52d5\u65b9\u6cd5\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3001\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","canonical_url":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BreadcrumbList","@id":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.hpc.co.jp\/support\/#listItem","position":1,"name":"Home","item":"https:\/\/www.hpc.co.jp\/support\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/#listItem","name":"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b"}},{"@type":"ListItem","@id":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/#listItem","position":2,"name":"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b","previousItem":{"@type":"ListItem","@id":"https:\/\/www.hpc.co.jp\/support\/#listItem","name":"Home"}}]},{"@type":"Organization","@id":"https:\/\/www.hpc.co.jp\/support\/#organization","name":"\u30b5\u30dd\u30fc\u30c8","url":"https:\/\/www.hpc.co.jp\/support\/"},{"@type":"WebPage","@id":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/#webpage","url":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/","name":"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b - \u30b5\u30dd\u30fc\u30c8","description":"Linux\/Unix \u74b0\u5883\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u9ad8\u6a5f\u80fd\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8d77\u52d5\u65b9\u6cd5\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3001\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","inLanguage":"ja","isPartOf":{"@id":"https:\/\/www.hpc.co.jp\/support\/#website"},"breadcrumb":{"@id":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/#breadcrumblist"},"datePublished":"2018-12-28T14:11:07+09:00","dateModified":"2019-01-30T12:44:26+09:00"},{"@type":"WebSite","@id":"https:\/\/www.hpc.co.jp\/support\/#website","url":"https:\/\/www.hpc.co.jp\/support\/","name":"\u30b5\u30dd\u30fc\u30c8","inLanguage":"ja","publisher":{"@id":"https:\/\/www.hpc.co.jp\/support\/#organization"}}]},"og:locale":"ja_JP","og:site_name":"\u30b5\u30dd\u30fc\u30c8 -","og:type":"article","og:title":"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b - \u30b5\u30dd\u30fc\u30c8","og:description":"Linux\/Unix \u74b0\u5883\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u9ad8\u6a5f\u80fd\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8d77\u52d5\u65b9\u6cd5\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3001\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","og:url":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/","article:published_time":"2018-12-28T05:11:07+00:00","article:modified_time":"2019-01-30T03:44:26+00:00","twitter:card":"summary","twitter:title":"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b - \u30b5\u30dd\u30fc\u30c8","twitter:description":"Linux\/Unix \u74b0\u5883\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u9ad8\u6a5f\u80fd\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8d77\u52d5\u65b9\u6cd5\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3001\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002"},"aioseo_meta_data":{"post_id":"467","title":null,"description":"Linux\/Unix \u74b0\u5883\u3067\u5e83\u304f\u4f7f\u308f\u308c\u3066\u3044\u308b\u9ad8\u6a5f\u80fd\u306a\u30c6\u30ad\u30b9\u30c8\u30a8\u30c7\u30a3\u30bf Vi \u306e\u4f7f\u3044\u65b9\u306b\u3064\u3044\u3066\u3001\u8d77\u52d5\u65b9\u6cd5\u304b\u3089\u4fbf\u5229\u306a\u6a5f\u80fd\u307e\u3067\u3001\u9806\u306b\u8aac\u660e\u3057\u307e\u3059\u3002","keywords":null,"keyphrases":null,"focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_url":null,"og_image_width":null,"og_image_height":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_image_url":null,"twitter_title":null,"twitter_description":null,"schema_type":"default","schema_type_options":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"WebPage","isEnabled":true},"graphs":[]},"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null,"created":"2026-10-23 08:42:00","updated":"2026-10-23 08:42:00"},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.hpc.co.jp\/support\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tVi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.hpc.co.jp\/support\/"},{"label":"Vi (Vim) \u8d85\u5165\u9580\uff1a\u7b2c3\u56de Vi \u3067\u30ab\u30c3\u30c8\u30fb\u30b3\u30d4\u30fc\u30fb\u30da\u30fc\u30b9\u30c8\u6a5f\u80fd\u3092\u7528\u3044\u3066\u7de8\u96c6\u3059\u308b","link":"https:\/\/www.hpc.co.jp\/support\/hello_vi_03\/"}],"_links":{"self":[{"href":"https:\/\/www.hpc.co.jp\/support\/wp-json\/wp\/v2\/pages\/467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hpc.co.jp\/support\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.hpc.co.jp\/support\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.hpc.co.jp\/support\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hpc.co.jp\/support\/wp-json\/wp\/v2\/comments?post=467"}],"version-history":[{"count":2,"href":"https:\/\/www.hpc.co.jp\/support\/wp-json\/wp\/v2\/pages\/467\/revisions"}],"predecessor-version":[{"id":487,"href":"https:\/\/www.hpc.co.jp\/support\/wp-json\/wp\/v2\/pages\/467\/revisions\/487"}],"wp:attachment":[{"href":"https:\/\/www.hpc.co.jp\/support\/wp-json\/wp\/v2\/media?parent=467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}