{"id":12247,"date":"2023-12-16T17:25:20","date_gmt":"2023-12-16T16:25:20","guid":{"rendered":"https:\/\/linux-bibel.at\/?p=12247"},"modified":"2023-12-16T17:25:22","modified_gmt":"2023-12-16T16:25:22","slug":"git-direkt-in-vim-nutzen","status":"publish","type":"post","link":"https:\/\/linux-bibel.at\/index.php\/2023\/12\/16\/git-direkt-in-vim-nutzen\/","title":{"rendered":"Git direkt in Vim nutzen"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Git k\u00f6nnen Sie auch direkt im Terminal-Editor <a href=\"https:\/\/linux-bibel.at\/index.php\/2023\/09\/03\/vim-der-professionelle-editor-fuer-das-terminal-unter-linux-einfuehrung\/\" data-type=\"post\" data-id=\"535\">Vim<\/a> nutzen, hierzu installieren Sie das Paket von <a href=\"https:\/\/vimawesome.com\/plugin\/fugitive-vim\">Fugitive<\/a> auf Vim Awesome. Die Installation gelingt, indem Sie folgende Zeile zu Ihrer &#8222;<strong>.vimrc<\/strong>&#8220; hinzuf\u00fcgen:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Plug 'tpope\/vim-fugitive'<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Anschlie\u00dfend speichern Sie die Datei und starten die Installation mit dem Befehl:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>:PlugInstall<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Nach der Installation starten Sie Vim neu und k\u00f6nnen schon starten, etwa:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>:Git clone https:\/\/github.com\/ktgw0316\/LightZone.git<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/vimgit.jpeg\" rel=\"lightbox-0\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"520\" src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/vimgit-1024x520.jpeg\" alt=\"\" class=\"wp-image-12248\" srcset=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/vimgit-1024x520.jpeg 1024w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/vimgit-1536x780.jpeg 1536w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/vimgit-2048x1040.jpeg 2048w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/vimgit-150x76.jpeg 150w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/vimgit-300x152.jpeg 300w, https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/vimgit-768x390.jpeg 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Wichtig &#8211; Sie schreiben den Befehl <strong>git<\/strong> tats\u00e4chlich gro\u00df.<\/p>\n<div class=\"pld-like-dislike-wrap pld-custom\">\r\n    <div class=\"pld-like-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-like-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir\" data-post-id=\"12247\" data-trigger-type=\"like\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Hoch.png\" alt=\"Gef\u00e4llt mir\" \/>\r\n            <\/a>\r\n    <span class=\"pld-like-count-wrap pld-count-wrap\">    <\/span>\r\n<\/div><div class=\"pld-dislike-wrap  pld-common-wrap\">\r\n    <a href=\"javascript:void(0)\" class=\"pld-dislike-trigger pld-like-dislike-trigger  \" title=\"Gef\u00e4llt mir nicht\" data-post-id=\"12247\" data-trigger-type=\"dislike\" data-restriction=\"cookie\" data-already-liked=\"0\">\r\n                            <img src=\"https:\/\/linux-bibel.at\/wp-content\/uploads\/2023\/12\/Daumen-Runter.png\" alt=\"Gef\u00e4llt mir nicht\" \/>\r\n            <\/a>\r\n    <span class=\"pld-dislike-count-wrap pld-count-wrap\"><\/span>\r\n<\/div><\/div>","protected":false},"excerpt":{"rendered":"<p>Git k\u00f6nnen Sie auch direkt im Terminal-Editor Vim nutzen, hierzu installieren Sie das Paket von Fugitive auf Vim Awesome. Die Installation gelingt, indem Sie folgende Zeile zu Ihrer &#8222;.vimrc&#8220; hinzuf\u00fcgen: Anschlie\u00dfend speichern Sie die Datei und starten die Installation mit dem Befehl: Nach der Installation starten Sie Vim neu und k\u00f6nnen schon starten, etwa: Wichtig [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":12248,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,740],"tags":[12,7,6,680],"class_list":["post-12247","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-terminal","category-vim","tag-kommandozeile","tag-shell","tag-terminal","tag-vim"],"_links":{"self":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/12247","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/comments?post=12247"}],"version-history":[{"count":1,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/12247\/revisions"}],"predecessor-version":[{"id":12257,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/posts\/12247\/revisions\/12257"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media\/12248"}],"wp:attachment":[{"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/media?parent=12247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/categories?post=12247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/linux-bibel.at\/index.php\/wp-json\/wp\/v2\/tags?post=12247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}