{"id":278,"date":"2018-08-15T08:40:54","date_gmt":"2018-08-15T05:40:54","guid":{"rendered":"https:\/\/blog.arcak.net\/?p=278"},"modified":"2018-09-03T09:26:27","modified_gmt":"2018-09-03T06:26:27","slug":"vi-editoru-kullanimi","status":"publish","type":"post","link":"https:\/\/blog.arcak.net\/index.php\/2018\/08\/15\/vi-editoru-kullanimi\/","title":{"rendered":"Vi Edit\u00f6r\u00fc Kullan\u0131m\u0131"},"content":{"rendered":"<p><strong>Vi Edit\u00f6r\u00fc Nedir?<\/strong><\/p>\n<p style=\"text-align: justify;\">Vi, Linux \/ Unix camias\u0131nda yayg\u0131n olarak kullan\u0131lan, komut sat\u0131r\u0131ndan text dosyalar\u0131n d\u00fczenlenmesine yarayan <strong>Notepad<\/strong> benzeri bir ara\u00e7t\u0131r. S\u0131kl\u0131kla Unix bu ara\u00e7la yaz\u0131ld\u0131 esprilerine konu olsa da asl\u0131nda <strong>Bill Joy<\/strong> taraf\u0131ndan <strong>1976<\/strong> y\u0131l\u0131nda geli\u015ftirilmi\u015ftir.<strong> (Unix 1969 y\u0131l\u0131na dayan\u0131r.)\u00a0<\/strong>\u015eahsi tecr\u00fcbelerime dayanarak <strong>Linux \/ Unix<\/strong> kullan\u0131m\u0131n\u0131n <strong>%50<\/strong>&#8216;si <strong>Vi<\/strong> diyebilirim. Yeni ba\u015flayanlar edit\u00f6r\u00fc rahat kullanamad\u0131klar\u0131nda a\u00e7\u0131k kaynak kodlu i\u015fletim sistemi kullanmaktan so\u011fumaktad\u0131rlar genellikle. <strong>(Kalan %50 ise shell kullan\u0131m\u0131)<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-280 aligncenter\" src=\"https:\/\/blog.arcak.net\/wp-content\/uploads\/2018\/08\/vi-editor-300x248.png\" alt=\"\" width=\"300\" height=\"248\" srcset=\"https:\/\/blog.arcak.net\/wp-content\/uploads\/2018\/08\/vi-editor-300x248.png 300w, https:\/\/blog.arcak.net\/wp-content\/uploads\/2018\/08\/vi-editor-768x634.png 768w, https:\/\/blog.arcak.net\/wp-content\/uploads\/2018\/08\/vi-editor-660x545.png 660w, https:\/\/blog.arcak.net\/wp-content\/uploads\/2018\/08\/vi-editor.png 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/p>\n<p><!--more--><\/p>\n<p style=\"text-align: justify;\"><strong>Vi Nas\u0131l \u00c7al\u0131\u015f\u0131r?<\/strong><\/p>\n<p style=\"text-align: justify;\">3 ayr\u0131 kipte \u00e7al\u0131\u015fmaktad\u0131r;<\/p>\n<ol style=\"text-align: justify;\">\n<li><strong>vi<\/strong> : Edit\u00f6r bu kipte \u00e7al\u0131\u015fmaya ba\u015flar, klavyedeki tu\u015flar\u0131n \u00e7o\u011fu belirli komutlar i\u00e7in atanm\u0131\u015ft\u0131r. Di\u011fer kiplerden buraya geri d\u00f6nebilmek i\u00e7in <strong>ESC<\/strong> tu\u015funa bas\u0131l\u0131r.<\/li>\n<li><strong>input<\/strong> : Bu kipe ge\u00e7i\u015f yapabilmek i\u00e7in \u00f6ncekikle vi kipinde olmal\u0131s\u0131n\u0131z. <strong>&#8220;:&#8221;<\/strong> <strong>(iki nokta \u00fcst \u00fcste)\u00a0<\/strong>tu\u015funa basarak ge\u00e7i\u015f yapabilirsiniz, tek istisna durum arama yapabilmek i\u00e7in <strong>&#8220;\/&#8221;<\/strong> <strong>(forward slash)\u00a0<\/strong>kullan\u0131l\u0131r.<\/li>\n<li><strong>command <\/strong>: Kullan\u0131c\u0131n\u0131n dosyalara veri giri\u015fi yapmas\u0131na izin veren kiptir.<\/li>\n<\/ol>\n<p style=\"text-align: justify;\"><strong>Vi K\u0131sayollar\u0131 Nelerdir?<\/strong><\/p>\n<p style=\"text-align: justify;\">\u00dc\u00e7 kipe ait k\u0131sayollar\u0131 \u00f6zetleyecek olursak a\u015fa\u011f\u0131daki gibi bir tablo ile kar\u015f\u0131la\u015f\u0131r\u0131z.<\/p>\n<ul>\n<li>Mobil cihaz\u0131n\u0131zda tablolar\u0131 d\u00fczg\u00fcn g\u00f6r\u00fcnt\u00fclemek i\u00e7in taray\u0131c\u0131n\u0131zda masa\u00fcst\u00fc g\u00f6r\u00fcn\u00fcm\u00fcn\u00fc etkinle\u015ftirin.<\/li>\n<\/ul>\n<table style=\"border-collapse: collapse; width: 80.7392%; height: 336px;\" border=\"1\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: center;\"><strong>vi<\/strong><\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: center;\"><strong>input<\/strong><\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: center;\"><strong>command<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: left;\">\u00c7\u0131kmak i\u00e7in <strong>ESC<\/strong><\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca\/documents\/basic\/img18.png\" alt=\"$\\leftarrow$\" width=\"23\" height=\"19\" align=\"BOTTOM\" border=\"0\" \/>\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca\/documents\/basic\/img19.png\" alt=\"$\\downarrow$\" width=\"14\" height=\"35\" align=\"MIDDLE\" border=\"0\" \/>\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca\/documents\/basic\/img20.png\" alt=\"$\\uparrow$\" width=\"14\" height=\"35\" align=\"MIDDLE\" border=\"0\" \/>\u00a0<img loading=\"lazy\" decoding=\"async\" src=\"http:\/\/rcsg-gsir.imsb-dsgi.nrc-cnrc.gc.ca\/documents\/basic\/img21.png\" alt=\"$\\rightarrow$\" width=\"24\" height=\"19\" align=\"BOTTOM\" border=\"0\" \/>\u00a0&#8211; Y\u00f6n tu\u015flar\u0131<\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: left;\"><strong>i<\/strong> &#8211; Yaz\u0131 giri\u015fi<\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><strong>:q<\/strong> &#8211; \u00c7\u0131k\u0131\u015f<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>h j k l<\/strong> &#8211; Y\u00f6n tu\u015flar\u0131<\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: left;\"><strong>a<\/strong> &#8211; Yaz\u0131 ekleme<\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><strong>:q!<\/strong> &#8211; Kaydetmeden \u00e7\u0131k\u0131\u015f<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>CTRL-f<\/strong> &#8211; Ekranda ileriye git<\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: left;\"><strong>A &#8211;<\/strong> Sat\u0131r sonuna yaz\u0131 ekleme<\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><strong>:w\u00a0<\/strong>&#8211; Yaz<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>CTRL-b<\/strong> &#8211; Ekranda geri git<\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: left;\"><strong>O<\/strong> &#8211; Yeni alt sat\u0131r olu\u015ftur<\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><strong>:wq\u00a0<\/strong>&#8211; Yaz ve \u00e7\u0131k\u0131\u015f yap<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>G<\/strong> &#8211; dosya sonuna git<\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: left;\"><strong>r<\/strong> &#8211; Karakteri de\u011fi\u015ftir<\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><strong>:15\u00a0<\/strong>&#8211; 15. sat\u0131ra git<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>x\u00a0<\/strong>&#8211; Karakter sil<\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: left;\"><strong>R<\/strong> &#8211; \u00dczerine yaz<\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><strong>\/deneme\u00a0<\/strong>&#8211;\u00a0\u00a0deneme s\u00f6zc\u00fc\u011f\u00fcn\u00fc bul<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>dw &#8211;\u00a0<\/strong>Kelimeyi sil<\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: center;\"><\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><strong>:set all\u00a0<\/strong>&#8211; vi ayarlar\u0131<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>dd &#8211;\u00a0<\/strong>Sat\u0131r\u0131 sil<\/td>\n<td style=\"width: 23.2289%; height: 24px; text-align: center;\"><\/td>\n<td style=\"width: 29.1242%; height: 24px; text-align: left;\"><strong>:r dosya\u00a0<\/strong>&#8211; dosyay\u0131 i\u00e7e aktar<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>yy\u00a0<\/strong>&#8211; Sat\u0131r\u0131 panoya kopyala<\/td>\n<td style=\"width: 23.2289%; text-align: center; height: 24px;\"><\/td>\n<td style=\"width: 29.1242%; text-align: center; height: 24px;\"><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>D\u00a0<\/strong>&#8211; Sat\u0131r\u0131n kalan\u0131n\u0131 sil<\/td>\n<td style=\"width: 23.2289%; text-align: center; height: 24px;\"><\/td>\n<td style=\"width: 29.1242%; text-align: center; height: 24px;\"><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>p\u00a0<\/strong>&#8211; Panodakini yap\u0131\u015ft\u0131r<\/td>\n<td style=\"width: 23.2289%; text-align: center; height: 24px;\"><\/td>\n<td style=\"width: 29.1242%; text-align: center; height: 24px;\"><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 28.3284%; height: 24px; text-align: left;\"><strong>u\u00a0<\/strong>&#8211; Son komutu geri al<\/td>\n<td style=\"width: 23.2289%; text-align: center; height: 24px;\"><\/td>\n<td style=\"width: 29.1242%; text-align: center; height: 24px;\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 28.3284%; text-align: left;\"><strong>CTRL-r\u00a0<\/strong>&#8211; Son geri almay\u0131 kald\u0131r<\/td>\n<td style=\"width: 23.2289%; text-align: center;\"><\/td>\n<td style=\"width: 29.1242%; text-align: center;\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 28.3284%; text-align: left;\"><strong>n\u00a0<\/strong>&#8211; Sonraki bulunan kelimeye git<\/td>\n<td style=\"width: 23.2289%; text-align: center;\"><\/td>\n<td style=\"width: 29.1242%; text-align: center;\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 28.3284%; text-align: left;\"><strong>cw\u00a0<\/strong>&#8211; Kelimeyi de\u011fi\u015ftir<\/td>\n<td style=\"width: 23.2289%; text-align: center;\"><\/td>\n<td style=\"width: 29.1242%; text-align: center;\"><\/td>\n<\/tr>\n<tr>\n<td style=\"width: 28.3284%; text-align: left;\"><strong># komut<\/strong> &#8211; komutu # kere tekrarla<\/td>\n<td style=\"width: 23.2289%; text-align: center;\"><\/td>\n<td style=\"width: 29.1242%; text-align: center;\"><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Vi Edit\u00f6r\u00fc Nedir? Vi, Linux \/ Unix camias\u0131nda yayg\u0131n olarak kullan\u0131lan, komut sat\u0131r\u0131ndan text dosyalar\u0131n d\u00fczenlenmesine yarayan Notepad benzeri bir ara\u00e7t\u0131r. S\u0131kl\u0131kla Unix bu ara\u00e7la yaz\u0131ld\u0131 esprilerine konu olsa da asl\u0131nda Bill Joy taraf\u0131ndan 1976 y\u0131l\u0131nda geli\u015ftirilmi\u015ftir. (Unix 1969 y\u0131l\u0131na dayan\u0131r.)\u00a0\u015eahsi tecr\u00fcbelerime dayanarak Linux \/ Unix kullan\u0131m\u0131n\u0131n %50&#8216;si Vi diyebilirim. Yeni ba\u015flayanlar edit\u00f6r\u00fc rahat kullanamad\u0131klar\u0131nda [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[185,187,189],"tags":[4,5],"class_list":["post-278","post","type-post","status-publish","format-standard","hentry","category-acik-kaynak","category-linux-tr","category-unix-tr","tag-linux","tag-unix"],"_links":{"self":[{"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/posts\/278"}],"collection":[{"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/comments?post=278"}],"version-history":[{"count":20,"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions"}],"predecessor-version":[{"id":546,"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/posts\/278\/revisions\/546"}],"wp:attachment":[{"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/media?parent=278"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/categories?post=278"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.arcak.net\/index.php\/wp-json\/wp\/v2\/tags?post=278"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}