Compare commits

...

21 Commits

Author SHA1 Message Date
494c5b52bf opravy kódu 2025-02-24 21:39:26 +01:00
7c665a3970 update - prettier 2025-02-23 14:21:39 +01:00
7315c80b80 vlaječky? 2025-02-10 00:56:21 +01:00
e8378a20d4 big update 2025-02-06 22:12:19 +01:00
8050e0b608 recovery 2025-02-06 01:39:45 +01:00
6af61045d6 syntax 2025-02-06 01:08:31 +01:00
5d5b6747af Telescope 2025-02-05 19:22:23 +01:00
9ed4af5527 Telescope 2025-02-05 19:05:58 +01:00
6ce3926c15 Telescope 2025-02-05 19:03:46 +01:00
9ae19c8946 tut 2-3 2025-02-05 18:12:04 +01:00
a159bbe8d2 plugvim 2025-02-05 17:48:02 +01:00
6d2a30113d full tutorials 5.2.2025 2025-02-05 13:43:39 +01:00
0213000137 setup zellij 2025-02-05 11:03:55 +01:00
ca7f5aa752 setup init.vim 2025-02-05 09:59:26 +01:00
994a1eaece new content 2025-02-05 09:21:09 +01:00
4bcdd71399 update concact 2025-02-05 07:52:06 +01:00
ad3d69faa2 tutorials colorscheme 2025-02-05 07:25:31 +01:00
5d3f945144 update link repo 2025-02-05 00:00:47 +01:00
acc5368993 update links 2025-02-04 23:10:19 +01:00
415087bfcf update owner 2025-02-04 23:00:46 +01:00
2ed2e52bdd pages 2025-02-04 22:44:30 +01:00
103 changed files with 29177 additions and 0 deletions

340
cz/404.html Normal file
View File

@@ -0,0 +1,340 @@
<!doctype html>
<html lang="en">
<head>
<title>🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="/assets/css/mkdocs.min.css">
<link href="/style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="/."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="/apollonvim/installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="/apollonvim/plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="/."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="/contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="//search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p></p>
<h1>404</h1>
<hr>
<p><strong>Page not found</strong></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '/';</script>
<script src="/assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="/assets/js/bootstrap.bundle.min.js"></script>
<script src="/assets/js/mkdocs.js"></script>
<script src="/javascripts/extra.js" defer></script>
<script src="/search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,448 @@
<!doctype html>
<html lang="en">
<head>
<title>🛠 Instalace - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../assets/css/mkdocs.min.css">
<link href="../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../.."
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../plugins/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h2 id="vzdy-se-podivej-pred-instalaci-novych-pluginu-na-dokumentaci-k-plaginum-na-githubu-predejdes-tim-pripadnym-problemum-pokud-si-nejsi-jisty-postupem-nebo-ti-neni-neco-jasne-tak-radeji-se-podivej-do-dokumentacenapis-nam-nebo-forech-najdes-odpoved">Vždy se podívej před instalací nových pluginu, na dokumentaci k plaginům na Githubu. Předejdeš tím případným problémům! Pokud si nejsi jistý postupem nebo ti není něco jasné, tak raději se podívej do dokumentace,napiš nám nebo fórech najdeš odpověď.</h2>
<h4 id="tato-instalace-je-urcena-pro-linux-a-mac">Tato instalace je určena pro Linux a Mac.</h4>
<h4 id="vzdy-si-aktualizujte-a-pouzivejte-nejnovejsi-verzi-neovim-a-vsech-balicku">Vždy si aktualizujte a používejte nejnovější verzi Neovim a všech balíčků.</h4>
<h5 id="instalace-a-nastaveni-start-editions"><a href="#StartEditions">Instalace a nastavení Start Editions</a></h5>
<h5 id="instalace-a-nastaveni-frontend-editions"><a href="#frontendEditions">Instalace a nastavení FrontEnd Editions</a></h5>
<h2 id="StartEditions">Instalace a nastavení Start Editions:</h2>
<ul>
<li>👉 Pokud ještě nemáte, nainstalujte si <a href="https://neovim.io/" target="_blank">Neovim</a>.</li>
<li>👉 Bude potřeba nainstalovat plug.vim abyste mohl/a instalovat rozšíření.</li>
<li>👉 Běžte na tuto <a href="https://github.com/junegunn/vim-plug" target="_blank">stránku</a>
pod Installation si najděte svůj operační systém a zkopírujte odkaz pod ním do svého terminálu.</li>
<li>👉 Pokud už Neovim máte naistalovaný, <strong>nejprve si však zálohujte své aktuální nastavení Neovim!!!</strong></li>
</ul>
<p>Konfigirační soubory najdeš zde:</p>
<p>Linux &amp; Mac:</p>
<p><code>/home/user/.config/nvim/init.vim</code> </p>
<p>Windows:</p>
<p><code>~/AppData/Local/nvim/init.vim</code></p>
<h3 id="neovim">Neovim:</h3>
<ul>
<li>👉 Nejjednoduší způsob pro instalaci 🚀 ApolloNvim Distra pro Linux a MacOS si stačí stáhnout tento repozitář příkazem : <code>git clone -b nvim https://codeberg.org/ApolloNvim/ApolloNvim2025.git ~/.config/nvim</code>.</li>
<li>👉 Pozor tento příkaz výše vám přepíše dosavadní složku nvim v ~/.config/nvim. <strong>Nezapomeňte na zálohu stávající složky nvim než ji přepíšete novou s tohoto repozitáře například že původní přejmenujete nvim.bak</strong>.</li>
<li>👉 Ale pokud chcete můžete si Nvim nakonfigurovat dle sebe a jen se inspirovat.</li>
<li>👉 Neovim pustíte v terminálu příkazem <code>nvim</code>.</li>
<li>👉 Odklikejte chybová hlášení.</li>
<li>👉 V Neovimu zadejte do command line <code>PlugInstall</code> , tím nainstalujete všechny pluginy. Restartujte Neovim. Command Line vyvoláte klávesovou zkratkou <code>SHIFT + :</code>.</li>
<li>👉 Pokud Vám některý plugin chybí, můžete lehce doinstalovat nebo odinstalovat pomocí <code>vim.plug</code>. Více informací najdete na GitHubu <a href="https://github.com/junegunn/vim-plug" target="_blank">vim.plug</a> nebo velmi rád poradím viz. o nás.</li>
<li>👉 Pokud některý plugin nechcete používat stačí ho v souboru <code>init.vim</code> zakomentovat pomocí dvojitých uvozovek <code>"</code>.</li>
<li>👉 Do command line ještě zadejte Coc příkaz, pro doinstalování zbylých pluginů <code>CocInstall coc-markdown-preview-enhanced coc-webview</code>. A ještě jednou restartujte Neovim a vše máte připravené.</li>
<li>👉 Pokud se Vám vše nechce instalovat ručně můžete stáhnout tento repožitář a nainstalujte si pouze <code>vim.plug</code> a COC (jak nainstalovat vim.plug najdeš výšše) a pak stačí jen použít příkaz <code>:PlugInstall</code> a vše Vám bude hned fungovat. </li>
<li>👉 Některé plaginy potřebují na konfigurovat v jazyce Lua. Jak na to se dozvíš v sekci Návody.</li>
</ul>
<h2 id="frontendEditions">Instalace a nastavení FrontEnd Editions:</h2>
<ul>
<li>👉 Pokud ještě nemáte, nainstalujte si <a href="https://neovim.io/" target="_blank">Neovim</a>.</li>
<li>👉 Bude potřeba nainstalovat plug.vim abyste mohl/a instalovat rozšíření.</li>
<li>👉 Běžte na tuto <a href="https://github.com/junegunn/vim-plug" target="_blank">stránku</a> pod Installation si najděte svůj operační systém a zkopírujte odkaz pod ním do svého terminálu.</li>
<li>👉 Pokud už Neovim máte naistalovaný, <strong>nejprve si však zálohujte své aktuální nastavení Neovim!!!</strong></li>
</ul>
<p>Konfigirační soubory najdeš zde:</p>
<p>Linux &amp; Mac:</p>
<p><code>/home/user/.config/nvim/init.vim</code> </p>
<p>Windows:</p>
<p><code>~/AppData/Local/nvim/init.vim</code></p>
<h3 id="nodejs">Node.js:</h3>
<ul>
<li>👉 Doporučuji i mít nainstalovaný <a href="https://nodejs.org/en" target="_blank">Node.js</a></li>
<li>👉 Dále si v Node.js nainstalujte <a href="https://www.npmjs.com/package/live-server" target="_blank">Live-server</a> příkazem <code>npm i live-server</code>.</li>
<li>👉 Ve svém adresáři projektu budete moci pouštět svůj index.html příkazem <code>npx live-server</code>.</li>
<li>👉 Pro správnou funkčnost LSP si doinstalujte tyto balíčky:</li>
</ul>
<p>Pokud vám terminál vypíše chybu při použití příkazu npm. Bude potřeba balíček instalovat jako sudo.</p>
<p><a href="https://github.com/microsoft/vscode-html-languageservice" target="_blank">vscode-html-language-server</a></p>
<p><a href="https://github.com/microsoft/vscode-css-languageservice" target="_blank">vscode-css-language-server</a></p>
<p><a href="https://github.com/typescript-language-server/typescript-language-server" target="_blank">typescript-language-server</a></p>
<p><a href="https://github.com/aca/emmet-ls" target="_blank">emmet-ls</a></p>
<p><a href="https://github.com/tailwindlabs/tailwindcss-intellisense/blob/master/packages/tailwindcss-language-server/README.md" target="_blank">tailwindcss-language-server</a></p>
<h3 id="neovim_1">Neovim:</h3>
<ul>
<li>
<p>👉 Nejjednoduší způsob pro instalaci 🚀 ApolloNvim Distra pro Linux a MacOS si stačí stáhnout tento repozitář příkazem :
<code>git clone -b frontend https://codeberg.org/ApolloNvim/ApolloNvim2025.git ~/.config/nvim</code></p>
</li>
<li>
<p>👉 Pozor tento příkaz výše vám přepíše dosavadní složku nvim v ~/.config/nvim. <strong>Nezapomeňte na zálohu stávající složky nvim než ji přepíšete novou s tohoto repozitáře například že původní přejmenujete nvim.bak</strong>.</p>
</li>
<li>
<p>👉 Ale pokud chcete můžete si Nvim nakonfigurovat dle sebe a jen se inspirovat.</p>
</li>
<li>
<p>👉 Neovim pustíte v terminálu příkazem <code>nvim</code>.</p>
</li>
<li>
<p>👉 Odklikejte chybová hlášení.</p>
</li>
<li>
<p>👉 V Neovimu zadejte do command line <code>PlugInstall</code> , tím nainstalujete všechny pluginy. Restartujte Neovim. Command Line vyvoláte klávesovou zkratkou <code>SHIFT + :</code>.</p>
</li>
<li>
<p>👉 Pokud Vám některý plugin chybí, můžete lehce doinstalovat nebo odinstalovat pomocí <code>vim.plug</code>. Více informací najdete na GitHubu <a href="https://github.com/junegunn/vim-plug" target="_blank">vim.plug</a> nebo velmi rád poradím viz. o nás.</p>
</li>
<li>
<p>👉 Pokud některý plugin nechcete používat stačí ho v souboru <code>init.vim</code> zakomentovat pomocí dvojitých uvozovek <code>"</code>.</p>
</li>
<li>
<p>👉 Do command line ještě zadejte Coc příkaz, pro doinstalování zbylých pluginů <code>CocInstall coc-tailwindcss coc-json coc-html-css-support coc-html coc-emmet coc-xml coc-tsserver coc-lsp-wl coc-lit-html coc-htmldjango coc-css coc-markdown-preview-enhanced coc-webview coc-phpls coc-prettier coc-eslint</code>. A ještě jednou restartujte Neovim a vše máte připravené.</p>
</li>
<li>
<p>👉 Pokud se Vám vše nechce instalovat ručně můžete stáhnout tento repožitář a nainstalujte si pouze <code>vim.plug</code> a COC (jak nainstalovat vim.plug najdeš výšše) a pak stačí jen použít příkaz <code>:PlugInstall</code> a vše Vám bude hned fungovat. </p>
</li>
<li>
<p>👉 Některé plaginy potřebují na konfigurovat v jazyce Lua. Jak na to se dozvíš v sekci Návody.</p>
</li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../..';</script>
<script src="../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../assets/js/mkdocs.js"></script>
<script src="../../javascripts/extra.js" defer></script>
<script src="../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,421 @@
<!doctype html>
<html lang="en">
<head>
<title>🗄 Pluginy - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../assets/css/mkdocs.min.css">
<link href="../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../installation/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../tutorials/02.%20keyshortcuts/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h2 id="pluginy-apollonvim">Pluginy 🚀 ApolloNvim:</h2>
<h3 id="bezpecnost-a-soukromi-je-to-nejdulezitejsi-proto-tu-je-tento-seznam-v-seznamu-najdes-vsechny-pluginy-co-jsou-pouzite-v-teto-konfiguraci-s-odkazem-na-zdroj-plaginy-ktere-nechces-pozivat-zakomentuj-nebo-smaz-v-initvim-pripade-coc-plugin-vynech-pri-prikazu-cocinstall-nazev-plaginu">Bezpečnost a soukromí je to nejdůležitější, proto tu je tento seznam. V seznamu najdeš všechny pluginy co jsou použité v této konfiguraci s odkazem na zdroj. Plaginy které nechceš požívat zakomentuj nebo smaž v init.vim. Případě Coc plugin vynech při příkazu CocInstall název-plaginu.</h3>
<ul>
<li>👉 <a href="https://github.com/m4xshen/autoclose.nvim" target="_blank">Autoclosetag</a> nástroj pro uzavírání všech typů závorek a tagů.</li>
<li>👉 <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> balíčkovací manager pro instalování doplňků do Neovim.</li>
<li>👉 <a href="https://github.com/othree/html5.vim" target="_blank">html5.vim</a> plugin pro HTML syntax highlighting.</li>
<li>👉 <a href="https://github.com/valsorym/scrooloose-nerdtree" target="_blank">NERDTree</a> vytvoří vám stromový postranní panel.</li>
<li>👉 <a href="https://github.com/Exafunction/codeium.vim" target="_blank">Codeium</a> alternativa k GitHub Copilot, který si případně lehce také můžete doinstalovat.(Zakomentován aktivní náhrada TabNine) </li>
<li>👉 <a href="https://github.com/codota/tabnine-nvim" target="_blank">Tabnine</a> alternativa k GitHub Copilot, který si případně lehce také můžete doinstalovat. </li>
<li>👉 <a href="https://github.com/mhinz/vim-startify" target="_blank">Startify</a> alternativní uvítací obrazovka s pokaždé jiným IT mottem v <strong>NORMAL módu</strong>. Nemusí fungovat s některými terminály či NERDTree nastaveným spuštěním po startu.</li>
<li>👉 <a href="https://github.com/preservim/nerdcommenter" target="_blank">NERD Commenter</a> plugin pro zakomentování a odkomentování kódu. Zde ho máme nastaven na <code>Ctrl + k</code>.</li>
<li>👉 <a href="https://wakatime.com/neovim" target="_blank">Wakatime</a> služba, která je schopna změřit, kolik času jste trávili při kódování na pc a i na kterém projektu. Služba se jednoduše propojí přes API. WakaTime najdeš <a href="https://wakatime.com/" target="_blank">zde</a>.</li>
<li>👉 <a href="https://github.com/Pocco81/auto-save.nvim" target="_blank">Auto-save</a> plugin pro automatické ukládání, po přechodu z INSERT do NORMAL módu.</li>
<li>👉 <a href="https://github.com/nvim-treesitter/nvim-treesitter" target="_blank">Tree-sitter</a> plugin pro zvýraznění kódu.</li>
<li>👉 <a href="https://github.com/shellRaining/hlchunk.nvim" target="_blank">Hlchunk</a> propojí kód vertikálními lajny.</li>
<li>👉 <a href="https://github.com/tpope/vim-fugitive" target="_blank">Vim-Fugitive</a> plugin pro git.</li>
<li>👉 <a href="https://github.com/lilydjwg/colorizer" target="_blank">Colorizer</a> plugin pro náhled barev dle kódového označení.</li>
<li>👉 <a href="https://github.com/pangloss/vim-javascript" target="_blank">Vim - javascript</a> plugin pro podporu javascript.</li>
<li>👉 <a href="https://github.com/akinsho/toggleterm.nvim" target="_blank">Toggletherm</a> vylepšený terminál.</li>
<li>👉 <a href="https://github.com/airblade/vim-gitgutter" target="_blank">Vim-Gitgutter</a> git nápověda ke změně v kódu.</li>
<li>👉 <a href="https://github.com/lewis6991/gitsigns.nvim" target="_blank">Gitsigns</a> ukazuje změny v kódu.</li>
<li>👉 <a href="https://github.com/nvim-lua/plenary.nvim" target="_blank">Plenary</a></li>
</ul>
<h3 id="coc-extensions">Coc extensions:</h3>
<ul>
<li>👉 <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> manager pro instalování doplňků do Neovim.</li>
<li>👉 <a href="https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions" target="_blank">Coc extensions</a> pod tímto odkazem najdeš všechny COC rozšíření do Neovim.</li>
<li>👉 coc-tailwindcss</li>
<li>👉 coc-json</li>
<li>👉 coc-html-css-support</li>
<li>👉 coc-html</li>
<li>👉 coc-emmet</li>
<li>👉 coc-xml</li>
<li>👉 coc-tsserver</li>
<li>👉 coc-lsp-wl</li>
<li>👉 coc-lit-html</li>
<li>👉 coc-htmldjango</li>
<li>👉 coc-css</li>
<li>👉 coc-markdown-preview-enhanced</li>
<li>👉 coc-webview</li>
<li>👉 coc-phpls</li>
<li>👉 coc-prettier</li>
<li>👉 coc-eslint</li>
<li>👉 coc-highlighting</li>
</ul>
<h3 id="colorschemes-v-tomto-projektu">Colorschemes v tomto projektu:</h3>
<ul>
<li>👉 <a href="https://github.com/dracula/vim" target="_blank">Dracula</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/morhetz/gruvbox" target="_blank">Gruvbox</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/catppuccin/nvim" target="_blank">Catppuccin</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/arcticicestudio/nord-vim" target="_blank">Nord</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/ghifarit53/tokyonight-vim" target="_blank">Tokyo Night</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/EdenEast/nightfox.nvim" target="_blank">Nightfox</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/sainnhe/sonokai" target="_blank">Sonokai</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/Tsuzat/NeoSolarized.nvim" target="_blank">NeoSolarized</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/bluz71/vim-moonfly-colors" target="_blank">Moonfly</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/joshdick/onedark.vim" target="_blank">Onedark</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/sainnhe/edge" target="_blank">Edge</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/vim-airline/vim-airline" target="_blank">Airline</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/projekt0n/github-nvim-theme" target="_blank">GitHub</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/bluz71/vim-nightfly-colors" target="_blank">Nightfly</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/xero/miasma.nvim" target="_blank">Miasma</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/sts10/vim-pink-moon" target="_blank">Pink moon</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/tlhr/anderson.vim" target="_blank">Anderson</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/jacoborus/tender.vim" target="_blank">Tender</a> téma pro Neovim.</li>
<li>👉 <a href="https://github.com/haishanh/night-owl.vim" target="_blank">Night owl</a> téma pro Neovim.</li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../..';</script>
<script src="../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../assets/js/mkdocs.js"></script>
<script src="../../javascripts/extra.js" defer></script>
<script src="../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,388 @@
<!doctype html>
<html lang="en">
<head>
<title>Jak nainstalovat vim.plug - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../02.%20keyshortcuts/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="01-jak-nainstalovat-vimplug-do-neovim">01. Jak nainstalovat vim.plug do Neovim</h1>
<p>Nejprve si však zálohujte své aktuální nastavení Neovim!!!</p>
<p>Linux &amp; Mac:</p>
<p><code>~/.config/nvim/init.vim</code></p>
<p>Windows:</p>
<p><code>~\AppData\Local\nvim\init.vim</code></p>
<p>Běžte na tuto <a href="https://github.com/junegunn/vim-plug" target="_blank">stránku</a> pod Installation si najděte svůj operační systém a zkopírujte odkaz pod ním do svého terminálu a pomocí Enter nainstalujete vim.plug.</p>
<p>Na Linuxu a macOS to bude tento příkaz:</p>
<div class="codehilite"><pre><span></span><code><span class="s s-Atom">sh</span> <span class="o">-</span><span class="s s-Atom">c</span> <span class="s s-Atom">&#39;curl -fLo &quot;${XDG_DATA_HOME:-$HOME/.local/share}&quot;/nvim/site/autoload/plug.vim --create-dirs \</span>
<span class="s s-Atom"> https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim&#39;</span>
</code></pre></div>
<p>Na Windows to bude tento příkaz:</p>
<div class="codehilite"><pre><span></span><code><span class="n">iwr</span><span class="w"> </span><span class="o">-</span><span class="n">useb</span><span class="w"> </span><span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">raw</span><span class="o">.</span><span class="n">githubusercontent</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">junegunn</span><span class="o">/</span><span class="n">vim</span><span class="o">-</span><span class="n">plug</span><span class="o">/</span><span class="k">master</span><span class="o">/</span><span class="n">plug</span><span class="o">.</span><span class="n">vim</span><span class="w"> </span><span class="o">|</span><span class="err">`</span>
<span class="w"> </span><span class="n">ni</span><span class="w"> </span><span class="s2">&quot;$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim&quot;</span><span class="w"> </span><span class="o">-</span><span class="n">Force</span>
</code></pre></div>
<p>Dále si otevřeme soubor init.vim a pokud ho nemáme tak si ho vytvoříme zde:</p>
<p>Linux &amp; Mac:</p>
<p><code>~/.config/nvim/init.vim</code></p>
<p>Windows:</p>
<p><code>~\AppData\Local\nvim\init.vim</code></p>
<p>A do něj vložíme a následně uložíme tento kód:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="nv">has</span><span class="ss">(</span><span class="s1">&#39;nvim&#39;</span><span class="ss">)</span><span class="w"> </span>?<span class="w"> </span><span class="nv">stdpath</span><span class="ss">(</span><span class="s1">&#39;data&#39;</span><span class="ss">)</span><span class="w"> </span>.<span class="w"> </span><span class="s1">&#39;/plugged&#39;</span><span class="w"> </span>:<span class="w"> </span><span class="s1">&#39;~/.vim/plugged&#39;</span><span class="ss">)</span>
#<span class="w"> </span><span class="nv">Jsem</span><span class="w"> </span><span class="nv">bude</span>š<span class="w"> </span><span class="nv">v</span><span class="w"> </span><span class="nv">budoucnu</span><span class="w"> </span><span class="nv">vkl</span>á<span class="nv">dat</span><span class="w"> </span><span class="nv">pluginy</span>.<span class="w"> </span><span class="nv">Za</span>čí<span class="nv">naj</span>í<span class="nv">c</span>í<span class="w"> </span><span class="nv">PLug</span><span class="w"> </span><span class="nv">a</span><span class="w"> </span><span class="nv">adresa</span><span class="w"> </span><span class="nv">ke</span><span class="w"> </span><span class="nv">sta</span>ž<span class="nv">en</span>í
<span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="k">end</span><span class="ss">()</span>
</code></pre></div>
<p>A příkazem <code>Nvim</code> v terminálu spustíme Neovim. Pokud vám vyskočí chybové hlášení jen ho odklikněte.</p>
<p>Pomocí <code>Ctrl + :</code> se dostanete do příkazového řádku a tam napíšete <code>PlugInstall</code></p>
<p>A restartujeme Neovim. Příkazem <code>Ctrl + :</code> do příkazového řádku napíšete <code>q</code> a restartujeme Neovim.</p>
<p>Takto pokaždé když si přidáte do init.vim pluginy, příkazem <code>PlugInstall</code> je nainstalujete a restartujeme Neovim.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,414 @@
<!doctype html>
<html lang="en">
<head>
<title>Defaultní klávesové zkratky - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../../plugins/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../01.%20vimplug/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="02-defaultni-klavesove-zkratky">02. Defaultní klávesové zkratky</h1>
<p>Neovim je moderní verze Vim, textového editoru používaného v unixových systémech. Zde jsou některé klávesové zkratky pro práci s Neovim:</p>
<h3 id="zakladni-pohyb">Základní pohyb:</h3>
<ul>
<li><code>h</code> - Pohyb vlevo</li>
<li><code>j</code> - Pohyb dolů</li>
<li><code>k</code> - Pohyb nahoru</li>
<li><code>l</code> - Pohyb vpravo</li>
<li><code>w</code> - Přesun na začátek dalšího slova</li>
<li><code>b</code> - Přesun na začátek předchozího slova</li>
<li><code>gg</code> - Přesun na začátek dokumentu</li>
<li><code>G</code> - Přesun na konec dokumentu</li>
</ul>
<h3 id="visualni-mod">Visuální mód:</h3>
<p>Do něj se přepnu v Normal módu pomocí <code>v</code> pohybem kde byl kurzor mohu označovat text.</p>
<h3 id="normalni-mod-normal">Normální mód - NORMAL:</h3>
<p>Do normál módu se z jiných přesunu pomocí <code>ESC</code></p>
<ul>
<li><code>i</code> - Přepnutí do režimu vkládání před kurzor</li>
<li><code>I</code> - Přepnutí do režimu vkládání na začátek řádku</li>
<li><code>a</code> - Přepnutí do režimu vkládání za kurzor</li>
<li><code>A</code> - Přepnutí do režimu vkládání na konec řádku</li>
<li><code>o</code> - Vložení nového řádku pod aktuálním řádkem</li>
<li><code>O</code> - Vložení nového řádku nad aktuálním řádkem</li>
<li><code>dd</code> - Smazání řádku</li>
<li><code>dw</code> - Smazání slova</li>
<li><code>yy</code> - Kopírování řádku</li>
<li><code>p</code> - Vložení obsahu schránky pod kurzor</li>
<li><code>P</code> - Vložení obsahu schránky před kurzor</li>
<li><code>u</code> - Vrácení poslední provedené akce</li>
<li><code>Ctrl + r</code> - Krok do předu opak <code>u</code></li>
<li><code>q</code> - Zavře okno</li>
<li><code>.</code> - Poslední příkaz</li>
<li><code>Ctrl + w</code> - Přepínání oken</li>
</ul>
<h3 id="command-mod">Command mód:</h3>
<p>Command mód vyvoláme pomocí <code>Shift + :</code> </p>
<ul>
<li><code>:e + jméno souboru</code> - Vytvoří nový soubor - <code>:e index.html</code></li>
<li><code>:w</code> - Uložení změn</li>
<li><code>:q</code> - Opuštění editoru</li>
<li><code>:wq</code> - Uložení změn a opuštění</li>
<li><code>:q!</code> - Opuštění editoru bez ukládání změn</li>
<li><code>:vs</code> - Vertikální rozložení oken</li>
<li><code>:sp</code> - Horizontální rozložení oken</li>
<li><code>:colorscheme</code> - Změní theme</li>
<li><code>:term</code> - Otevře terminál</li>
</ul>
<h3 id="vyhledavani-a-nahrazovani">Vyhledávání a nahrazování:</h3>
<ul>
<li><code>/hledany_text</code> - Vyhledání textu</li>
<li><code>n</code> - Přeskočení na další výskyt hledaného textu</li>
<li><code>N</code> - Přeskočení na předchozí výskyt hledaného textu</li>
<li><code>:s/hledany_text/nahrazeny_text/g</code> - Nahrazení hledaného textu za zadaný text v celém dokumentu</li>
</ul>
<h3 id="ruzne">Různé:</h3>
<ul>
<li><code>Ctrl + r</code> - Opětovné provedení zrušené akce</li>
<li><code>:help</code> - Zobrazení nápovědy</li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,374 @@
<!doctype html>
<html lang="en">
<head>
<title>Jak nainstalovat Codeium do Neovim - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../01.%20vimplug/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="03-jak-nainstalovat-codeium-do-neovim">03. Jak nainstalovat Codeium do Neovim</h1>
<p><a href="https: //codeium.com" target="_blank">Codeium</a> je alternativou k <a href="https://github.com/features/copilothttps://github.com/features/copilot" target="_blank">GitHub Copilot</a> s tím, že pro jednotlivce je zdarma. Codeium hodnotím velmi pozitivně a Copilotu se vyrovná.</p>
<p>Instalace pomocí plug.vim je jednoduchá, stačí pouze upravit svůj <code>init.vim</code>.</p>
<p>Vložíme do něj:</p>
<div class="codehilite"><pre><span></span><code>&quot; Free AI codium
Plug &#39;Exafunction/codeium.vim&#39;, { &#39;branch&#39;: &#39;main&#39; }
</code></pre></div>
<p>Výsledný init.vim bude vypadat takto:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="nv">has</span><span class="ss">(</span><span class="s1">&#39;nvim&#39;</span><span class="ss">)</span><span class="w"> </span>?<span class="w"> </span><span class="nv">stdpath</span><span class="ss">(</span><span class="s1">&#39;data&#39;</span><span class="ss">)</span><span class="w"> </span>.<span class="w"> </span><span class="s1">&#39;/plugged&#39;</span><span class="w"> </span>:<span class="w"> </span><span class="s1">&#39;~/.vim/plugged&#39;</span><span class="ss">)</span>
<span class="err">&quot; Free AI codium</span>
<span class="err">Plug &#39;Exafunction/codeium.vim&#39;, { &#39;branch&#39;: &#39;main&#39; }</span>
<span class="err">call plug#end()</span>
</code></pre></div>
<p>A restartujeme Neovim. Příkazem <code>Ctrl + :</code> do príkazového řádku napíšete <code>q</code> a restartujeme Neovim.</p>
<p>Po restartu provedeme <code>PlugInstall</code> a ještě jednou restartujeme Neovim.</p>
<p>Poslední krok bude nastavení konfigurace Codeium, zapsáním příkazu <code>CodeiumEnable</code> do command line.</p>
<p>Codium vás vyzve k propojení API se serverem Codium.</p>
<p>A vše by Vám mělo fungovat.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,503 @@
<!doctype html>
<html lang="en">
<head>
<title>Jak nainstalovat Telescope do editoru Neovim - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="04-telescope-dalekohled">04. Telescope - Dalekohled</h1>
<ul>
<li>
<p>Telescope je, vytvořený jedním z hlavních členů týmu Neovim - TJ Devries .</p>
</li>
<li>
<p>Vedlejší poznámka, TJ zveřejňuje spoustu obsahu souvisejícího s Neovim na svém kanálu YouTube a na svých streamech Twitch . Zejména jeho kanál <a href="https://www.youtube.com/c/TJDeVries" target="_blank">YouTube</a> byl skvělým zdrojem. Podívejte se na něj!</p>
</li>
<li>
<p>Teleskop je podle mého názoru nezbytný plugin. Je to fuzzy vyhledávač vestavěný v Lua, který lze konfigurovat všemi způsoby. Přidává spoustu funkcí do vašeho nastavení Neovim. Zatím jsem si neuvědomil jeho skutečný potenciál, ale na hledání souborů a hledání textu je úžasný.</p>
</li>
<li>
<p>Tento postup mám odzkoušený na Linuxu tak macOS, ale měl by fungovat i ve Windows.</p>
</li>
<li>
<p>Pojďme ho nainstalovat (všchny příkazy budeme vkládat do vašeho terminálu):</p>
</li>
<li>Tento kód vložte do vašeho <code>init</code> souboru.</li>
</ul>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="nv">has</span><span class="ss">(</span><span class="s1">&#39;nvim&#39;</span><span class="ss">)</span><span class="w"> </span>?<span class="w"> </span><span class="nv">stdpath</span><span class="ss">(</span><span class="s1">&#39;data&#39;</span><span class="ss">)</span><span class="w"> </span>.<span class="w"> </span><span class="s1">&#39;/plugged&#39;</span><span class="w"> </span>:<span class="w"> </span><span class="s1">&#39;~/.vim/plugged&#39;</span><span class="ss">)</span>
<span class="err">&quot; Telescope install Neovim</span>
<span class="s2">&quot; Planery&quot;</span>
<span class="nv">Plug</span><span class="w"> </span><span class="s1">&#39;nvim-lua/plenary.nvim&#39;</span>
<span class="err">&quot; Telescope plugin</span>
<span class="err">Plug &#39;nvim-telescope/telescope.nvim&#39;</span>
<span class="err">&quot; Fuzzy Telescope fzf</span>
<span class="err">Plug &#39;nvim-telescope/telescope-fzf-native.nvim&#39;, {&#39;do&#39;: &#39;make&#39; }</span>
<span class="err">call plug#end()</span>
</code></pre></div>
<ul>
<li>
<p>Upozorňuji, že zde instalujeme více než jeden plugin. Telescope vyžaduje další plugin s názvem <a href="https://github.com/nvim-lua/plenary.nvim" target="_blank">Planery</a>. A další plugin je <a href="https://github.com/nvim-telescope/telescope.nvim#sorters" target="_blank">Telescope Sorter</a>, který podporuje syntaxi fzf a <a href="https://github.com/nvim-telescope/telescope.nvim#suggested-dependencies" target="_blank">Telescope</a>.</p>
</li>
<li>
<p><strong>Pro dokončení instalace nezapomeňte provést tyto tři kroky:</strong></p>
</li>
<li>Uložit init.vim <code>:w</code></li>
<li>Restartuj <code>Neovim</code></li>
<li>
<p>Nainstaluj plugin pomocí <code>:PlugInstall</code>.</p>
</li>
<li>
<p>Dále musíme nakonfigurovat Telescope. Toto je běžná praxe mezi pluginy Vim. Telescope je plugin založený na Lua.</p>
</li>
<li>
<p>Nejprve musíme vytvořit novou složku lua v adresáři: <code>nvim ~/.config/nvim/lua</code></p>
</li>
</ul>
<div class="codehilite"><pre><span></span><code>cd ~/.config/nvim
mkdir lua
</code></pre></div>
<ul>
<li>Uvnitř lua adresáře vytvoříme podadresář pro jmenný prostor našich konfigurací pluginů. Abychom pochopili, proč je to nutné, je třeba vysvětlit, jak Vim zpracovává vyhledávání souborů. Stručně řečeno, vytvoření podadresáře jmenného prostoru uvnitř lua adresáře zabraňuje nechtěným kolizím souborů .</li>
</ul>
<p>Rozhodl jsem se použít svůj GitHub nick jako název svého podadresáře:</p>
<div class="codehilite"><pre><span></span><code>cd ~/.config/nvim/lua
mkdir kankys
</code></pre></div>
<ul>
<li>Je jedno jak adresář pojmenujete. Jakmile jej vytvoříte, budete chtít se do něj přesunout pomocí cd:</li>
</ul>
<p><code>cd ~/.config/nvim/lua/tvůj-název-adresáře</code></p>
<ul>
<li>
<p>Poznámka: tvůj-název-adresáře se používá jako zástupný symbol. Nahraďte jej názvem svého adresáře jaký chcete.</p>
</li>
<li>
<p>V adresáři jmenného prostoru vytvoř plugin-název.lua soubor pro každý plugin, který chcete/potřebujete nakonfigurovat. Telescope vytvoříš takto (jsme stálé v <code>cd ~/.config/nvim/lua/tvůj-název-adresáře</code>
):</p>
</li>
</ul>
<p><code>nvim telescope.lua</code></p>
<ul>
<li>
<p>Užitečný tip Vim je, že můžete otevřít soubory dříve, než existují. Pokud soubor zavřete bez uložení, nebude vytvořen! Ve výše uvedeném příkladu otevíráme telescope.luav Neovimu. Pokud soubor uložíme, bude vytvořen.</p>
</li>
<li>
<p>Naše konfigurace pro Telescope bude:</p>
</li>
</ul>
<div class="codehilite"><pre><span></span><code><span class="n">local</span><span class="w"> </span><span class="n">telescope</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">require</span><span class="p">(</span><span class="s1">&#39;telescope&#39;</span><span class="p">)</span>
<span class="n">telescope</span><span class="o">.</span><span class="n">setup</span><span class="w"> </span><span class="p">{}</span>
<span class="n">telescope</span><span class="o">.</span><span class="n">load_extension</span><span class="p">(</span><span class="s1">&#39;fzf&#39;</span><span class="p">)</span>
</code></pre></div>
<ul>
<li>Tento kód vložíš do telescope.lua a uložíš. V souboru telescope.lua je všechno, co potřebujeme.</li>
<li>Výše uvedený příklad nám dává první ochutnávku Lua. Zjistil jsem, že hodně pluginů potřebuje minimálně toto nastavení v lua:</li>
</ul>
<p><code>require('PLUGIN_NAZEV').setup {}</code></p>
<p>V tomto příspěvku se nebudu potápět hluboko do konfigurace Telescope. Pokud chcete vidět některé dostupné možnosti nastavení a další přizpůsobení, podívejte se do <a href="https://github.com/nvim-telescope/telescope.nvim#customization" target="_blank">dokumentace</a>.</p>
<ul>
<li>
<p>Nezapomeňte uložit telescope.lua a ukončete Neovim pomocí <code>:wq</code>.</p>
</li>
<li>
<p>Dále musíme říci našemu init.vim že existuje někde soubor lua:</p>
</li>
</ul>
<p>V mém případě bych uvedl:</p>
<p><code>lua require('kankys')</code> vložením do <code>~/.config/nvim/init.vim</code></p>
<p>Pár poznámek:
* <strong>Vložte tento příkaz pod vim-plug funkci ( `` call plug#end() )!</strong></p>
<ul>
<li>Co to dělá? Zpočátku to vypadá trochu magicky a porozumění vyžaduje znalost vyhledávání Vim, ale v podstatě tento příkaz bude hledat lua soubor ve vašem běhovém prostředí Vim.</li>
<li>v našem případě je to:</li>
</ul>
<p><code>~/.config/nvim/lua/tvůj-název-adresáře/telescope.lua</code></p>
<ul>
<li>Namísto vyžadování každého konfiguračního souboru v našem init.vim, můžeme jen vyžadovat adresář jmenného prostoru. Aby to fungovalo, budeme muset přidat nový soubor do našeho adresáře jmenného prostoru s názvem init.lua:</li>
</ul>
<div class="codehilite"><pre><span></span><code><span class="n">cd ~/.config/nvim/lua/tvůj-název-adresáře</span>
<span class="n">touch init.lua</span>
</code></pre></div>
<ul>
<li>
<p>init.lua soubor lze považovat za indexový soubor. Uvnitř init.lua můžeme načíst všechny naše konfigurační soubory.</p>
</li>
<li>
<p>Do <code>init-lua</code> vložme tento kód:</p>
</li>
</ul>
<p><code>require('tvůj-adresář-název/telescope')</code></p>
<ul>
<li>
<p><strong>Vše co jsem uvedl výšše pochopíš lehce když se podíváš zde na <a href="https://codeberg.org/ApolloNvim/ApolloNvim2025" target="_blank">Gitu</a> do konfiguračních souborů nvim.</strong> </p>
</li>
<li>
<p>Od tohoto okamžiku budou všechny nové konfigurační soubory lua v <code>lua/tvůj-název-adresáře</code>. </p>
</li>
</ul>
<h2 id="telescope">Telescope</h2>
<ul>
<li>
<p>Teleskop má řadu <a href="https://github.com/nvim-telescope/telescope.nvim#vim-commands" target="_blank">příkazů</a>, které lze použít, <code>:Telescope</code> v NORMAL režimu v Neovim. Rychlý způsob, jak zobrazit všechny dostupné příkazy, je zadat <code>:Telescope</code> následuje mezera a poté klikněte na <code>&lt;Tab&gt;</code>. Tlačítko karty otevře seznam automatického doplňování, dostupných příkazů v Telescope. V seznamu se můžete pohybovat pomocí <code>&lt;Tab&gt;</code> a <code>&lt;Shift-Tab&gt;</code> opačným směrem.</p>
</li>
<li>
<p>Níže je uveden příkaz Telescope, pro ukázku:
<code>:Telescope find_files</code></p>
</li>
</ul>
<p>Dokumentaci k Telescope v Neovimu můžete zobrazit pomocí:</p>
<p><code>:h telescope</code></p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,392 @@
<!doctype html>
<html lang="en">
<head>
<title>Barevné schéma - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../06.%20Autosave/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="05-barevne-schema">05. Barevné schéma</h1>
<p>Většinu barevných schémat v Neovimu lze nainstalovat jako plugin. Barevných schémat existuje spousta, opravdu. Zde je seznam některých znich na <a href="https://github.com/rafi/awesome-vim-colorschemes" target="_blank">GitHubu</a>.</p>
<p>Mezi mé oblíbené patří:
<code>GruvboxDraculaTokionight</code></p>
<p>Schémata se instalují uvnitř <code>plug#begin()</code> a <code>plug#end()</code>, pojďme deklarovat naše barevné schéma. Pro ilustraci použiji Gruvbox:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="s1">&#39;~/.config/nvim/plugged&#39;</span><span class="ss">)</span>
<span class="nv">Plug</span><span class="w"> </span><span class="s1">&#39;gruvbox-community/gruvbox&#39;</span>
<span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="k">end</span><span class="ss">()</span>
</code></pre></div>
<p>Výše uvedený příklad ukazuje, jak deklarovat pluginy, se kterými chcete nainstalovat pluginy přes vim-plug . Plugin Gruvbox výšše je zkrácený zápis pro:</p>
<p><code>Plug 'https://github.com/gruvbox-community/gruvbox'</code></p>
<p>Jakmile deklarujete svůj plugin init.vim, k instalaci je třeba provést několik dalších kroků:</p>
<div class="codehilite"><pre><span></span><code>Uložte své init.vim :w
Načíst source (zdroj) init.vims :so % nebo restart Neovim
Instalovat barevné schémata :PlugInstall
</code></pre></div>
<p>Výše uvedené příkazy je třeba zadat NORMAL režimu.</p>
<p>Po dokončení instalace pluginu můžete zavřít vim-plug (vyrovnávací paměti ) zadáním <code>:q!</code>.</p>
<p>Po instalaci vašeho barevného schématu budeme muset Neovimu říct, aby jej použil. Uvnitř tvého init.vim pod deklarace pluginu přidejte následující řádky kódu:</p>
<div class="codehilite"><pre><span></span><code>call plug#begin(&#39;~/.config/nvim/plugged&#39;)
Plug &#39;gruvbox-community/gruvbox&#39;
call plug#end()
&quot; Vybere tvé barevné schéma:
colorscheme gruvbox
&quot; Automaticky po startu Neovim načte tvé schéma
autocmd VimEnter * colorscheme gruvbox
</code></pre></div>
<p>Uložte a ukončete init.vim pomocí <code>:wq</code>. Až příště znovu otevřete Neovim, měli byste vidět nové barevné schéma!</p>
<p>Barevné schéma můžete změnit i za běhu Neovim tímto způsobem:</p>
<p><code>:colorscheme -&gt; klikni &lt;space&gt; &lt;Tab&gt;</code></p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,371 @@
<!doctype html>
<html lang="en">
<head>
<title>Automatické úkládání - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="06-automaticke-ukladani">06. Automatické úkládání</h1>
<p>Nainstalovat plugin auto-save.nvim přes plug.vim pomocí následujícího příkazu: </p>
<div class="codehilite"><pre><span></span><code>Plug &#39;Pocco81/auto-save.nvim&#39; 
</code></pre></div>
<ul>
<li>Poté nastavit proměnné g:auto_save_enabled a g:auto_save_delay v init.vim takto: </li>
</ul>
<div class="codehilite"><pre><span></span><code>let g:auto_save_enabled = 1 
let g:auto_save_delay = 3000 
</code></pre></div>
<p><a href="https://github.com/Pocco81/auto-save.nvim?tab=readme-ov-file" target="_blank">https://github.com/Pocco81/auto-save.nvim?tab=readme-ov-file</a> </p>
<ul>
<li>Pozor: Autosave nefunguje v PowerShell!</li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,403 @@
<!doctype html>
<html lang="en">
<head>
<title>Kopírování a Vkládání do a z Neovim z externích zdrojů - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../06.%20Autosave/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../08.%20Markdown_syntax/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="07-kopirovani-a-vkladani-do-a-z-neovim-z-externich-zdroju">07. Kopírování a Vkládání do a z Neovim z externích zdrojů</h1>
<p>V Neovim (a také v klasickém Vim) můžete kopírovat text z externích zdrojů do Neovim, například z webové stránky a naopak z Neovim ven.</p>
<h3 id="prime-kopirovani-z-externi-aplikace-do-neovim"><strong>Přímé kopírování z externí aplikace do Neovim:</strong></h3>
<ol>
<li>
<p><strong>Zkopírujte text:</strong></p>
<ul>
<li>Otevřete webový prohlížeč a vyberte text, který chcete zkopírovat.</li>
<li>Stiskněte <code>Ctrl+C</code> (nebo <code>Cmd+C</code> na macOS) pro kopírování.</li>
<li>
<p><strong>Přepnutí do režimu vkládání v Neovimu (režim insert ):</strong></p>
</li>
<li>
<p>Otevřete neovim a načtěte soubor.</p>
</li>
<li>Přepněte se do režimu vkládání stisknutím klávesy <code>i</code>.</li>
<li>
<p><strong>Vložte text:</strong></p>
</li>
<li>
<p>Stiskněte <code>Ctrl+Shift+V</code> (nebo <code>Cmd+Shift+V</code> na macOS) pro vložení textu do Neovimu.</p>
</li>
</ul>
</li>
</ol>
<h3 id="kopirovani-z-neovim-do-neovim-ci-mimo-neovim-do-jine-aplikace"><strong>Kopírování z Neovim do Neovim či mimo Neovim do jiné aplikace:</strong></h3>
<ol>
<li>
<p><strong>Označíme text v Neovim:</strong></p>
<ul>
<li>to můžeme udělat buď pomocí v režimu Normal: SHIFT + V --&gt; označíme celý řádek</li>
<li>nebo v režimu Normal pomocí: v + šipka v pravo, vlevo, nahotu a dolů --&gt; označíme vybraný text</li>
</ul>
</li>
<li>
<p><strong>Kopírovat označený text:</strong></p>
<ul>
<li>to uděláme v Normal modu klávesou: y</li>
<li>text pak kamkoliv vložíme pomocí: <code>CTRL+Shift+V</code> nebo v Neovim v Normal módu pompoví <code>p</code>.</li>
</ul>
</li>
<li>
<p><strong>Vyjmout označený text:</strong></p>
<ul>
<li>vyjmout označený text můžeme v Normal modu pomocí: x</li>
</ul>
</li>
</ol>
<p>POZNÁMKA: v linuxu pro správnou funkčmost jsem si musel pro kopírování z Neovim nainstalovat balíček <strong>xclib</strong>!</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,360 @@
<!doctype html>
<html lang="en">
<head>
<title>Markdown_syntax - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="08-markdown_syntax">08. Markdown_syntax</h1>
<p>Při problémech se syntaxi markdown je potřeba:</p>
<p><code>PlugVim: Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}</code></p>
<p>Nainstalovat zadáním do command line: :TSInstall markdown</p>
<p><strong>Pokud by jsi měl problémy s tímto pluginem v zobrazení syntaxe nebo by ti nevyhovoval tento plugin.Odinstaluješ ho tak že ho smažeš ručně ve složce:</strong></p>
<p><code>usr/local/lib64/nevim/parser/markdown.so</code></p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,414 @@
<!doctype html>
<html lang="en">
<head>
<title>init.vim základní nastavení - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../08.%20Markdown_syntax/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="09-initvim-zakladni-nastaveni">09. init.vim základní nastavení</h1>
<p><strong>Obecné nastavení</strong></p>
<p>Pro základní nastavení v init.vim mám pro Vás pár tipů, pojďme jej otevřít: </p>
<div class="codehilite"><pre><span></span><code>nvim init.vim
</code></pre></div>
<p>Přidáme základní nastavení do init.vim: </p>
<div class="codehilite"><pre><span></span><code>&quot; umožňuje zvýraznění syntaxe
syntax on
&quot; Lepší barvy
set termguicolors
&quot; počet pozic okolik se posuneme pomocí &lt;Tab&gt;
set tabstop=4
set softtabstop=4
set expandtab
&quot; povolení odrážek
set smartindent
&quot; počet mezer použitých pro automatické odrážky
set shiftwidth=4
&quot; zobrazení čísla řádku
set number
&quot; sloupce používané pro číslo řádku
set numberwidth=4
&quot; zvýrazní při vyhledávání shodného textu.
set incsearch
set nohlsearch
&quot; intuitivně otevřít rozdělení nových oken
set splitbelow
set splitright
&quot; procházení vyrovnávací (oken) paměti bez ztráty neuložené práce
set hidden
&quot; začít posouvat stránku, když je 8 řádků od horního nebo dolního okraje
set scrolloff=8
&quot; Uložení historie
set undofile
&quot; Povolení podpory myši
set mouse=a
&quot; vyhledávání bez rozlišení velkých a malých písmen, pokud nejsou použita velká písmena
set ignorecase
set smartcase
</code></pre></div>
<p>Pokud chcete více informací o každém nastavení, můžete napsat <code>:h &lt;název nastavení&gt;</code> uvnitř Neovimu, vyvoláte nápovědu pro toto konkrétní nastavení. Například: </p>
<div class="codehilite"><pre><span></span><code>:h number
</code></pre></div>
<p>Zobrazí sekci nápovědy pro <code>number</code>.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,404 @@
<!doctype html>
<html lang="en">
<head>
<title>Vim-fugitive ovládni Git v Neovim - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="10-vim-fugitive-ovladni-git-v-neovim">10. vim-fugitive ovládni Git v Neovim</h1>
<p>Vim-fugitive je plugin pro textový editor Vim a Neovim, který poskytuje sadu funkcí pro práci se systémem správy verzí Git přímo z editoru Vim. Tento plugin usnadňuje úlohy, jako je procházení historie commitů, porovnávání verzí souborů, přidávání změn do indexu, vytváření commitů a řešení konfliktů při slučování verzí. Vim-fugitive je populární mezi vývojáři, kteří preferují práci přímo z příkazové řádky a cení si efektivity a rychlosti.</p>
<p>Pojďme si ho nainstalovat. Nejprve si vim-fugitive přidáme do init.vim: </p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="s1">&#39;~/.config/nvim/plugged&#39;</span><span class="ss">)</span>
<span class="err">&quot; vim-fugitive</span>
<span class="err">Plug &#39;tpope/vim-fugitive&#39;</span>
<span class="err">call plug#end()</span>
</code></pre></div>
<p>Pro tento plugin není nutná žádná konfigurace. Stačí uložit zdroj, nainstalovat a můžeš ho začít používat.</p>
<p>Dovol, abych Ti dal několik užitečných tipů pro začátek s vim-fugitive.</p>
<p><code>:Git</code></p>
<p>Jak jste možná poznali u těchto typů příkazů, můžete je použít <code>&lt;Tab&gt;</code>automatické doplňování, abyste viděli, co ještě umí: </p>
<div class="codehilite"><pre><span></span><code>:Git &lt;Tab&gt;
</code></pre></div>
<p>A je toho hodně, co můžete v <code>vim-fugitive</code> dělat, ale pokud znáte Git, <code>vim-fugitive</code> bude pro tebe hračka: </p>
<div class="codehilite"><pre><span></span><code>&quot; zobrazí aktuálni stav branch
:Git status
&quot; zobrazí dostupné branches
:Git branch
&quot; práce s ůložným prostorem
:Git stash
:Git add
:Git commit
:Git push
</code></pre></div>
<p>Zadání <code>:Git</code> vyvolá <a href="https://github.com/tpope/vim-fugitive/blob/69f5fcbd459c113181d18a0ea2641cd47c9e0318/doc/fugitive.txt#L50" target="_blank">bez příkazu <code>fugitive-summary</code>okno</a> . Vlastně se mi tato funkce hodně líbí. Zobrazí se seznam nesledovaných, připravených a nepřiřazených souborů spolu s aktuálním názvem větve. Umístěním kurzoru na tyto soubory vám umožní spouštět určité „mapy“, jako je příprava/odstaging, zahození změn, přepínání vložených rozdílů atd.</p>
<p>Pro více informací o tom, jaké mapy jsou v rámci <code>fugitive-summary</code>okno, zadejte: </p>
<div class="codehilite"><pre><span></span><code>:h fugitive-maps
</code></pre></div>
<p>Nebo <a href="https://github.com/tpope/vim-fugitive/blob/69f5fcbd459c113181d18a0ea2641cd47c9e0318/doc/fugitive.txt#L258" target="_blank">se podívejte na tento odkaz</a> .</p>
<p><code>vim-fugitive</code> se zobrazuje i vespodní liště. Máte informace o tom v jáké větvi jste či kolik změn jsi v kódu provedl.</p>
<p>Pro více informací na <code>vim-fugitive</code>zadejte do Neovimu následující příkaz: </p>
<div class="codehilite"><pre><span></span><code>:h fugitive
</code></pre></div>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,407 @@
<!doctype html>
<html lang="en">
<head>
<title>Gitsigns drobné vylepšení git v Neovim - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="11-gitsigns-drobne-vylepseni-git-v-neovim">11. Gitsigns drobné vylepšení git v Neovim</h1>
<p>Skvělá věc při kódování je vidět smazané či upravené řádky v reálném čase.</p>
<p>Neovim toto standardně nepodporuje, takže použijeme gitsigns:</p>
<p>V našem init.vim přidáme:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="s1">&#39;~/.config/nvim/plugged&#39;</span><span class="ss">)</span>
<span class="err">&quot; gitsigns</span>
<span class="err">Plug &#39;lewis6991/gitsigns.nvim&#39;</span>
<span class="err">call plug#end()</span>
</code></pre></div>
<p>Poznámka: gitsigns vyžaduje <code>nvim-lua/plenary.nvim</code>. Protože jsme ho nainstalovali pomocí <code>telescope</code>(<a href="https://apollonvim.codeberg.page/cz/apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/" target="_blank">04. Jak nainstalovat Telescope do editoru Neovim</a>, jsme pokryti.</p>
<p>Už víte, co máte dělat Uložit, zdroj a <code>:PlugInstall</code>.</p>
<p>Gitsigns vyžaduje volání a setup ve vaší konfiguraci, aby to fungovalo. Vytvořme <code>gitsigns.lua</code> soubor v našem jmenném adresáři:</p>
<p><code>nvim ~/.config/nvim/lua/tvůj-adresář/gitsigns.lua</code></p>
<p>A uvnitř tohoto souboru začneme:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;gitsigns&#39;).setup {}
</code></pre></div>
<p>Pokud nezadáte žádné možnosti, plugin se spustí s výchozím nastavením.</p>
<p>Nyní přidáme gitsigns.luado našeho adresáře jmenného prostoru init.lua soubor:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;tvůj-adresář/telescope&#39;)
require(&#39;tvůj-adresář/lightline&#39;)
require(&#39;tvůj-adresář/gitsigns&#39;)
</code></pre></div>
<p>Můj vypadá takto:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;kankys/telescope&#39;)
require(&#39;kankys/lightline&#39;)
require(&#39;kankys/gitsigns&#39;)
</code></pre></div>
<p>Obnovíme zdroj tohoto souboru pomocí příkazu :source. Gitsigns můžete vidět v akci, když přejdete na projekt na vašem počítači, který je řízen pomocí git. Jakýkoli sledovaný soubor, který byl upraven, zobrazí tuto modifikaci .</p>
<p>Ačkoli to je technicky to, co chceme, umístění nápisu je trochu mimo. Je to proto, že musíme říct Vimovi, aby zobrazoval diagnostické znaky ve sloupci s číslem, nikoli nalevo od čísla. Otevřete svůj init.vim soubor a přidejte nový nastavení:</p>
<div class="codehilite"><pre><span></span><code>&quot; ... general settings
set signcolumn=number
</code></pre></div>
<p>Ulož a obnov zdrouj <code>:source</code> init.vim souboru. Nyní by se vaše znaky měly zobrazovat ve sloupci čísel, nikoli vlevo. Chcete-li se dozvědět více o signcolumn spusťte v Neovimu následující příkaz:</p>
<p><code>:h signcolumn</code></p>
<p>V VSCode je funkce, kterou v Neovim zoufale postrádám. Když jste v projektu, který používá Git, ponecháte kurzor na řádku po určitou dobu způsobí, že se nějaký virtuální text zobrazí v matné barvě. Text bude číst jméno vývojáře, který naposledy upravil řádek, datum modifikace a zprávu odevzdání.</p>
<p>Tuto funkci miluji. <code>vim-fugitive</code> má příkaz <code>:Git blame</code> příkaz, který řeší stejný případ použití, ale preferuji virtuální text. Chcete-li to povolit, jednoduše přidejte do konfigurace značek Git následující:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;gitsigns&#39;).setup {
-- signs config
current_line_blame = true,
current_line_blame_opts = {
virt_text_pos = &#39;right_align&#39;
}
}
</code></pre></div>
<p>A to je vše!</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,391 @@
<!doctype html>
<html lang="en">
<head>
<title>Ještě lepší Neovim s Zellij terminálovým multiplexorem - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="12-jeste-lepsi-neovim-s-zellij-terminalovym-multiplexorem">12. Ještě lepší Neovim s Zellij terminálovým multiplexorem</h1>
<p>Co mi chybí na Neovim, je způsob, jak z něj zavolat terminál a otevřít terminál (druhé okno terminálu pod oknem s Neovim, viz obrázek) stejnou cestou, na kterém pracuji.</p>
<p>Abych toho dosáhl, používám <a href="https://zellij.dev/" target="_blank">Zellij</a> , což je terminálový multiplexor.</p>
<h2 id="konfigurace-zellij">Konfigurace Zellij</h2>
<p><a href="https://zellij.dev/" target="_blank">Zellij</a> vám umožňuje vytvářet vlastní rozvržení, která lze vyvolat při spuštění, abyste je lépe přizpůsobili práci, kterou budete dělat.</p>
<p>Následuje konfigurace pro práci s textovým editorem Neovim. Tuto konfiguraci jsem uložil pod touto cestou <code>~/.config/zellij/layouts/nvim.kdl</code>: </p>
<div class="codehilite"><pre><span></span><code>layout {
pane size=1 borderless=true {
plugin location=&quot;zellij:tab-bar&quot;
}
pane {
command &quot;nvim&quot;
args &quot;.&quot;
}
pane split_direction=&quot;vertical&quot; size=&quot;10%&quot; {
}
pane size=2 borderless=true {
plugin location=&quot;zellij:status-bar&quot;
}
}
</code></pre></div>
<p>Výsledkem je následující rozložení:
<img alt="" src="https://lukan.cz/wp-content/uploads/2024/03/HelixAndZellij-700x382.png" /></p>
<p>Nvim běžící v horním podokně s terminálovou konzolí v jiném podokně dole, ve stejné cestě jako projekt, se kterým pracuji!! a přesně tohoto cíle jsem chtěl dosáhnout.</p>
<h2 id="konfigurace-systemu">Konfigurace systému</h2>
<p>Nyní ke spuštění zellij s vlastním rozložením a instancí Nvim musíte spustit: </p>
<div class="codehilite"><pre><span></span><code>zellij --layout ~/.config/zellij/layouts/nvim.kdl
</code></pre></div>
<p>V míste (složce) v terminálu kde chcete spustit Neovim.</p>
<p>Nyní pro zjednodušení tohoto příkazu jsem vytvořil alias <code>znv</code>a uložil to do mého <code>~/.bashrc</code>soubor. </p>
<div class="codehilite"><pre><span></span><code>alias znv=&#39;zellij --layout $HOME/.config/zellij/layouts/nvim.kdl&#39;
</code></pre></div>
<p>S touto konfigurací pokaždé, když potřebuji vytvořit novou instanci Neovim, stačí zadat <em>znv</em> do adresáře, se kterým chci pracovat, a <a href="https://zellij.dev/" target="_blank">Zellij</a> mi zavolá Neovim a automaticky otevře projekt.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,365 @@
<!doctype html>
<html lang="en">
<head>
<title>Používání relativních čísel řádků - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="13-pouzivani-relativnich-cisel-radku">13. Používání relativních čísel řádků</h1>
<p>Váš terminál Neovim podporuje čísla linek s následujícím nastavením:</p>
<div class="codehilite"><pre><span></span><code>set number
</code></pre></div>
<p>Až budete v Neoim pokročilejší, budete hledat způsoby, jak se vertikálně pohybovat rychleji. Jedním ze způsobů, jak toho dosáhnout, je explicitně zadat číslo řádku, na který chcete přejít. To je jednodušší s relativními čísly řádků:</p>
<div class="codehilite"><pre><span></span><code><span class="n">set</span><span class="w"> </span><span class="n">number</span>
<span class="n">set</span><span class="w"> </span><span class="n">relativenumber</span>
</code></pre></div>
<p>Jak to funguje? Řádek, na kterém je aktuálně kurzor, bude označen jako „řádek 0“. Zbytek řádků nad a pod bude očíslován ve vztahu k jejich vzdálenosti od řádku 0. Například řádek přímo pod kurzorem bude řádek 1. Stejně tak řádek přímo nad ním. Chcete-li přejít na řádek 1 níže, zadejte číslo <code>1 + j</code>. Chcete-li přejít na řádek 1 výše, zadejte číslo <code>1 + k</code>.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,336 @@
<!doctype html>
<html lang="en">
<head>
<title>OMLOUVÁME SE STRÁNKA SE PŘEDĚLÁVÁ - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="omlouvame-se-stranka-se-predelava">OMLOUVÁME SE STRÁNKA SE PŘEDĚLÁVÁ</h1></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,393 @@
<!doctype html>
<html lang="en">
<head>
<title>Jak na kopírování a vkládání - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="15-jak-na-kopirovani-a-vkladani">15. Jak na kopírování a vkládání</h1>
<h3 id="kopirovani-jednoho-radku">Kopírování jednoho řádku</h3>
<p>Přejděte na řádek, který chcete kopírovat.</p>
<p>Stiskněte yy (dva krát y). Tím kopírujete celý řádek.</p>
<h3 id="kopirovani-vice-radku">Kopírování více řádků</h3>
<p>Přejděte na první řádek, který chcete kopírovat.</p>
<p>Stiskněte V pro vizuální režim řádků.</p>
<p>Použijte šipky nebo j a k pro výběr řádků.</p>
<p>Stiskněte y pro kopírování vybraných řádků.</p>
<h1 id="vkladani-textu">Vkládání textu</h1>
<h3 id="vlozeni-textu">Vložení textu</h3>
<p>Přejděte na místo, kam chcete text vložit.</p>
<p>Stiskněte p pro vložení textu za kurzor nebo P pro vložení textu před kurzor.</p>
<h1 id="dalsi-uzitecne-funkce">Další užitečné funkce</h1>
<h3 id="vymazani-textu">Vymazání textu</h3>
<p>Přejděte na řádek, který chcete vymazat.</p>
<p>Stiskněte dd pro vymazání celého řádku.</p>
<h3 id="vymazani-vice-radku">Vymazání více řádků</h3>
<p>Přejděte na první řádek, který chcete vymazat.</p>
<p>Stiskněte V pro vizuální režim řádků.</p>
<p>Použijte šipky nebo j a k pro výběr řádků.</p>
<p>Stiskněte d pro vymazání vybraných řádků.</p>
<h3 id="presunuti-textu">Přesunutí textu</h3>
<p>Vyberte text, který chcete přesunout (například pomocí V a j/k).</p>
<p>Stiskněte d pro vymazání vybraného textu (což ho také kopíruje do schránky).</p>
<p>Přejděte na místo, kam chcete text přesunout.</p>
<p>Stiskněte p nebo P pro vložení textu.</p>
<h3 id="pouziti-systemove-schranky">Použití systémové schránky</h3>
<p>Neovim podporuje integraci se systémovou schránkou, což umožňuje kopírování a vkládání textu mezi Neovimem a jinými aplikacemi.</p>
<p>Kopírování do systémové schránky</p>
<p>Vyberte text, který chcete kopírovat (například pomocí V a j/k).</p>
<p>Stiskněte "+y pro kopírování vybraného textu do systémové schránky.</p>
<p>Vložení z systémové schránky</p>
<p>Přejděte na místo, kam chcete text vložit.</p>
<p>Stiskněte "+p pro vložení textu ze systémové schránky za kurzor nebo "+P pro vložení textu před kurzor.</p>
<p>Mimo Neovim použíjte zkratku <strong>CTRL+V</strong>.</p>
<p>Pokud chcete kopírovat t do Neovim z jiné aplikace použíjte <strong>SHIFT+CTRL+V</strong>.</p>
<p>Tyto příkazy a klávesové zkratky vám umožní efektivně pracovat s textem v Neovimu.</p>
<p>POZNÁMKA: v linuxu pro správnou funkčmost jsem si musel pro kopírování z Neovim nainstalovat balíček <strong>xclib</strong>!</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,383 @@
<!doctype html>
<html lang="en">
<head>
<title>Jak nainstalovat nejnovější verzi Neovim do linuxu - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><p>Né každa Linuxová distribuce nabízí nejnovější verzi Neovim, kterou vyžadují některé rozšíření Neovim. Velmi jednoduše nainstalujeme nejnovější verzi Neovim kompilací z zdrojového kódu.</p>
<p>Mi si instalaci předvedeme na distribuci založené na RHEL. Na ostatních distribucích se bude pouze lišit krok 1, dle toho jestli používáte apt, yay a atd.</p>
<h3 id="kompilace-ze-zdrojoveho-kodu">Kompilace ze zdrojového kódu</h3>
<ol>
<li>Instalace potřebných nástrojů a knihoven:</li>
</ol>
<div class="codehilite"><pre><span></span><code>sudo dnf groupinstall &quot;Development Tools&quot;
sudo dnf install cmake gcc gcc-c++ make ninja-build unzip
</code></pre></div>
<ol>
<li>Stažení zdrojového kódu Neovim:</li>
</ol>
<div class="codehilite"><pre><span></span><code>git clone https://github.com/neovim/neovim.git
cd neovim
</code></pre></div>
<ol>
<li>Kompilace Neovim:</li>
</ol>
<div class="codehilite"><pre><span></span><code>make CMAKE_BUILD_TYPE=Release
</code></pre></div>
<ol>
<li>Instalace Neovim:</li>
</ol>
<div class="codehilite"><pre><span></span><code>sudo make install
</code></pre></div>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,363 @@
<!doctype html>
<html lang="en">
<head>
<title>Jak opravit nefunkční Prettier - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../18.%20Konfigurace%20Lua/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="17-jak-opravit-nefunkcni-prettier">17. Jak opravit nefunkční Prettier</h1>
<p>Pokud se Vám stane že Prettier nebude fungovat a bude vypisovat chybu, nejspíš ho nemáte naistalovaný v projektu.</p>
<p>V tomto případě ho bude nutné do projektu nainstalovat.</p>
<p>Oprava je jednoduchá:</p>
<p>V terminálu jse přesuňte do projektu.</p>
<p>Zadejte tento příkaz a tím doinstalujete potřebné věci do projektu pro správnou funkčnost Prettier:</p>
<p><code>npm install --save-dev prettier</code></p>
<p>Tento příkaz by vám měl pomoci s nefunkčím Prettierem v Neovim.</p>
<p>Jak pracovat s Prettier v Neovim doporučuji navštívit GitHub <a href="https://github.com/neoclide/coc-prettier">coc-prettier</a></p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,432 @@
<!doctype html>
<html lang="en">
<head>
<title>Konfigurace Lua - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="18-konfigurace-plaginu-v-lua-souboru">18. Konfigurace plaginu v Lua souboru</h1>
<p>Některé pluginy pro svůj chod potřebují na konfigurovat. Tyto konfigurace se provádějí v jazyce <a href="https://www.lua.org/" target="_blank">Lua</a>. Většinou bývá pravidlem že konfiguraci najdete na GitHubu u jednotlivých pluginů, mi ji jen musíme zkopírovat či případně upravit dle svých preferencí a uložit do souborů kde máme Neovim.</p>
<p>Máme dvě možnosti jak takovou konfiguraci uložit. Buď do souboru <code>init.vim</code> nebo pro lepší přehlednost do souboru lua kde bude mít každý plugin svůj soubor.</p>
<h5 id="prvni-zpusob">První způsob:</h5>
<p>Toto je jednoduší způsob konfigurace jejím přidání do 'init.vim'.</p>
<ol>
<li>V souboru 'init.vim' vytvoříme tyto dvě značky:</li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="nv">lua</span><span class="w"> </span><span class="o">&lt;&lt;</span><span class="w"> </span><span class="nv">EOF</span>
<span class="nv">EOF</span>
</code></pre></div>
<ol>
<li>A mezi ně vložíme samotný config, například takto:</li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="nv">lua</span><span class="w"> </span><span class="o">&lt;&lt;</span><span class="w"> </span><span class="nv">EOF</span>
<span class="c1">-- nvim-lightbulb setup</span>
<span class="nb">require</span><span class="p">(</span><span class="s1">&#39;nvim-lightbulb&#39;</span><span class="p">).</span><span class="nf">setup</span><span class="p">({</span>
<span class="w"> </span><span class="nv">autocmd</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nv">enabled</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="w"> </span><span class="p">},</span>
<span class="p">})</span>
<span class="nv">EOF</span>
</code></pre></div>
<p>A dále pod sebe přidáváme jednotlivé značky 'lua &lt;&lt; EOF' 'EOF' a do nich vklkádat konfigurace.</p>
<h5 id="druhy-zpusob">Druhý způsob:</h5>
<p>Tento způsob je o trochu složitější, ale pomůže lépe organizovat konfigurační soubory a mít lepší přehled.</p>
<ol>
<li>do souboru 'init.vim' přidáme tento řádek:</li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="nv">lua</span><span class="w"> </span><span class="nb">require</span><span class="p">(</span><span class="s1">&#39;kankys&#39;</span><span class="p">)</span><span class="w"> </span>
</code></pre></div>
<p>Tím jsme si naimprtovali soubor do kterého budeme importovat jednotlivé konfigurace.</p>
<ol>
<li>
<p>Ve složce Neovim kde máme soubor 'init.vim' vytvoříme složku 'lua'.</p>
</li>
<li>
<p>Ve složce 'lua' vytvoříme složku s váším nickem nebo jak se vám zlíbí. V mém případě jsem zvolil 'kankys'.</p>
</li>
</ol>
<p>Měli by jste teď mít tutu strukturu: '~/.config/nvim/lua/kankys/'</p>
<ol>
<li>Ve složce 'kankys' vytvoříme soubor:</li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="n">init.lua</span>
</code></pre></div>
<p>Do něj budeme importovat jednotlivé konfigurace.</p>
<ol>
<li>Vytvoříme se soubor s názvem pluginu s koncovkou lua kterého chceme konfigurovat.</li>
</ol>
<p>Já budu chtít například konfigurovat plugin 'gitsings'.</p>
<ol>
<li>Vytvoříme ve složce 'kankys' soubor 'gitsings.lua'. Do něj vlažíme konfiguraci dle návodu z Githubu u pluginu.</li>
</ol>
<p>Soubor pak bude vypadat takto:</p>
<div class="codehilite"><pre><span></span><code><span class="nb">require</span><span class="p">(</span><span class="s1">&#39;gitsigns&#39;</span><span class="p">).</span><span class="nv">setup</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="c1">-- signs config</span>
<span class="w"> </span><span class="nv">current_line_blame</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
<span class="w"> </span><span class="nv">current_line_blame_opts</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="nv">virt_text_pos</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;right_align&#39;</span>
<span class="w"> </span><span class="p">}</span>
<span class="p">}</span>
</code></pre></div>
<p>A uložíme ho.</p>
<ol>
<li>Poslení bod na importovat konfiguraci do 'init.lua'</li>
</ol>
<p>Otevřeme soubor 'init.lua' a do něj vložíme:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;kankys/gitsigns&#39;)
</code></pre></div>
<p>A soubor uložíme.</p>
<p>Takto budeme přidávat další importy do 'init.lua'.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,336 @@
<!doctype html>
<html lang="en">
<head>
<title>19. NERDTree konfigurace a tipy - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,361 @@
<!doctype html>
<html lang="en">
<head>
<title>Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../18.%20Konfigurace%20Lua/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../../../contact/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="20-jak-zobrazit-nahled-v-markdown-v-prohlizeci-pomoci-coc-webview">20. Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview</h1>
<p>Budeme si muset nainstalovat <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> balíčkovací manager pro instalování doplňků do Neovim. pomocí <a href="https://apollonvim.codeberg.page/cz/apollonvim/tutorials/01.%20vimplug/" target="_blank">vim.plug</a></p>
<p>Pak nainstalujeme coc-webview příkazem v neovim (SHIFT + : ):</p>
<p><code>CocInstall coc-webview</code></p>
<p>A příkazem:</p>
<p><code>CocCommand coc-markdown-preview-enhanced.openPreview</code>
Zobrazíme ve webovém prohlížeči náhled vašeho Markdown v reálném čase.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,474 @@
<!doctype html>
<html lang="en">
<head>
<title>Hint - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h3 id="pri-problemech-se-syntaxi-markdown-je-potreba">Při problémech se syntaxi markdown je potřeba:</h3>
<ul>
<li>
<p>PlugVim:
<code>Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}</code></p>
</li>
<li>
<p>Nainstalovat:
<code>:TSInstall markdown</code></p>
</li>
</ul>
<h3 id="autosave">AutoSave</h3>
<ul>
<li>Nainstalovat plugin auto-save.nvim přes plug.vim pomocí následujícího příkazu: </li>
</ul>
<div class="codehilite"><pre><span></span><code>Plug &#39;Pocco81/auto-save.nvim&#39; 
</code></pre></div>
<ul>
<li>Poté nastavit proměnné g:auto_save_enabled a g:auto_save_delay v init.vim takto: </li>
</ul>
<div class="codehilite"><pre><span></span><code>let g:auto_save_enabled = 1 
let g:auto_save_delay = 3000 
</code></pre></div>
<p><a href="https://github.com/Pocco81/auto-save.nvim?tab=readme-ov-file">https://github.com/Pocco81/auto-save.nvim?tab=readme-ov-file</a> </p>
<ul>
<li>Autosave nefunguje v PowerShell</li>
</ul>
<h3 id="colorscheme-automaticke-spousteni">Colorscheme automatické spouštění</h3>
<ul>
<li>
<p>Takto nastavím vybrané colorscheme že se automaticky spustí při startu: </p>
</li>
<li>
<p>Nastavení do init.vim :</p>
</li>
</ul>
<div class="codehilite"><pre><span></span><code>colorscheme dracula 
autocmd VimEnter * colorscheme dracula
</code></pre></div>
<h3 id="kde-najdu-init-vim-a-data-neovim">Kde najdu init vim a data Neovim?</h3>
<ul>
<li>Linux a MacOS</li>
</ul>
<div class="codehilite"><pre><span></span><code>/home/user/.config/nvim/init.vim
</code></pre></div>
<ul>
<li>Windows</li>
</ul>
<div class="codehilite"><pre><span></span><code>/home/kankys/.local/share/nvim/ (data)
/home/kankys/.local/state/nvim/ (data)
</code></pre></div>
<h3 id="vkladani-z-externich-zdroju">Vkládání z externích zdrojů</h3>
<p>V Neovim (a také v klasickém Vim) můžete kopírovat text z externích zdrojů, například z webové stránky, pomocí několika různých metod. Zde jsou dvě možnosti:</p>
<h3 id="prime-kopirovani-z-externi-aplikace"><strong>Přímé kopírování z externí aplikace:</strong></h3>
<ol>
<li>
<p><strong>Zkopírujte text:</strong></p>
<ul>
<li>Otevřete webový prohlížeč a vyberte text, který chcete zkopírovat.</li>
<li>Stiskněte <code>Ctrl+C</code> (nebo <code>Cmd+C</code> na macOS) pro kopírování.</li>
<li>
<p><strong>Přepnutí do režimu vkládání v Neovimu (režim insert ):</strong></p>
</li>
<li>
<p>Otevřete neovim a načtěte soubor.</p>
</li>
<li>Přepněte se do režimu vkládání stisknutím klávesy <code>i</code>.</li>
<li>
<p><strong>Vložte text:</strong></p>
</li>
<li>
<p>Stiskněte <code>Ctrl+Shift+V</code> (nebo <code>Cmd+Shift+V</code> na macOS) pro vložení textu do Neovimu.</p>
</li>
</ul>
</li>
</ol>
<h1 id="default-klavesove-zkratky">Default klávesové zkratky</h1>
<p>Neovim je moderní verze Vim, textového editoru používaného v unixových systémech. Zde jsou některé klávesové zkratky pro práci s Neovim:</p>
<h3 id="zakladni-pohyb">Základní pohyb:</h3>
<ul>
<li><code>h</code> - Pohyb vlevo</li>
<li><code>j</code> - Pohyb dolů</li>
<li><code>k</code> - Pohyb nahoru</li>
<li><code>l</code> - Pohyb vpravo</li>
<li><code>w</code> - Přesun na začátek dalšího slova</li>
<li><code>b</code> - Přesun na začátek předchozího slova</li>
<li><code>gg</code> - Přesun na začátek dokumentu</li>
<li><code>G</code> - Přesun na konec dokumentu</li>
</ul>
<h3 id="visualni-mod">Visuální mód:</h3>
<p>Do něj se přepnu v Normal módu pomocí <code>v</code> pohybem kde byl kurzor mohu označovat text.</p>
<h3 id="normalni-mod-normal">Normální mód - NORMAL:</h3>
<p>Do normál módu se z jiných přesunu pomocí <code>ESC</code>
- <code>i</code> - Přepnutí do režimu vkládání před kurzor
- <code>I</code> - Přepnutí do režimu vkládání na začátek řádku
- <code>a</code> - Přepnutí do režimu vkládání za kurzor
- <code>A</code> - Přepnutí do režimu vkládání na konec řádku
- <code>o</code> - Vložení nového řádku pod aktuálním řádkem
- <code>O</code> - Vložení nového řádku nad aktuálním řádkem
- <code>dd</code> - Smazání řádku
- <code>dw</code> - Smazání slova
- <code>yy</code> - Kopírování řádku
- <code>p</code> - Vložení obsahu schránky pod kurzor
- <code>P</code> - Vložení obsahu schránky před kurzor
- <code>u</code> - Vrácení poslední provedené akce
- <code>Ctrl + r</code> - Krok do předu opak <code>u</code>
- <code>q</code> - Zavře okno
- <code>.</code> - Poslední příkaz
- <code>Ctrl + w</code> - Přepínání oken</p>
<h3 id="command-mod">Command mód:</h3>
<p>Command mód vyvoláme pomocí <code>Shift + :</code>
- <code>:e + jméno souboru</code> - Vytvoří nový soubor - <code>:e index.html</code>
- <code>:w</code> - Uložení změn
- <code>:q</code> - Opuštění editoru
- <code>:wq</code> - Uložení změn a opuštění
- <code>:q!</code> - Opuštění editoru bez ukládání změn
- <code>:vs</code> - Vertikální rozložení oken
- <code>:sp</code> - Horizontální rozložení oken
- <code>:colorscheme</code> - Změní theme
- <code>:term</code> - Otevře terminál</p>
<h3 id="vyhledavani-a-nahrazovani">Vyhledávání a nahrazování:</h3>
<ul>
<li><code>/hledany_text</code> - Vyhledání textu</li>
<li><code>n</code> - Přeskočení na další výskyt hledaného textu</li>
<li><code>N</code> - Přeskočení na předchozí výskyt hledaného textu</li>
<li><code>:s/hledany_text/nahrazeny_text/g</code> - Nahrazení hledaného textu za zadaný text v celém dokumentu</li>
</ul>
<h3 id="ruzne">Různé:</h3>
<ul>
<li><code>Ctrl + r</code> - Opětovné provedení zrušené akce</li>
<li><code>:help</code> - Zobrazení nápovědy</li>
</ul></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,18 @@
coc-todolist
coc-tailwindcss
coc-project-manager
coc-prettier
coc-marketplace
coc-json
coc-html-css-support
coc-html
coc-emmet
coc-xml
coc-tsserver
coc-lsp-wl
coc-lit-html
coc-htmldjango
coc-css
coc-markdown-preview-enhanced
coc-markdownlint
coc-eslint

View File

@@ -0,0 +1,429 @@
<!doctype html>
<html lang="en">
<head>
<title>Vždy se podívej před Instalací na Githubu, na zdroj. Předejdeš tím případným problémům! Pokud si nejsi jistý postupem nebo ti není něco jasné, tak raději se podívej do dokumntace,napiš nebo fórech najdeš odpověď. - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../assets/css/mkdocs.min.css">
<link href="../../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="vzdy-se-podivej-pred-instalaci-na-githubu-na-zdroj-predejdes-tim-pripadnym-problemum-pokud-si-nejsi-jisty-postupem-nebo-ti-neni-neco-jasne-tak-radeji-se-podivej-do-dokumntacenapis-nebo-forech-najdes-odpoved">Vždy se podívej před Instalací na Githubu, na zdroj. Předejdeš tím případným problémům! Pokud si nejsi jistý postupem nebo ti není něco jasné, tak raději se podívej do dokumntace,napiš nebo fórech najdeš odpověď.</h1>
<h1 id="jak-nainstalovat-vimplug-do-neovim">Jak nainstalovat vim.plug do Neovim</h1>
<p>Nejprve si však zálohujte své aktuální nastavení Neovim!!!</p>
<p>Linux &amp; Mac:</p>
<p><code>~/.config/nvim/init.vim</code></p>
<p>Windows:</p>
<p><code>~\AppData\Local\nvim\init.vim</code></p>
<p>Běžte na tuto <a href="https://github.com/junegunn/vim-plug">stránku</a> pod Installation si najděte svůj operační systém a zkopírujte odkaz pod ním do svého terminálu a pomocí Enter nainstalujete vim.plug.</p>
<p>Na Linuxu a macOS to bude tento příkaz:</p>
<div class="codehilite"><pre><span></span><code><span class="s s-Atom">sh</span> <span class="o">-</span><span class="s s-Atom">c</span> <span class="s s-Atom">&#39;curl -fLo &quot;${XDG_DATA_HOME:-$HOME/.local/share}&quot;/nvim/site/autoload/plug.vim --create-dirs \</span>
<span class="s s-Atom"> https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim&#39;</span>
</code></pre></div>
<p>Na Windows to bude tento příkaz:</p>
<div class="codehilite"><pre><span></span><code><span class="n">iwr</span><span class="w"> </span><span class="o">-</span><span class="n">useb</span><span class="w"> </span><span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">raw</span><span class="o">.</span><span class="n">githubusercontent</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">junegunn</span><span class="o">/</span><span class="n">vim</span><span class="o">-</span><span class="n">plug</span><span class="o">/</span><span class="k">master</span><span class="o">/</span><span class="n">plug</span><span class="o">.</span><span class="n">vim</span><span class="w"> </span><span class="o">|</span><span class="err">`</span>
<span class="w"> </span><span class="n">ni</span><span class="w"> </span><span class="s2">&quot;$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim&quot;</span><span class="w"> </span><span class="o">-</span><span class="n">Force</span>
</code></pre></div>
<p>Dále si otevřeme soubor init.vim a pokud ho nemáme tak si ho vytvoříme zde:</p>
<p>Linux &amp; Mac:</p>
<p><code>~.config/nvim/init.vim</code></p>
<p>Windows:</p>
<p><code>~\AppData\Local\nvim\init.vim</code></p>
<p>A do něj vložíme a následně uložíme tento kód:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="nv">has</span><span class="ss">(</span><span class="s1">&#39;nvim&#39;</span><span class="ss">)</span><span class="w"> </span>?<span class="w"> </span><span class="nv">stdpath</span><span class="ss">(</span><span class="s1">&#39;data&#39;</span><span class="ss">)</span><span class="w"> </span>.<span class="w"> </span><span class="s1">&#39;/plugged&#39;</span><span class="w"> </span>:<span class="w"> </span><span class="s1">&#39;~/.vim/plugged&#39;</span><span class="ss">)</span>
#<span class="w"> </span><span class="nv">Jsem</span><span class="w"> </span><span class="nv">bude</span>š<span class="w"> </span><span class="nv">v</span><span class="w"> </span><span class="nv">budoucnu</span><span class="w"> </span><span class="nv">vkl</span>á<span class="nv">dat</span><span class="w"> </span><span class="nv">pluginy</span>.<span class="w"> </span><span class="nv">Za</span>čí<span class="nv">naj</span>í<span class="nv">c</span>í<span class="w"> </span><span class="nv">PLug</span><span class="w"> </span><span class="nv">a</span><span class="w"> </span><span class="nv">adresa</span><span class="w"> </span><span class="nv">ke</span><span class="w"> </span><span class="nv">sta</span>ž<span class="nv">en</span>í
<span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="k">end</span><span class="ss">()</span>
</code></pre></div>
<p>A příkazem <code>Nvim</code> v terminálu spustíme Neovim. Pokud vám vyskočí chybové hlášení jen ho odklikněte.</p>
<p>Pomocí <code>Ctrl + :</code> se dostanete do příkazového řádku a tam napíšete <code>PlugInstall</code></p>
<p>A restartujeme Neovim. Příkazem <code>Ctrl + :</code> do příkazového řádku napíšete <code>q</code> a restartujeme Neovim.</p>
<p>Takto pokaždé když si přidáte do init.vim pluginy, příkazem <code>PlugInstall</code> je nainstalujete a restartujeme Neovim.</p>
<p>Default klávesové zkratky</p>
<p>Neovim je moderní verze Vim, textového editoru používaného v unixových systémech. Zde jsou některé klávesové zkratky pro práci s Neovim:</p>
<h3 id="zakladni-pohyb">Základní pohyb:</h3>
<ul>
<li><code>h</code> - Pohyb vlevo</li>
<li><code>j</code> - Pohyb dolů</li>
<li><code>k</code> - Pohyb nahoru</li>
<li><code>l</code> - Pohyb vpravo</li>
<li><code>w</code> - Přesun na začátek dalšího slova</li>
<li><code>b</code> - Přesun na začátek předchozího slova</li>
<li><code>gg</code> - Přesun na začátek dokumentu</li>
<li><code>G</code> - Přesun na konec dokumentu</li>
</ul>
<h3 id="visualni-mod">Visuální mód:</h3>
<p>Do něj se přepnu v Normal módu pomocí <code>v</code> pohybem kde byl kurzor mohu označovat text.</p>
<h3 id="normalni-mod-normal">Normální mód - NORMAL:</h3>
<p>Do normál módu se z jiných přesunu pomocí <code>ESC</code>
- <code>i</code> - Přepnutí do režimu vkládání před kurzor
- <code>I</code> - Přepnutí do režimu vkládání na začátek řádku
- <code>a</code> - Přepnutí do režimu vkládání za kurzor
- <code>A</code> - Přepnutí do režimu vkládání na konec řádku
- <code>o</code> - Vložení nového řádku pod aktuálním řádkem
- <code>O</code> - Vložení nového řádku nad aktuálním řádkem
- <code>dd</code> - Smazání řádku
- <code>dw</code> - Smazání slova
- <code>yy</code> - Kopírování řádku
- <code>p</code> - Vložení obsahu schránky pod kurzor
- <code>P</code> - Vložení obsahu schránky před kurzor
- <code>u</code> - Vrácení poslední provedené akce
- <code>Ctrl + r</code> - Krok do předu opak <code>u</code>
- <code>q</code> - Zavře okno
- <code>.</code> - Poslední příkaz
- <code>Ctrl + w</code> - Přepínání oken</p>
<h3 id="command-mod">Command mód:</h3>
<p>Command mód vyvoláme pomocí <code>Shift + :</code>
- <code>:e + jméno souboru</code> - Vytvoří nový soubor - <code>:e index.html</code>
- <code>:w</code> - Uložení změn
- <code>:q</code> - Opuštění editoru
- <code>:wq</code> - Uložení změn a opuštění
- <code>:q!</code> - Opuštění editoru bez ukládání změn
- <code>:vs</code> - Vertikální rozložení oken
- <code>:sp</code> - Horizontální rozložení oken
- <code>:colorscheme</code> - Změní theme
- <code>:term</code> - Otevře terminál</p>
<h3 id="vyhledavani-a-nahrazovani">Vyhledávání a nahrazování:</h3>
<ul>
<li><code>/hledany_text</code> - Vyhledání textu</li>
<li><code>n</code> - Přeskočení na další výskyt hledaného textu</li>
<li><code>N</code> - Přeskočení na předchozí výskyt hledaného textu</li>
<li><code>:s/hledany_text/nahrazeny_text/g</code> - Nahrazení hledaného textu za zadaný text v celém dokumentu</li>
</ul>
<h3 id="ruzne">Různé:</h3>
<ul>
<li><code>Ctrl + r</code> - Opětovné provedení zrušené akce</li>
<li><code>:help</code> - Zobrazení nápovědy</li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../..';</script>
<script src="../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../assets/js/mkdocs.js"></script>
<script src="../../javascripts/extra.js" defer></script>
<script src="../../search/main.js" defer></script>
</body>
</html>

6
cz/assets/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.hljs-meta .hljs-keyword,.hljs-meta-keyword,.hljs-strong{font-weight:700}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#a9b7c6;background:var(--black)}.hljs ::selection,.hljs::selection{background-color:#323232;color:#a9b7c6}.hljs-comment{color:#606366}.hljs-tag{color:#a4a3a3}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#a9b7c6}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#4eade5}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#689757}.hljs-class .hljs-title,.hljs-strong,.hljs-title,.hljs-title.class_{color:#bbb529}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#6a8759}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#629755}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#9876aa}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#cc7832}.hljs-emphasis{color:#cc7832;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:grey}

File diff suppressed because one or more lines are too long

1
cz/assets/css/dracula-ui.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
cz/assets/css/mkdocs.min.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
cz/assets/img/dracula.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

BIN
cz/assets/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

7
cz/assets/js/bootstrap.bundle.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
cz/assets/js/jquery-3.3.1.slim.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
cz/assets/js/mkdocs.js Normal file
View File

@@ -0,0 +1 @@
!function(i){"use strict";i(".js-fullheight").css("height",i(window).height()),i(window).resize(function(){i(".js-fullheight").css("height",i(window).height())}),i("#sidebarCollapse").on("click",function(){i("#sidebar").toggleClass("active")})}(jQuery);

372
cz/contact/index.html Normal file
View File

@@ -0,0 +1,372 @@
<!doctype html>
<html lang="en">
<head>
<title>📪 Kontakty - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../assets/css/mkdocs.min.css">
<link href="../style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href=".."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="../apollonvim/installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="../apollonvim/plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href=".."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a
class="btn-preview drac-btn drac-text-white--hover disabled" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h3 id="kontakty">Kontakty:</h3>
<ul>
<li>👉 <a href="https://t.me/apollonvim" target="_blank">🚀 ApolloNvim Telegram skupina</a></li>
<li>👉 <a href="https://lukaskanka.cz/" target="_blank">Osobní web autora 🚀 ApolloNvim </a></li>
</ul>
<h3 id="podpora">Podpora:</h3>
<ul>
<li>👉 Pokud jakkoliv chcete podpořit nebo se podílet na obsahu a funkčnosti 🚀 ApolloNvim, budu rád, když mi zde napíšete.</li>
<li>👉 Taky můžete tento projekt podpořit pár Satoshi:</li>
</ul>
<p><img alt="SAT" src="https://lukan.cz/wp-content/uploads/2025/01/0a895d16-ce64-4e8a-9a9d-05c568dc916e_1124x1532-220x300.webp" /></p>
<h3 id="dalsi-projekty-a-odkazy">Další projekty a odkazy:</h3>
<ul>
<li>👉 <a href="https://lukaskanka.cz/" target="_blank">Web autora tohoto projektu</a></li>
<li>👉 <a href="https://arch-linux.cz/" target="_blank">ArchLinux CZ</a></li>
<li>👉 <a href="https://searxng.cz/" target="_blank">Vyhledávač SearXNG CZ</a></li>
<li>👉 <a href="https://endeavouros.cz/" target="_blank">EndeavourOS Linux</a></li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '..';</script>
<script src="../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../assets/js/bootstrap.bundle.min.js"></script>
<script src="../assets/js/mkdocs.js"></script>
<script src="../javascripts/extra.js" defer></script>
<script src="../search/main.js" defer></script>
</body>
</html>

BIN
cz/img/AlmaLinuxlogo.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

BIN
cz/img/FFmpeg.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
cz/img/apollonvim.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

395
cz/index.html Normal file
View File

@@ -0,0 +1,395 @@
<!doctype html>
<html lang="en">
<head>
<title>🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="🛸 ApolloNvim svoboda v programování....">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="assets/css/mkdocs.min.css">
<link href="style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="."
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="apollonvim/installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="apollonvim/plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a
class="btn-preview drac-btn drac-text-white--hover disabled">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="apollonvim/installation/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="./search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="apollonvim">🚀 ApolloNvim</h1>
<h4 id="verze-2501">Verze: 25.01</h4>
<h4 id="the-english-version"><a href="https://apollonvim.codeberg.page/en/">🇬🇧 The English version 🇬🇧</a></h4>
<p><a href="https://codeberg.org/ApolloNvim" target="_blank">Repozitář projektu</a></p>
<h2 id="programovani-je-mnohem-zabavnejsi-kdyz-jste-efektivni-neovim-vas-tam-muze-casem-dostat-ale-musite-byt-ochotni-zkouset-nove-veci-nove-pluginy-nove-remapy-atd">Programování je mnohem zábavnější, když jste efektivní. Neovim vás tam může časem dostat, ale musíte být ochotni zkoušet nové věci. Nové pluginy, nové remapy atd.</h2>
<h2 id="uvod">Úvod:</h2>
<ul>
<li><strong>Vždy se podívej před instalací nových pluginu, na dokumentaci k plaginům na Githubu. Předejdeš tím případným problémům! Pokud si nejsi jistý postupem nebo ti není něco jasné, tak raději se podívej do dokumentace, napiš nám nebo na fórech najdeš odpověď. Táke si vše vždy před změnou vše zálohuj!</strong></li>
<li>👉 Neovim setup pro Front-End vývoj postavený na <a href="https://github.com/junegunn/vim-plug" target="_blank">Plug.vim</a>, <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> a <a href="https://neovim.io/doc/user/lua-guide.html" target="_blank">Lua</a>.</li>
<li>👉 Výhody Neovim oproti klasickému IDE jsou nesporně ve svobodě konfigurace, je tisíce možností, jak Váš Neovim může vypadat a fungovat. Pro Vaši inspiraci a použití vznikl tento projekt 🚀 ApolloNvim.</li>
<li>👉 Tato distribuce nefunguje jen, že kliknete na tlačítko a nainstaluje se. Vede Vás k samostatné instalaci pomocí tohoto webu. Cílem je pochopit, jak Neovim funguje, abyste si sami mohli vše modifikovat, což i click-on distribucí se nenaučíte.</li>
<li>👉 Dvě Edice 🚀ApolloNvim Starter za měřenou na práci s texty díky podpoře markdown a FrontEnd Edice zaměřená na vývoj webů.</li>
<li>👉 🚀ApolloNvim FrontEnd Editions - toto nastavení jsem vytvořil pro vývoj webu. Inspiroval jsem se pluginy, které jsem využíval v VSCode a Webstorm.</li>
<li>👉 V říjnu 2024 byla nově přidána podpora PHP a také Automatická instalace puginu.</li>
<li>👉 Velký důraz je kladen na rychlost a lehkost.</li>
<li>👉 🚀 ApolloNvim Distro je pravidelně aktualizováno tak i celý projekt.</li>
<li>👉 Pro nejlepší zážitek s 🚀 ApolloNvim Distro doporučuji používat multiplexor <a href="https://git.arch-linux.cz/kankys/zellij-mySetup" target="_blank">Zellij</a> nebo <a href="https://gnome-terminator.org/" target="_blank">Terminator</a>, ale není to samozřejmě podmínkou.</li>
</ul>
<p><img alt="ApolloNvim" src="img/apollonvim.jpg" /></p>
<h2 id="prednosti">Přednosti:</h2>
<ul>
<li>👉 Hlavní předností tohoto nastavení jsou podpora: Codeium alternativa k Copilot zdarma, Prettier, AutoSave, diplňování HTML, CSS, JS a zkratky k zakomentování a odkomentování kódu (CTRL + k). Také je zde několik pluginu pro příjemnější práci v Neovim.</li>
<li>👉 S <a href="https://github.com/neovim/nvim-lspconfig" target="_blank">LSP</a> v této instalaci využívám <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> pro jeho jednoduchost, stabilitu a rychlost. </li>
<li>👉 Ty nejlepší témata pro Neovim (ať je nemusíte hledat), je defaultně nastavéné Dracula.</li>
<li>👉 Téma v Neovim si jednoduše změníte v command line příkazem <code>colorscheme</code> a tlačítkem Tab se budete přepínat mezi jednotlivými tématy.</li>
</ul>
<h3 id="plan-apollonvim">Plán 🚀 ApolloNvim:</h3>
<ul>
<li>👉 Do budoucna můžete očekávat tyto nové funkce a další novinky:</li>
<li>👉 Nová vlastní uvítací obrazovka.</li>
<li>👉 Nové pluginy.</li>
<li>👉 Návody k pluginům, jak nastavit a jak s nimi pracovat.</li>
<li>👉 Návody k práci s Neovim.</li>
</ul>
<h3 id="otazky-a-odpovedi">Otázky a odpovědi:</h3>
<ul>
<li>👉 Kolik stojí 🚀 ApolloNvim? -&gt; Nic 🚀 ApolloNvim je zdarma.</li>
<li>👉 Jak je moc složitý 🚀 ApolloNvim? -&gt; 🚀 ApolloNvim je možná složitější než ostatní editory, ale jak se sním človek naučí zjistí jak je skvělý editor.</li>
</ul>
<h3 id="vtip-na-zaver">Vtip na závěr:</h3>
<p>Víte proč má Vim tolik uživatelů? Protože ho neumí vypnout.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '.';</script>
<script src="assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="assets/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/mkdocs.js"></script>
<script src="javascripts/extra.js" defer></script>
<script src="search/main.js" defer></script>
</body>
</html>

350
cz/search.html Normal file
View File

@@ -0,0 +1,350 @@
<!doctype html>
<html lang="en">
<head>
<title>🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="./assets/css/bootstrap.min.css">
<link rel="stylesheet" href="./assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="./assets/css/mkdocs.min.css">
<link href="./style/extra.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="./assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="./."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Domů
</a>
</li>
<li class="drac-box">
<a href="./apollonvim/installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Instalace
</a>
</li>
<li class="drac-box">
<a href="./apollonvim/plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Pluginy
</a>
</li>
<li class="drac-box">
<a href="./."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-návody-collapse" aria-expanded="false">
📑 Návody
</a>
<div class="collapse" id="📑-návody-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Defaultní klávesové zkratky
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat vim.plug
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Codeium do Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat Telescope do editoru Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Barevné schéma
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatické úkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Kopírování a Vkládání do a z Neovim z externích zdrojů
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim základní nastavení
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Vim-fugitive ovládni Git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns drobné vylepšení git v Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Ještě lepší Neovim s Zellij terminálovým multiplexorem
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Používání relativních čísel řádků
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak na kopírování a vkládání
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/16.%20Jak%20nainstalovat%20nejnov%C4%9Bj%C5%A1%C3%AD%20verzi%20Neovim%20do%20linuxu/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak nainstalovat nejnovější verzi Neovim do linuxu
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak opravit nefunkční Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Konfigurace Lua
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Jak zobrazit náhled v markdown v prohlížeči pomocí coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="./contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Kontakty
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="./search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 content-search">
<article>
<p></p>
<h1 id="search">Search Results</h1>
<hr>
<form id="content_search" action="search.html">
<span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span>
<input name="q" id="mkdocs-search-query" type="text" class="drac-input drac-input-purple drac-text-white search_input search-query ui-autocomplete-input"
placeholder="Search the Docs" autocomplete="off" autofocus title="Type search term here">
</form>
<div id="mkdocs-search-results" class="search-results" data-no-results-text="No results found">
Searching...
</div>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '.';</script>
<script src="./assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="./assets/js/bootstrap.bundle.min.js"></script>
<script src="./assets/js/mkdocs.js"></script>
<script src="./javascripts/extra.js" defer></script>
<script src="./search/main.js" defer></script>
</body>
</html>

3475
cz/search/lunr.js Normal file

File diff suppressed because it is too large Load Diff

109
cz/search/main.js Normal file
View File

@@ -0,0 +1,109 @@
function getSearchTermFromLocation() {
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++) {
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == 'q') {
return decodeURIComponent(sParameterName[1].replace(/\+/g, '%20'));
}
}
}
function joinUrl (base, path) {
if (path.substring(0, 1) === "/") {
// path starts with `/`. Thus it is absolute.
return path;
}
if (base.substring(base.length-1) === "/") {
// base ends with `/`
return base + path;
}
return base + "/" + path;
}
function escapeHtml (value) {
return value.replace(/&/g, '&amp;')
.replace(/"/g, '&quot;')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
}
function formatResult (location, title, summary) {
return '<article><h3><a href="' + joinUrl(base_url, location) + '">'+ escapeHtml(title) + '</a></h3><p>' + escapeHtml(summary) +'</p></article>';
}
function displayResults (results) {
var search_results = document.getElementById("mkdocs-search-results");
while (search_results.firstChild) {
search_results.removeChild(search_results.firstChild);
}
if (results.length > 0){
for (var i=0; i < results.length; i++){
var result = results[i];
var html = formatResult(result.location, result.title, result.summary);
search_results.insertAdjacentHTML('beforeend', html);
}
} else {
var noResultsText = search_results.getAttribute('data-no-results-text');
if (!noResultsText) {
noResultsText = "No results found";
}
search_results.insertAdjacentHTML('beforeend', '<p>' + noResultsText + '</p>');
}
}
function doSearch () {
var query = document.getElementById('mkdocs-search-query').value;
if (query.length > min_search_length) {
if (!window.Worker) {
displayResults(search(query));
} else {
searchWorker.postMessage({query: query});
}
} else {
// Clear results for short queries
displayResults([]);
}
}
function initSearch () {
var search_input = document.getElementById('mkdocs-search-query');
if (search_input) {
search_input.addEventListener("keyup", doSearch);
}
var term = getSearchTermFromLocation();
if (term) {
search_input.value = term;
doSearch();
}
}
function onWorkerMessage (e) {
if (e.data.allowSearch) {
initSearch();
} else if (e.data.results) {
var results = e.data.results;
displayResults(results);
} else if (e.data.config) {
min_search_length = e.data.config.min_search_length-1;
}
}
if (!window.Worker) {
console.log('Web Worker API not supported');
// load index in main thread
$.getScript(joinUrl(base_url, "search/worker.js")).done(function () {
console.log('Loaded worker');
init();
window.postMessage = function (msg) {
onWorkerMessage({data: msg});
};
}).fail(function (jqxhr, settings, exception) {
console.error('Could not load worker.js');
});
} else {
// Wrap search in a web worker
var searchWorker = new Worker(joinUrl(base_url, "search/worker.js"));
searchWorker.postMessage({init: true});
searchWorker.onmessage = onWorkerMessage;
}

File diff suppressed because one or more lines are too long

133
cz/search/worker.js Normal file
View File

@@ -0,0 +1,133 @@
var base_path = 'function' === typeof importScripts ? '.' : '/search/';
var allowSearch = false;
var index;
var documents = {};
var lang = ['en'];
var data;
function getScript(script, callback) {
console.log('Loading script: ' + script);
$.getScript(base_path + script).done(function () {
callback();
}).fail(function (jqxhr, settings, exception) {
console.log('Error: ' + exception);
});
}
function getScriptsInOrder(scripts, callback) {
if (scripts.length === 0) {
callback();
return;
}
getScript(scripts[0], function() {
getScriptsInOrder(scripts.slice(1), callback);
});
}
function loadScripts(urls, callback) {
if( 'function' === typeof importScripts ) {
importScripts.apply(null, urls);
callback();
} else {
getScriptsInOrder(urls, callback);
}
}
function onJSONLoaded () {
data = JSON.parse(this.responseText);
var scriptsToLoad = ['lunr.js'];
if (data.config && data.config.lang && data.config.lang.length) {
lang = data.config.lang;
}
if (lang.length > 1 || lang[0] !== "en") {
scriptsToLoad.push('lunr.stemmer.support.js');
if (lang.length > 1) {
scriptsToLoad.push('lunr.multi.js');
}
if (lang.includes("ja") || lang.includes("jp")) {
scriptsToLoad.push('tinyseg.js');
}
for (var i=0; i < lang.length; i++) {
if (lang[i] != 'en') {
scriptsToLoad.push(['lunr', lang[i], 'js'].join('.'));
}
}
}
loadScripts(scriptsToLoad, onScriptsLoaded);
}
function onScriptsLoaded () {
console.log('All search scripts loaded, building Lunr index...');
if (data.config && data.config.separator && data.config.separator.length) {
lunr.tokenizer.separator = new RegExp(data.config.separator);
}
if (data.index) {
index = lunr.Index.load(data.index);
data.docs.forEach(function (doc) {
documents[doc.location] = doc;
});
console.log('Lunr pre-built index loaded, search ready');
} else {
index = lunr(function () {
if (lang.length === 1 && lang[0] !== "en" && lunr[lang[0]]) {
this.use(lunr[lang[0]]);
} else if (lang.length > 1) {
this.use(lunr.multiLanguage.apply(null, lang)); // spread operator not supported in all browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator#Browser_compatibility
}
this.field('title');
this.field('text');
this.ref('location');
for (var i=0; i < data.docs.length; i++) {
var doc = data.docs[i];
this.add(doc);
documents[doc.location] = doc;
}
});
console.log('Lunr index built, search ready');
}
allowSearch = true;
postMessage({config: data.config});
postMessage({allowSearch: allowSearch});
}
function init () {
var oReq = new XMLHttpRequest();
oReq.addEventListener("load", onJSONLoaded);
var index_path = base_path + '/search_index.json';
if( 'function' === typeof importScripts ){
index_path = 'search_index.json';
}
oReq.open("GET", index_path);
oReq.send();
}
function search (query) {
if (!allowSearch) {
console.error('Assets for search still loading');
return;
}
var resultDocuments = [];
var results = index.search(query);
for (var i=0; i < results.length; i++){
var result = results[i];
doc = documents[result.ref];
doc.summary = doc.text.substring(0, 200);
resultDocuments.push(doc);
}
return resultDocuments;
}
if( 'function' === typeof importScripts ) {
onmessage = function (e) {
if (e.data.init) {
init();
} else if (e.data.query) {
postMessage({ results: search(e.data.query) });
} else {
console.error("Worker - Unrecognized message: " + e);
}
};
}

3
cz/sitemap.xml Normal file
View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
</urlset>

BIN
cz/sitemap.xml.gz Normal file

Binary file not shown.

2
cz/style/extra.css Normal file
View File

@@ -0,0 +1,2 @@

332
en/404.html Normal file
View File

@@ -0,0 +1,332 @@
<!doctype html>
<html lang="en">
<head>
<title>🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="/assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="/assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="/assets/css/mkdocs.min.css">
<link href="/style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="/assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="/."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="/apollonvim/installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="/apollonvim/plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="/."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="/apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="/contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="//search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p></p>
<h1>404</h1>
<hr>
<p><strong>Page not found</strong></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '/';</script>
<script src="/assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="/assets/js/bootstrap.bundle.min.js"></script>
<script src="/assets/js/mkdocs.js"></script>
<script src="/javascripts/extra.js" defer></script>
<script src="/search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,411 @@
<!doctype html>
<html lang="en">
<head>
<title>🛠 Installation - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../assets/css/mkdocs.min.css">
<link href="../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../.."
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../plugins/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="apollonvim">🚀 ApolloNvim</h1>
<h2 id="before-installing-new-plugins-always-check-the-documentation-for-the-plugins-on-github-this-will-prevent-potential-problems-if-youre-not-sure-about-the-procedure-or-something-is-not-clear-youd-better-check-the-documentationwrite-to-us-or-the-forums-to-find-the-answer">Before installing new plugins, always check the documentation for the plugins on Github. This will prevent potential problems! If you're not sure about the procedure or something is not clear, you'd better check the documentation,write to us or the forums to find the answer.</h2>
<h4 id="this-installation-is-for-linux-and-mac">This installation is for Linux and Mac.</h4>
<h4 id="always-update-and-use-the-latest-version-of-neovim-and-all-packages">Always update and use the latest version of Neovim and all packages.</h4>
<h2 id="installation-and-setup-start-edition">Installation and setup Start Edition:</h2>
<p>👉 If you don't have it yet, install <a href="https://neovim.io/">Neovim</a>.{target="_blank"}.</p>
<p>👉 You will need to install plug.vim to install the extension.</p>
<p>👉 Go to this <a href="https://github.com/junegunn/vim-plug" target="_blank">page</a> under Installation find your operating system and copy the link under it into your terminal.</p>
<p><strong>But first back up your current Neovim settings!!!</strong></p>
<p>Configuration files can be found here:</p>
<p>Linux &amp; Mac:
<code>/home/user/.config/nvim/init.vim</code></p>
<p>Windows:</p>
<p><code>~\AppData\Local\nvim</code></p>
<h3 id="neovim">Neovim:</h3>
<p>👉 The easiest way to install 🚀 ApolloNvim Distro for Linux and macOS is to download this repository with the command :</p>
<p><code>git clone -b nvim https://codeberg.org/ApolloNvim/ApolloNvim2025.git ~/.config/nvim</code></p>
<p>👉 Note this command above will overwrite the existing nvim folder in ~/.config/nvim. <strong>Don't forget to back up the existing nvim folder before you overwrite it with a new one from this repository, for example by renaming the original nvim.bak.</strong></p>
<p>👉 But if you want you can configure Nvim to your liking and just get inspired.</p>
<p>👉 You can run neovim in the terminal with the <code>nvim</code> command.</p>
<p>👉 Click on error messages.</p>
<p>👉 In Neovim, type <code>PlugInstall</code> in the command line , this will install all plugins. Restart Neovim. Command Line is invoked with the keyboard shortcut <code>SHIFT + :</code>.</p>
<p>👉 If you are missing a plugin, you can easily install or uninstall it using plug.vim. You can find more information on GitHub <a href="https://github.com/junegunn/vim-plug" target="_blank">vim.plug</a>
or I'd be happy to advise you see about us.</p>
<p>👉 If you don't want to use a plugin, just comment it out in the init.vim file using double quotes <code>"</code>.</p>
<p>👉 Enter the Coc command in the command line to install the remaining plugins:
<code>CocInstall coc-markdown-preview-enhanced coc-webview</code>
👉 Reboot Neovim once more and you're all set.</p>
<h2 id="installation-and-setup-frontend-edition">Installation and setup FrontEnd Edition:</h2>
<p>👉 If you don't have it yet, install <a href="https://neovim.io/" target="_blank">Neovim</a>
.</p>
<p>👉 You will need to install plug.vim to install the extension.</p>
<p>👉 Go to this <a href="https://github.com/junegunn/vim-plug" target="_blank">page</a> under Installation find your operating system and copy the link under it into your terminal.</p>
<p><strong>But first back up your current Neovim settings!!!</strong></p>
<p>Configuration files can be found here:</p>
<p>Linux &amp; Mac:</p>
<p><code>/home/user/.config/nvim/init.vim</code></p>
<p>Windows:</p>
<p><code>~\AppData\Local\nvim</code></p>
<h3 id="nodejs">Node.js:</h3>
<p>👉 I recommend to have <a href="https://nodejs.org/en" target="_blank">Node.js</a> installed.</p>
<p>👉 Next, install the <a href="https://www.npmjs.com/package/live-server" target="_blank">Live-server</a> in Node.js with the command:</p>
<p><code>npm i live-server</code></p>
<p>👉 In your project you will be able to run your index.html command:</p>
<p><code>npx live-server</code></p>
<p>👉 For proper LSP functionality, install the following packages:</p>
<p>If the terminal gives you an error when you use the npm command. You will need to install the package as sudo.</p>
<p><a href="https://github.com/microsoft/vscode-html-languageservice" target="_blank">vscode-html-language-server</a></p>
<p><a href="https://github.com/microsoft/vscode-css-languageservice" target="_blank">vscode-css-language-server</a></p>
<p><a href="https://github.com/typescript-language-server/typescript-language-server" target="_blank">typescript-language-server</a></p>
<p><a href="https://github.com/aca/emmet-ls" target="_blank">emmet-ls</a></p>
<p><a href="https://github.com/tailwindlabs/tailwindcss-intellisense/blob/master/packages/tailwindcss-language-server/README.md" target="_blank">tailwindcss-language-server</a></p>
<h3 id="neovim_1">Neovim:</h3>
<p>👉 The easiest way to install 🚀 ApolloNvim Distro for Linux and macOS is to download this repository with the command :</p>
<p><code>git clone -b frontend https://codeberg.org/ApolloNvim/ApolloNvim2025.git ~/.config/nvim</code></p>
<p>👉 Note this command above will overwrite the existing nvim folder in ~/.config/nvim. <strong>Don't forget to back up the existing nvim folder before you overwrite it with a new one from this repository, for example by renaming the original nvim.bak</strong>.</p>
<p>👉 But if you want you can configure Nvim to your liking and just get inspired.</p>
<p>👉 You can run neovim in the terminal with the <code>nvim</code> command.</p>
<p>👉 Click on error messages.</p>
<p>👉 In Neovim, type PlugInstall in the command line , this will install all plugins. Restart Neovim.</p>
<p>👉 If you are missing a plugin, you can easily install or uninstall it using plug.vim. You can find more information on GitHub <a href="https://github.com/junegunn/vim-plug" target="_blank">vim.plug</a> or I'd be happy to advise you see about us.</p>
<p>👉 If you don't want to use a plugin, just comment it out in the <code>init.vim</code> file using double quotes <code>"</code>.</p>
<p>👉 Enter the Coc command in the command line to install the remaining plugins:</p>
<p><code>CocInstall coc-tailwindcss coc-json coc-html-css-support coc-html coc-emmet coc-xml coc-tsserver coc-lsp-wl coc-lit-html coc-htmldjango coc-css coc-markdown-preview-enhanced coc-webview coc-phpls coc-prettier coc-eslint</code></p>
<p>👉 Reboot Neovim once more and you're all set.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../..';</script>
<script src="../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../assets/js/mkdocs.js"></script>
<script src="../../javascripts/extra.js" defer></script>
<script src="../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,407 @@
<!doctype html>
<html lang="en">
<head>
<title>🗄 Plugins - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../assets/css/mkdocs.min.css">
<link href="../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../installation/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../tutorials/01.%20vimplug/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h2 id="plugins-apollonvim-distro">Plugins 🚀 ApolloNvim Distro</h2>
<h2 id="security-and-privacy-are-the-most-important-things-which-is-why-this-list-is-here-in-the-list-you-will-find-all-the-plugins-used-in-this-configuration-with-a-link-to-the-source-plugins-you-dont-want-to-use-can-be-commented-out-or-deleted-in-initvim-in-the-case-of-coc-plugin-omit-the-plugin-name-when-you-run-cocinstall">Security and privacy are the most important things, which is why this list is here. In the list you will find all the plugins used in this configuration with a link to the source. Plugins you don't want to use can be commented out or deleted in init.vim. In the case of Coc plugin, omit the plugin-name when you run CocInstall.</h2>
<p>👉 <a href="https://github.com/m4xshen/autoclose.nvim" target="_blank">Autoclosetag</a> tool for closing all types of brackets and tags.</p>
<p>👉 <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> package manager for installing add-ons to Neovim.</p>
<p>👉 <a href="https://github.com/valsorym/scrooloose-nerdtree" target="_blank">NERDTree</a> creates a tree sidebar for you.</p>
<p>👉 <a href="https://github.com/othree/html5.vim" target="_blank">html5.vim</a> plugin for highlighting HTML syntax.</p>
<p>👉 <a href="https://github.com/Exafunction/codeium.vim" target="_blank">Codeium</a> Introduction alternative to GitHub Copilot, which you can also easily (Commented active TabNine replacement)</p>
<p>👉 <a href="https://github.com/codota/tabnine-nvim" target="_blank">Tabnine</a> alternative to GitHub Copilot, which you can also easily install.</p>
<p>👉 <a href="https://github.com/mhinz/vim-startify" target="_blank">Startify</a> an alternative welcome screen with a different IT theme each time. It doesn't have to work with some terminals or NERDTree set to start after boot.</p>
<p>👉 <a href="https://github.com/preservim/nerdcommenter" target="_blank">NERD Commenter</a> Commenter plugin for commenting and uncommenting code. Here we have it set up to Ctrl + k.</p>
<p>👉 <a href="https://wakatime.com/neovim" target="_blank">Wakatime</a> a service that is able to measure how much time you spent coding on the computer and on which project. The service simply connects via API. You can find WakaTime <a href="https://wakatime.com/" target="_blank">here</a>.</p>
<p>👉 <a href="https://github.com/Pocco81/auto-save.nvim" target="_blank">Auto-save</a> plugin to automatically save your files.</p>
<p>👉 <a href="https://github.com/nvim-treesitter/nvim-treesitter" target="_blank">Tree-sitter</a> plugin for code highlighting.</p>
<p>👉 <a href="https://github.com/shellRaining/hlchunk.nvim" target="_blank">Hlchunk</a> connects the code with vertical lines.</p>
<p>👉 <a href="https://github.com/tpope/vim-fugitive" target="_blank">Vim-Fugitive</a> plugin for git.</p>
<p>👉 <a href="https://github.com/lilydjwg/colorizer" target="_blank">Colorizer</a> plugin for color preview by code designation.</p>
<p>👉 <a href="https://github.com/pangloss/vim-javascript" target="_blank">Vim - javascript</a> - javascript plugin for javascript support.</p>
<p>👉 <a href="https://github.com/akinsho/toggleterm.nvim" target="_blank">Toggletherm</a> Improved terminal.</p>
<p>👉 <a href="https://github.com/airblade/vim-gitgutter" target="_blank">Vim-Gitgutter</a> git help for a change in the code.</p>
<p>👉 <a href="https://github.com/lewis6991/gitsigns.nvim" target="_blank">Gitsigns</a> shows changes in the code.</p>
<p>👉 <a href="https://github.com/nvim-lua/plenary.nvim" target="_blank">Plenary</a></p>
<h3 id="coc-extensions">Coc extensions</h3>
<p>👉 <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> manager for installing add-ons to Neovim.</p>
<p>👉 <a href="https://github.com/neoclide/coc.nvim/wiki/Using-coc-extensions" target="_blank">Coc extensions</a> extensions under this link you can find all COC extensions for Neovim.</p>
<p>👉 coc-tailwindcss</p>
<p>👉 coc-json</p>
<p>👉 coc-html-css-support</p>
<p>👉 coc-html</p>
<p>👉 coc-emmet</p>
<p>👉 coc-xml</p>
<p>👉 coc-tsserver</p>
<p>👉 coc-lsp-wl</p>
<p>👉 coc-lit-html</p>
<p>👉 coc-htmldjango</p>
<p>👉 coc-css</p>
<p>👉 coc-markdown-preview-enhanced</p>
<p>👉 coc-webview</p>
<p>👉 coc-phpls</p>
<p>👉 coc-prettier</p>
<p>👉 coc-eslint</p>
<p>👉 coc-highlighting</p>
<h3 id="colorschemes">Colorschemes</h3>
<p>👉 <a href="https://github.com/dracula/vim" target="_blank">Dracula</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/morhetz/gruvbox" target="_blank">Gruvbox</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/catppuccin/nvim" target="_blank">Catppuccin</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/arcticicestudio/nord-vim" target="_blank">Nord</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/ghifarit53/tokyonight-vim" target="_blank">Tokyo Night</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/EdenEast/nightfox.nvim" target="_blank">Nightfox</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/sainnhe/sonokai" target="_blank">Sonokai</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/Tsuzat/NeoSolarized.nvim" target="_blank">NeoSolarized</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/bluz71/vim-moonfly-colors" target="_blank">Moonfly</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/joshdick/onedark.vim" target="_blank">Onedark</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/sainnhe/edge" target="_blank">Edge</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/vim-airline/vim-airline" target="_blank">Airline</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/projekt0n/github-nvim-theme" target="_blank">GitHub</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/bluz71/vim-nightfly-colors" target="_blank">Nightfly</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/xero/miasma.nvim" target="_blank">Miasma</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/sts10/vim-pink-moon" target="_blank">Pink moon</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/tlhr/anderson.vim" target="_blank">Anderson</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/jacoborus/tender.vim" target="_blank">Tender</a> color theme for Neovim.</p>
<p>👉 <a href="https://github.com/haishanh/night-owl.vim" target="_blank">Night owl</a> color theme for Neovim.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../..';</script>
<script src="../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../assets/js/mkdocs.js"></script>
<script src="../../javascripts/extra.js" defer></script>
<script src="../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,380 @@
<!doctype html>
<html lang="en">
<head>
<title>How to install vim.plug into Neovim - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../../plugins/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../02.%20keyshortcuts/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="01-how-to-install-vimplug-into-neovim">01. How to install vim.plug into Neovim</h1>
<p>But first, back up your current Neovim settings!!!</p>
<p>Linux &amp; Mac:</p>
<p><code>~/.config/nvim/init.vim</code></p>
<p>Windows:</p>
<p><code>~\AppData\Local\nvim\init.vim</code></p>
<p>Go to this <a href="https://github.com/junegunn/vim-plug">page</a> under Installation, find your operating system and copy the link under it into your terminal and use Enter to install vim.plug.</p>
<p>On Linux and macOS it will be this command:</p>
<div class="codehilite"><pre><span></span><code><span class="s s-Atom">sh</span> <span class="o">-</span><span class="s s-Atom">c</span> <span class="s s-Atom">&#39;curl -fLo &quot;${XDG_DATA_HOME:-$HOME/.local/share}&quot;/nvim/site/autoload/plug.vim --create-dirs \</span>
<span class="s s-Atom"> https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim&#39;</span>
</code></pre></div>
<p>On Windows it will be this command:</p>
<div class="codehilite"><pre><span></span><code><span class="n">iwr</span><span class="w"> </span><span class="o">-</span><span class="n">useb</span><span class="w"> </span><span class="n">https</span><span class="p">:</span><span class="o">//</span><span class="n">raw</span><span class="o">.</span><span class="n">githubusercontent</span><span class="o">.</span><span class="n">com</span><span class="o">/</span><span class="n">junegunn</span><span class="o">/</span><span class="n">vim</span><span class="o">-</span><span class="n">plug</span><span class="o">/</span><span class="k">master</span><span class="o">/</span><span class="n">plug</span><span class="o">.</span><span class="n">vim</span><span class="w"> </span><span class="o">|</span><span class="err">`</span>
<span class="w"> </span><span class="n">ni</span><span class="w"> </span><span class="s2">&quot;$(@($env:XDG_DATA_HOME, $env:LOCALAPPDATA)[$null -eq $env:XDG_DATA_HOME])/nvim-data/site/autoload/plug.vim&quot;</span><span class="w"> </span><span class="o">-</span><span class="n">Force</span>
</code></pre></div>
<p>Next, open the init.vim file and if you don't have it, create it here:</p>
<p>Linux &amp; Mac:</p>
<p><code>~/.config/nvim/init.vim</code></p>
<p>Windows:</p>
<p><code>~\AppData\Local\nvim\init.vim</code></p>
<p>And into it we insert and then save this code:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="nv">has</span><span class="ss">(</span><span class="s1">&#39;nvim&#39;</span><span class="ss">)</span><span class="w"> </span>?<span class="w"> </span><span class="nv">stdpath</span><span class="ss">(</span><span class="s1">&#39;data&#39;</span><span class="ss">)</span><span class="w"> </span>.<span class="w"> </span><span class="s1">&#39;/plugged&#39;</span><span class="w"> </span>:<span class="w"> </span><span class="s1">&#39;~/.vim/plugged&#39;</span><span class="ss">)</span>
#<span class="w"> </span><span class="nv">Jsem</span><span class="w"> </span><span class="nv">bude</span>š<span class="w"> </span><span class="nv">v</span><span class="w"> </span><span class="nv">budoucnu</span><span class="w"> </span><span class="nv">vkl</span>á<span class="nv">dat</span><span class="w"> </span><span class="nv">pluginy</span>.<span class="w"> </span><span class="nv">Za</span>čí<span class="nv">naj</span>í<span class="nv">c</span>í<span class="w"> </span><span class="nv">PLug</span><span class="w"> </span><span class="nv">a</span><span class="w"> </span><span class="nv">adresa</span><span class="w"> </span><span class="nv">ke</span><span class="w"> </span><span class="nv">sta</span>ž<span class="nv">en</span>í
<span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="k">end</span><span class="ss">()</span>
</code></pre></div>
<p>And use the <code>Nvim</code> command in the terminal to start Neovim. If you get an error message just click it.</p>
<p>Use <code>Ctrl + :</code> to get to the command line and type <code>PlugInstall</code></p>
<p>And restart Neovim. Use <code>Ctrl + :</code> to type <code>q</code> at the command prompt and restart Neovim.</p>
<p>This way, every time you add plugins to init.vim, you use the <code>PlugInstall</code> command to install them and restart Neovim.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,406 @@
<!doctype html>
<html lang="en">
<head>
<title>Default keyboard shortcuts - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../01.%20vimplug/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="02-default-keyboard-shortcuts">02. Default keyboard shortcuts</h1>
<p>Neovim is a modern version of Vim, a text editor used on Unix systems. Here are some keyboard shortcuts for working with Neovim:</p>
<h3 id="basic-movement">Basic movement:</h3>
<ul>
<li><code>h</code> - Left movement</li>
<li><code>j</code> - Move down</li>
<li><code>k</code> - Move up</li>
<li><code>l</code> - Move right</li>
<li><code>w</code> - Move to the beginning of the next word</li>
<li><code>b</code> - Move to the beginning of the previous word</li>
<li><code>gg</code> - Move to the beginning of the document</li>
<li><code>G</code> - Move to the end of the document</li>
</ul>
<h3 id="visual-mode">Visual mode:</h3>
<p>I switch to it in Normal mode by moving <code>v</code> where the cursor was to mark text.</p>
<h3 id="normal-mode-normal">Normal mode - NORMAL:</h3>
<p>I move to normal mode from other modes using <code>ESC</code>.</p>
<ul>
<li><code>i</code> - Switch to insert mode before the cursor</li>
<li><code>I</code> - Switch to insert mode at the beginning of the line</li>
<li><code>a</code> - Switch to insert mode after the cursor</li>
<li><code>A</code> - Switch to end-of-line insertion mode</li>
<li><code>o</code> - Insert a new line below the current line</li>
<li><code>O</code> - Insert new line above the current line</li>
<li><code>dd</code> - Delete a line</li>
<li><code>dw</code> - Deleting a word</li>
<li><code>yy</code> - Copying a line</li>
<li><code>p</code> - Paste the contents of the clipboard under the cursor</li>
<li><code>P</code> - Insert clipboard contents before cursor</li>
<li><code>u</code> - Undo the last action performed</li>
<li><code>Ctrl + r</code> - Step forward opposite <code>u</code></li>
<li><code>q</code> - Closes the window</li>
<li><code>.</code> - Last command</li>
<li><code>Ctrl + w</code> - Switch windows</li>
</ul>
<h3 id="command-mode">Command mode:</h3>
<p>Command mode is invoked with <code>Shift + :</code> </p>
<ul>
<li><code>:e + filename</code> - Creates a new file - <code>:e index.html</code></li>
<li><code>:w</code> - Save changes</li>
<li><code>:q</code> - Exit the editor</li>
<li><code>:wq</code> - Save changes and exit</li>
<li><code>:q!</code> - Exit the editor without saving changes</li>
<li><code>:vs</code> - Vertical window layout</li>
<li><code>:sp</code> - Horizontal window layout</li>
<li><code>:colorscheme</code> - Changes the theme</li>
<li><code>:term</code> - Opens terminal</li>
</ul>
<h3 id="search-and-replace">Search and replace:</h3>
<ul>
<li><code>/searched_text</code> - Search text</li>
<li><code>n</code> - Skip to the next occurrence of the search text</li>
<li><code>N</code> - Skip to the previous occurrence of the search text</li>
<li><code>:s/searched_text/replaced_text/g</code> - Replacing the search text with the specified text throughout the document</li>
</ul>
<h3 id="misc">Misc:</h3>
<ul>
<li><code>Ctrl + r</code> - Re-execute a cancelled action</li>
<li><code>:help</code> - Display help </li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,366 @@
<!doctype html>
<html lang="en">
<head>
<title>How to install Codeium on Neovim - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../02.%20keyshortcuts/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="03-how-to-install-codeium-on-neovim">03. How to install Codeium on Neovim</h1>
<p><a href="https: //codeium.com" target="_blank">Codeium</a> is an alternative to <a href="https://github.com/features/copilothttps://github.com/features/copilot" target="_blank">GitHub Copilot</a> with the caveat that it is free for individuals. I rate Codeium very positively and Copilot is equal to it.</p>
<p>Installation using plug.vim is easy, you just need to edit your <code>init.vim</code>.</p>
<p>Paste in:</p>
<div class="codehilite"><pre><span></span><code>&quot; Free AI codium
Plug &#39;Exafunction/codeium.vim&#39;, { &#39;branch&#39;: &#39;main&#39; }
</code></pre></div>
<p>The resulting init.vim will look like this:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="nv">has</span><span class="ss">(</span><span class="s1">&#39;nvim&#39;</span><span class="ss">)</span><span class="w"> </span>?<span class="w"> </span><span class="nv">stdpath</span><span class="ss">(</span><span class="s1">&#39;data&#39;</span><span class="ss">)</span><span class="w"> </span>.<span class="w"> </span><span class="s1">&#39;/plugged&#39;</span><span class="w"> </span>:<span class="w"> </span><span class="s1">&#39;~/.vim/plugged&#39;</span><span class="ss">)</span>
<span class="err">&quot; Free AI codium</span>
<span class="err">Plug &#39;Exafunction/codeium.vim&#39;, { &#39;branch&#39;: &#39;main&#39; }</span>
<span class="err">call plug#end()</span>
</code></pre></div>
<p>And we restart Neovim. Type <code>q</code> at the command prompt with <code>Ctrl + :</code> and restart Neovim.</p>
<p>After rebooting, we do a <code>PlugInstall</code> and reboot Neovim once more.</p>
<p>The last step will be to set the Codeium configuration, by typing <code>CodeiumEnable</code> into the command line.</p>
<p>Codium will prompt you to connect the API to the Codium server.</p>
<p>And everything should work for you.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 ApolloNvim
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,489 @@
<!doctype html>
<html lang="en">
<head>
<title>Telescope - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="04-telescope">04. Telescope</h1>
<ul>
<li>
<p>Telescope is, created by one of the main members of the Neovim team - TJ Devries .</p>
</li>
<li>
<p>Side note, TJ posts a lot of Neovim related content on his YouTube channel and on his Twitch streams. In particular, his channel <a href="https://www.youtube.com/c/TJDeVries" target="_blank">YouTube</a> has been a great resource. Check it out!</p>
</li>
<li>
<p>Telescope is an essential plugin in my opinion. It's a fuzzy search engine built into Lua that can be configured in all sorts of ways. It adds a lot of functionality to your Neovim setup. I haven't realized its true potential yet, but it's awesome for file search and text search.</p>
</li>
</ul>
<p>I <em>have</em> tested this on both Linux and macOS, but it should work on Windows as well.</p>
<ul>
<li>Let's install it (we'll put all the commands in your terminal):</li>
<li>Paste this code into your <code>init</code> file.</li>
</ul>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="nv">has</span><span class="ss">(</span><span class="s1">&#39;nvim&#39;</span><span class="ss">)</span><span class="w"> </span>?<span class="w"> </span><span class="nv">stdpath</span><span class="ss">(</span><span class="s1">&#39;data&#39;</span><span class="ss">)</span><span class="w"> </span>.<span class="w"> </span><span class="s1">&#39;/plugged&#39;</span><span class="w"> </span>:<span class="w"> </span><span class="s1">&#39;~/.vim/plugged&#39;</span><span class="ss">))</span>
<span class="err">&quot; Telescope install Neovim</span>
<span class="s2">&quot; Planery&quot;</span>
<span class="nv">Plug</span><span class="w"> </span><span class="s1">&#39;nvim-lua/plenary.nvim&#39;</span>
<span class="err">&quot; Telescope plugin</span>
<span class="err">Plug &#39;nvim-telescope/telescope.nvim&#39;</span>
<span class="err">&quot; Fuzzy Telescope fzf</span>
<span class="err">Plugin &#39;nvim-telescope/telescope-fzf-native.nvim&#39;, { &#39;do&#39;: &#39;make&#39; }</span>
<span class="err">call plug#end()</span>
</code></pre></div>
<ul>
<li>
<p>Note that we are installing more than one plugin here. Telescope requires another plugin called <a href="https://github.com/nvim-lua/plenary.nvim" target="_blank">Planery</a>. And another plugin is <a href="https://github.com/nvim-telescope/telescope.nvim#sorters" target="_blank">Telescope Sorter</a>, which supports fzf and <a href="https://github.com/nvim-telescope/telescope.nvim#suggested-dependencies" target="_blank">Telescope</a> syntax.</p>
</li>
<li>
<p><strong>To complete the installation, be sure to follow these three steps:</strong></p>
</li>
<li>Save init.vim <code>:w</code></li>
<li>Restore the source of init.vims <code>:so %</code> or restart <code>Neovim</code></li>
<li>
<p>Install the plugin using <code>:PlugInstall</code>.</p>
</li>
<li>
<p>Next we need to configure Telescope. This is a common practice among Vim plugins. Telescope is a Lua based plugin.</p>
</li>
<li>
<p>First we need to create a new lua folder in the directory: <code>nvim ~/.config/nvim/lua</code>.</p>
</li>
</ul>
<div class="codehilite"><pre><span></span><code>cd ~/.config/nvim
mkdir lua
</code></pre></div>
<ul>
<li>Inside the lua directory, we will create a subdirectory for the namespace of our plugin configurations. To understand why this is necessary, we need to explain how Vim handles file lookups. In short, creating a namespace subdirectory inside the lua directory prevents unwanted file collisions .</li>
</ul>
<p>I decided to use my GitHub nick as the name of my subdirectory:</p>
<div class="codehilite"><pre><span></span><code>cd ~/.config/nvim/lua
mkdir kankys
</code></pre></div>
<ul>
<li>It doesn't matter what you name the directory. Once you create it, you'll want to move to it using cd:</li>
</ul>
<p><code>cd ~/.config/nvim/lua/your-directory-name</code></p>
<ul>
<li>
<p>Note: your-directory-name is used as a placeholder. Replace it with the name of your directory you want.</p>
</li>
<li>
<p>In the namespace directory, create a plugin-name.lua file for each plugin you want/need to configure. You create Telescope like this (we are persistent in <code>cd ~/.config/nvim/lua/your-directory-name</code>
):</p>
</li>
</ul>
<p><code>nvim telescope.lua</code></p>
<ul>
<li>
<p>A useful Vim tip is that you can open files before they exist. If you close a file without saving it, it won't be created! In the example above, we open telescope.luav in Neovim. If we save the file, it will be created.</p>
</li>
<li>
<p>Our configuration for Telescope will be:</p>
</li>
</ul>
<div class="codehilite"><pre><span></span><code><span class="n">local</span><span class="w"> </span><span class="n">telescope</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="n">require</span><span class="p">(</span><span class="s1">&#39;telescope&#39;</span><span class="p">)</span>
<span class="n">telescope</span><span class="o">.</span><span class="n">setup</span><span class="w"> </span><span class="p">{}</span>
<span class="n">telescope</span><span class="o">.</span><span class="n">load_extension</span><span class="p">(</span><span class="s1">&#39;fzf&#39;</span><span class="p">)</span>
</code></pre></div>
<ul>
<li>Paste this code into telescope.lua and save. Everything we need is in the telescope.lua file.</li>
<li>The above example gives us a first taste of Lua. I've found that a lot of plugins need at least this setup in lua:</li>
</ul>
<p><code>require('PLUGIN_NAME').setup {}</code></p>
<p>I won't dive deep into the Telescope configuration in this post. If you want to see some of the available setup options and additional customization, check out the <a href="https://github.com/nvim-telescope/telescope.nvim#customization" target="_blank">documentation</a>.</p>
<ul>
<li>
<p>Don't forget to save telescope.lua and exit Neovim with <code>:wq</code>.</p>
</li>
<li>
<p>Next, we need to tell our init.vim that a lua file exists somewhere:</p>
</li>
</ul>
<p>In my case, I would state:</p>
<p><code>lua require('kankys')</code> by pasting it into <code>~/.config/nvim/init.vim</code></p>
<p>A couple of notes:
* <strong>Paste this command under the vim-plug function ( `` call plug#end() )!</strong></p>
<ul>
<li>What does it do? At first it looks a bit magical and understanding it requires knowledge of Vim search, but basically this command will search for a lua file in your Vim runtime.</li>
<li>in our case it is:</li>
</ul>
<p><code>~/.config/nvim/lua/your-directory-name/telescope.lua</code></p>
<ul>
<li>Instead of requiring every configuration file in our init.vim, we can just require the namespace directory. For this to work, we'll need to add a new file to our namespace directory called init.lua:</li>
</ul>
<div class="codehilite"><pre><span></span><code><span class="n">cd ~/.config/nvim/lua/your-directory-name</span>
<span class="n">touch init.lua</span>
</code></pre></div>
<p>The * init.lua file can be thought of as an index file. Inside init.lua we can load all our configuration files.</p>
<ul>
<li>In <code>init-lua</code> let's put the following code:</li>
</ul>
<p><code>require('your-directory-name/telescope')</code></p>
<ul>
<li>
<p><strong>You can easily understand everything I've said above if you look at the nvim configuration files here on <a href="https://codeberg.org/ApolloNvim/ApolloNvim2025" target="_blank">Git</a>.</strong> </p>
</li>
<li>
<p>From now on, all new lua configuration files will be in <code>lua/your-directory-name</code>. </p>
</li>
</ul>
<h2 id="telescope">Telescope</h2>
<ul>
<li>
<p>Telescope has a number of <a href="https://github.com/nvim-telescope/telescope.nvim#vim-commands" target="_blank">commands</a> that can be used, <code>:Telescope</code> in NORMAL mode in Neovim. A quick way to see all the available commands is to type <code>:Telescope</code> followed by a space and then click <code>&lt;Tab&gt;</code>. The tab button opens a list of autocomplete, available commands in Telescope. You can navigate the list using <code>&lt;Tab&gt;</code> and <code>&lt;Shift-Tab&gt;</code> in the opposite direction.</p>
</li>
<li>
<p>The Telescope command is shown below, for demonstration purposes:
<code>:Telescope find_files</code></p>
</li>
</ul>
<p>You can view the Telescope documentation in Neovim by:</p>
<p><code>:h telescope</code></p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,384 @@
<!doctype html>
<html lang="en">
<head>
<title>Color scheme - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../06.%20Autosave/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="05-color-scheme">05. Color scheme</h1>
<p>Most color schemes in Neovim can be installed as a plugin. There are a lot of color schemes. Here is a list of some of them on <a href="https://github.com/rafi/awesome-vim-colorschemes" target="_blank">GitHub</a>.</p>
<p>Some of my favorites include:
<code>Gruvbox</code>
<code>Dracula</code>
<code>Tokionight</code></p>
<p>Schemes are installed inside <code>plug#begin()</code> and <code>plug#end()</code>, let's declare our color scheme. To illustrate, I'll use Gruvbox:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="s1">&#39;~/.config/nvim/plugged&#39;</span><span class="ss">)</span>
<span class="nv">Plug</span><span class="w"> </span><span class="s1">&#39;gruvbox-community/gruvbox&#39;</span>
<span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="k">end</span><span class="ss">()</span>
</code></pre></div>
<p>The example above shows how to declare the plugins you want to install via vim-plug . The Gruvbox plugin above is a shorthand notation for:</p>
<p><code>Plug 'https://github.com/gruvbox-community/gruvbox'</code></p>
<p>Once you declare your init.vim plugin, you need to perform a few more steps to install it:</p>
<p>Save your init.vim :w
Load source init.vims :so % or restart Neovim
Install color schemes :PlugInstall</p>
<p>The above commands need to be entered in NORMAL mode. </p>
<p>After the plug-in installation is complete, you can close vim-plug (buffer ) by typing <code>:q!</code>.</p>
<p>After installing your color scheme, we will need to tell Neovi to use it. Inside your init.vim, under plugin declarations, add the following lines of code:</p>
<div class="codehilite"><pre><span></span><code><span class="n">call</span><span class="w"> </span><span class="n">plug</span><span class="c1">#begin(&#39;~/.config/nvim/plugged&#39;)</span>
<span class="n">Plug</span><span class="w"> </span><span class="s1">&#39;gruvbox-community/gruvbox&#39;</span>
<span class="n">call</span><span class="w"> </span><span class="n">plug</span><span class="c1">#end()</span>
<span class="s2">&quot; Selects your color scheme:</span>
<span class="n">colorscheme</span><span class="w"> </span><span class="n">gruvbox</span>
<span class="s2">&quot; Automatically loads your scheme when Neovim starts</span>
<span class="n">autocmd</span><span class="w"> </span><span class="n">VimEnter</span><span class="w"> </span><span class="o">*</span><span class="w"> </span><span class="n">colorscheme</span><span class="w"> </span><span class="n">gruvbox</span>
</code></pre></div>
<p>Save and exit init.vim with <code>:wq</code>. Next time you reopen Neovim, you should see the new color scheme!</p>
<p>You can change the color scheme while Neovim is running in this way:</p>
<p><code>:colorscheme -&gt; click &lt;space&gt; &lt;Tab&gt;</code></p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,365 @@
<!doctype html>
<html lang="en">
<head>
<title>Automatic saving - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="06-automatic-saving">06. Automatic saving.</h1>
<ul>
<li>Install the plugin auto-save.nvim via plug.vim using the following command: </li>
</ul>
<div class="codehilite"><pre><span></span><code>Plug &#39;Pocco81/auto-save.nvim&#39;
</code></pre></div>
<ul>
<li>Then set the variables g:auto_save_enabled and g:auto_save_delay in init.vim as follows.</li>
</ul>
<div class="codehilite"><pre><span></span><code>let g:auto_save_enabled = 1
let g:auto_save_delay = 3000
</code></pre></div>
<p><a href="https://github.com/Pocco81/auto-save.nvim?tab=readme-ov-file" target="_blank">https://github.com/Pocco81/auto-save.nvim?tab=readme-ov-file</a></p>
<ul>
<li>Attention Autosave does not work in PowerShell</li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,373 @@
<!doctype html>
<html lang="en">
<head>
<title>Copying and Pasting to and from Neovim from external sources - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../06.%20Autosave/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../08.%20Markdown_syntax/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="07-copying-and-pasting-to-and-from-neovim-from-external-sources">07. Copying and Pasting to and from Neovim from external sources</h1>
<p>In Neovim (and also in classic Vim) you can copy text from external sources into Neovim, for example from a web page, and vice versa from Neovim out.</p>
<h3 id="direct-copying-from-an-external-application-to-neovim"><strong>Direct copying from an external application to Neovim:</strong></h3>
<ol>
<li><strong>Copy text:</strong></li>
<li>Open a web browser and select the text you want to copy</li>
<li>Press <code>Ctrl+C</code> (or <code>Cmd+C</code> on macOS) to copy.</li>
<li><strong>Switch to insert mode in Neovim (insert mode ):</strong></li>
<li>Open neovim and load the file -
Switch to insert mode by pressing <code>i</code>.</li>
<li><strong>Insert text:</strong></li>
<li>Press <code>Ctrl+Shift+V</code> (or <code>Cmd+Shift+V</code> on macOS) to insert text into Neovim.</li>
</ol>
<h3 id="copying-from-neovim-to-neovim-or-outside-neovim-to-another-application"><strong>Copying from Neovim to Neovim or outside Neovim to another application:</strong></h3>
<p>1: SHIFT + V --&gt; select the whole line
- or in Normal mode using: v + right, left, up and down arrow --&gt; select the selected text</p>
<ol>
<li><strong>Copy the selected text:</strong></li>
<li>do this in Normal mode with the key: y</li>
<li>
<p>then paste the text anywhere with <code>CTRL+Shift+V</code> or in Neovi in Normal mode with the <code>p</code> key. <strong>Remove marked text:</strong></p>
</li>
<li>
<p>you can remove marked text in Normal mode with: x</p>
</li>
</ol>
<p><strong>NOTE:</strong> in Linux for proper functionality I had to install the <strong>xclib</strong> package for copying from Neovim!</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,352 @@
<!doctype html>
<html lang="en">
<head>
<title>Markdown_syntax - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="08-markdown_syntax">08. Markdown_syntax</h1>
<p>For problems with markdown syntax, you need:</p>
<p><code>PlugVim: Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}</code></p>
<p>Install by typing in the command line: :TSInstall markdown</p>
<p><strong>If you have problems with this plugin displaying the syntax or if you are not comfortable with this plugin, uninstall it by manually deleting it in the folder:</strong></p>
<p><code>usr/local/lib64/nevim/parser/markdown.so</code></p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,394 @@
<!doctype html>
<html lang="en">
<head>
<title>init.vim basic settings - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../08.%20Markdown_syntax/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="09-initvim-basic-settings">09. init.vim basic settings</h1>
<p><strong>General settings</strong></p>
<p>For basic settings in init.vim I have some tips for you, let's open it: </p>
<div class="codehilite"><pre><span></span><code>nvim init.vim
</code></pre></div>
<p>Add basic settings to init. vim: </p>
<p>``
" enable syntax highlighting
syntax on</p>
<p>" better colors
set termguicolors</p>
<p>" number of positions of the peripherals to be shifted using <Tab>
set tabstop=4
set softtabstop=4
set expandtab</p>
<p>" enable bullets
set smartindent</p>
<p>" number of spaces used for automatic bullets
set shiftwidth=4</p>
<p>" display line number
set number</p>
<p>" columns used for line number
set numberwidth=4</p>
<p>" highlight when searching for matching text.
set incsearch
set nohlsearch</p>
<p>" intuitively open split new windows
set splitbelow
set splitright</p>
<p>" browse buffer (windows) memory without losing unsaved work
set hidden</p>
<p>" start scrolling page, when 8 lines from top or bottom edge
set scrolloff=8</p>
<p>" Save history
set undofile</p>
<p>" Enable mouse support
set mouse=a</p>
<p>" case-insensitive search unless uppercase is used
set ignorecase
set smartcase</p>
<div class="codehilite"><pre><span></span><code><span class="nx">If</span><span class="w"> </span><span class="nx">you</span><span class="w"> </span><span class="nx">want</span><span class="w"> </span><span class="nx">more</span><span class="w"> </span><span class="nx">information</span><span class="w"> </span><span class="nx">about</span><span class="w"> </span><span class="nx">each</span><span class="w"> </span><span class="nx">setting</span><span class="p">,</span><span class="w"> </span><span class="nx">you</span><span class="w"> </span><span class="nx">can</span><span class="w"> </span><span class="k">type</span><span class="w"> </span><span class="err">`</span><span class="p">:</span><span class="w"> </span><span class="nx">h</span><span class="w"> </span><span class="p">&lt;</span><span class="nx">setting</span><span class="w"> </span><span class="nx">name</span><span class="p">&gt;</span><span class="err">`</span><span class="w"> </span><span class="nx">inside</span><span class="w"> </span><span class="nx">Neovim</span><span class="p">,</span><span class="w"> </span><span class="nx">to</span><span class="w"> </span><span class="nx">bring</span><span class="w"> </span><span class="nx">up</span><span class="w"> </span><span class="nx">help</span><span class="w"> </span><span class="k">for</span><span class="w"> </span><span class="nx">that</span><span class="w"> </span><span class="nx">particular</span><span class="w"> </span><span class="nx">setting</span><span class="p">.</span><span class="w"> </span><span class="nx">For</span><span class="w"> </span><span class="nx">example</span><span class="p">:</span><span class="w"> </span>
<span class="err">``</span>
<span class="p">:</span><span class="nx">h</span><span class="w"> </span><span class="nx">number</span>
</code></pre></div>
<p>Displays the help section for <code>number</code>.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,394 @@
<!doctype html>
<html lang="en">
<head>
<title>vim-fugitive - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="10-vim-fugitive">10. vim-fugitive</h1>
<p>Vim-fugitive is a plugin for the Vim and Neovim text editor that provides a set of features for working with the Git version control system directly from the Vim editor. This plugin facilitates tasks such as browsing commit history, comparing file versions, adding changes to the index, creating commits, and resolving version merge conflicts. Vim-fugitive is popular among developers who prefer to work directly from the command line and value efficiency and speed.</p>
<p>Let's install it. First, add vim-fugitive to init.vim: </p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="s1">&#39;~/.config/nvim/plugged&#39;</span><span class="ss">)</span>
<span class="err">&quot; vim-fugitive</span>
<span class="err">Plug &#39;tpope/vim-fugitive&#39;</span>
<span class="err">call plug#end()</span>
</code></pre></div>
<p>No configuration is required for this plugin. Just save the source, install it and you can start using it.</p>
<p>Let me give you some useful tips for getting started with vim-fugitive.</p>
<p><code>:Git</code></p>
<p>As you may have seen with these types of commands, you can use <code>&lt;Tab&gt;</code> autocomplete to see what else it can do: </p>
<div class="codehilite"><pre><span></span><code>:Git &lt;Tab&gt;
</code></pre></div>
<p>And there's a lot you can do in <code>vim-fugitive</code>, but if you know Git, <code>vim-fugitive</code> will be a breeze for you: </p>
<div class="codehilite"><pre><span></span><code><span class="err">&quot; show current branch status</span>
<span class="err">:Git status</span>
<span class="err">&quot; show available branches</span>
<span class="err">:Git branch</span>
<span class="err">&quot; work with storage</span>
<span class="err">:Git stash</span>
<span class="err">:Git add</span>
<span class="err">:Git commit</span>
<span class="err">:Git push</span>
</code></pre></div>
<p>Typing <code>:Git</code> will bring up <a href="https://github.com/tpope/vim-fugitive/blob/69f5fcbd459c113181d18a0ea2641cd47c9e0318/doc/fugitive.txt#L50" target="_blank">without the <code>fugitive-summary</code> window</a> . I actually like this feature a lot. It displays a list of untracked, staging, and unassigned files along with the current branch name. Placing the cursor on these files allows you to run certain maps such as preparing/unstaging, discarding changes, toggling embedded diffs, etc.</p>
<p>For more information on what maps are within the <code>fugitive-summary</code> window, type: </p>
<p><code>:h fugitive-maps</code></p>
<p>Or <a href="https://github.com/tpope/vim-fugitive/blob/69f5fcbd459c113181d18a0ea2641cd47c9e0318/doc/fugitive.txt#L258" target="_blank">see this link</a> .</p>
<p><code>vim-fugitive</code> is also displayed in the footer. You have information about what branch you're in or how many changes you've made to the code.</p>
<p>For more information on <code>vim-fugitive</code> enter the following command in Neovim: </p>
<p>``
:h fugitive
```</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,399 @@
<!doctype html>
<html lang="en">
<head>
<title>Gitsigns minor improvements to git in Neovim - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="11-gitsigns-minor-improvements-to-git-in-neovim">11. Gitsigns minor improvements to git in Neovim</h1>
<p>The great thing about coding is seeing deleted or modified lines in real time.</p>
<p>Neovim doesn't support this by default, so we use gitsigns:</p>
<p>in our init.vim we add:</p>
<div class="codehilite"><pre><span></span><code><span class="k">call</span><span class="w"> </span><span class="nl">plug</span>#<span class="nv">begin</span><span class="ss">(</span><span class="s1">&#39;~/.config/nvim/plugged&#39;</span><span class="ss">)</span>
<span class="err">&quot; gitsigns</span>
<span class="err">Plug &#39;lewis6991/gitsigns.nvim&#39;</span>
<span class="err">call plug#end()</span>
</code></pre></div>
<p>Note: gitsigns requires <code>nvim-lua/plenary.nvim</code>. Since we installed it using <code>telescope</code> <a href="https://github.com/LukasKanka/ApolloNvim/blob/main/readme/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim.md" target="_blank">04. How to install Telescope in the Neovim editor</a>, we are covered.</p>
<p>You already know what to do - Save, source and <code>:PlugInstall</code>.</p>
<p>Gitsigns requires a call and setup in your configuration to make it work. Let's create a <code>gitsigns.lua</code> file in our name directory:</p>
<p><code>nvim ~/.config/nvim/lua/your-directory/gitsigns.lua</code></p>
<p>And inside this file we start:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;gitsigns&#39;).setup {}
</code></pre></div>
<p>If you don't specify any options, the plugin will start with the default settings.</p>
<p>Now we'll add gitsigns.luado our namespace directory init.lua file:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;your-directory/telescope&#39;)
require(&#39;your-directory/lightline&#39;)
require(&#39;your-directory/gitsigns&#39;)
</code></pre></div>
<p>Mine looks like this:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;kankys/telescope&#39;)
require(&#39;kankys/lightline&#39;) require
(&#39;kankys/gitsigns&#39;)
</code></pre></div>
<p>Restore the source of this file using the :source command. You can see Gitsigns in action when you navigate to a project on your machine that is managed by git. Any watched file that has been modified will show this modification .</p>
<p>While this is technically what we want, the placement of the sign is a bit off. This is because we need to tell Vim to display the diagnostic characters in the number column, not to the left of the number. Open your init.vim file and add a new setting:</p>
<div class="codehilite"><pre><span></span><code>&quot; ... general settings
set signcolumn=number
</code></pre></div>
<p>Save and restore the <code>:source</code> init.vim file. Now your characters should appear in the number column, not on the left. To learn more about signcolumn run the following command in Neovim:</p>
<p><code>:h signcolumn</code></p>
<p>There is a feature in VSCode that is sorely missed in Neovim. When you are in a project that uses Git, leaving the cursor on a line for a certain amount of time will cause some virtual text to appear in a dull color. The text will read the name of the developer who last modified the line, the modification date, and the commit message.</p>
<p>I love this feature. The <code>vim-fugitive</code> has a <code>:Git blame</code> command that handles the same use case, but I prefer the virtual text. To enable this, simply add the following to your Git signage configuration:</p>
<div class="codehilite"><pre><span></span><code>require(&#39;gitsigns&#39;).setup {
-- signs config
current_line_blame = true,
current_line_blame_opts = {
virt_text_pos = &#39;right_align
&#39; }
}
</code></pre></div>
<p>And that's it!</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,382 @@
<!doctype html>
<html lang="en">
<head>
<title>Even better Neovim with Zellij terminal multiplexer - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="12-even-better-neovim-with-zellij-terminal-multiplexer">12. Even better Neovim with Zellij terminal multiplexer</h1>
<p>What I miss about Neovim is a way to call a terminal from it and open the terminal (the second terminal window below the Neovim window, see picture) the same way I'm working on.</p>
<p>To achieve this, I use <a href="https://zellij.dev/" target="_blank">Zellij</a> , which is a terminal multiplexer.</p>
<p>The ## Zellij</p>
<p><a href="https://zellij.dev/" target="_blank">Zellij</a> configuration</p>
<p>allows you to create custom layouts that can be invoked at startup to better tailor them to the work you'll be doing.</p>
<p>The following is the configuration for working with the Neovi text editor. I saved this configuration under this path <code>~/.config/zellij/layouts/nvim.kdl</code>: </p>
<div class="codehilite"><pre><span></span><code>layout {
panel size=1 borderless=true {
plugin location=&quot;zellij:tab-bar
&quot; }
panel {
command &quot;nvim
&quot; args &quot;.
&quot; }
panel split_direction=&quot;vertical&quot; size=&quot;10%&quot; {
}
panel size=2 borderless=true {
plugin location=&quot;zellij:status-bar
&quot; }
}
</code></pre></div>
<p>The result is the following layout:
<img alt="" src="https://lukan.cz/wp-content/uploads/2024/03/HelixAndZellij-700x382.png" /></p>
<p>Nvim running in the top pane with the terminal console in another pane at the bottom, in the same path as the project I'm working with!!! and this is exactly the goal I wanted to achieve.</p>
<h2 id="system-configuration">System Configuration</h2>
<p>Now to run zellij with a custom layout and Nvim instance you need to run: </p>
<div class="codehilite"><pre><span></span><code>zellij --layout ~/.config/zellij/layouts/nvim.kdl
</code></pre></div>
<p>In the location (folder) in the terminal where you want to run Neovim.</p>
<p>Now to simplify this command, I created an alias <code>znv</code> and saved it in my <code>~/.bashrc</code> file. </p>
<p><code>alias znv='zellij --layout $HOME/.config/zellij/layouts/nvim.kdl'</code></p>
<p>With this configuration, every time I need to create a new instance of Neovim, I just type <em>znv</em> in the directory I want to work with, and <a href="https://zellij.dev/" target="_blank">Zellij</a> will call Neovim and automatically open the project.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,357 @@
<!doctype html>
<html lang="en">
<head>
<title>Using relative line numbers - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="13-using-relative-line-numbers">13. Using relative line numbers</h1>
<p>Your Neovim terminal supports line numbers with the following settings:</p>
<div class="codehilite"><pre><span></span><code>set number
</code></pre></div>
<p>As you get more advanced in Neoim, you will look for ways to move vertically faster. One way to do this is to explicitly specify the line number you want to move to. This is easier with relative line numbers:</p>
<div class="codehilite"><pre><span></span><code><span class="n">set</span><span class="w"> </span><span class="n">number</span>
<span class="n">set</span><span class="w"> </span><span class="n">relativenumber</span>
</code></pre></div>
<p>How does this work? The row the cursor is currently on will be marked as row 0. The rest of the rows above and below will be numbered relative to their distance from row 0. For example, the row directly below the cursor will be row 1. So will the row directly above it. To go to row 1 below, enter the number <code>1 + j</code>. To go to row 1 above, enter the number <code>1 + k</code>.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,328 @@
<!doctype html>
<html lang="en">
<head>
<title>14. Inline Paramaters alernative Neovim - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,386 @@
<!doctype html>
<html lang="en">
<head>
<title>How to copy and paste - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="15-how-to-copy-and-paste">15. How to copy and paste</h1>
<h3 id="copying-a-single-line">Copying a single line</h3>
<p>Navigate to the line you want to copy.</p>
<p>Press yy (two times y). This copies the entire line.</p>
<h3 id="copying-multiple-lines">Copying multiple lines</h3>
<p>Go to the first line you want to copy. </p>
<p>Press V for the visual mode of the lines.</p>
<p>Use the arrow keys or j and k to select rows.</p>
<p>Press y to copy the selected lines.</p>
<h1 id="inserting-text">Inserting text</h1>
<h3 id="inserting-text_1">Inserting text</h3>
<p>Scroll to the location where you want to insert text.</p>
<p>Press p to insert text after the cursor or P to insert text before the cursor.</p>
<h1 id="other-useful-features">Other useful features</h1>
<h3 id="deleting-text">Deleting text</h3>
<p>Scroll to the line you want to delete.</p>
<p>Press dd to delete the entire line.</p>
<h3 id="delete-multiple-lines">Delete multiple lines</h3>
<p>Scroll to the first line you want to delete.</p>
<p>Press V for visual mode of the lines.</p>
<p>Use the arrow keys or j and k to select rows.</p>
<p>Press d to delete the selected rows.</p>
<h3 id="moving-text">Moving text</h3>
<p>Select the text you want to move (for example, use V and j/k).</p>
<p>Press d to delete the selected text (which also copies it to the clipboard).</p>
<p>Navigate to the location where you want to move the text.</p>
<p>Press p or P to paste the text.</p>
<h3 id="using-the-system-clipboard">Using the system clipboard</h3>
<p>Neovim supports integration with the system clipboard, allowing you to copy and paste text between Neovim and other applications.</p>
<p>Copying to the system clipboard
Select the text you want to copy (for example, using V and j/k).</p>
<p>Press "+y to copy the selected text to the system clipboard.
Paste from the system clipboard.</p>
<p>Navigate to the location where you want to paste the text.</p>
<p>Press "+p to paste text from the system clipboard after the cursor or "+P to paste text before the cursor.</p>
<p>Outside of Neovim, use the shortcut <strong>CTRL+V</strong>.</p>
<p>To copy t to Neovim from another application use <strong>SHIFT+CTRL+V</strong>.</p>
<p>These commands and keyboard shortcuts allow you to work efficiently with text in Neovim.</p>
<p>NOTE: in Linux, for proper functionality, I had to install the <strong>xclib</strong> package to copy from Neovim !</p>
<p>These commands and keyboard shortcuts will allow you to work efficiently with text in Neovim.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,360 @@
<!doctype html>
<html lang="en">
<head>
<title>16. How to install the latest version of Neovim on Linux - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="16-how-to-install-the-latest-version-of-neovim-on-linux">16. How to install the latest version of Neovim on Linux</h1>
<p>Not every Linux distribution offers the latest version of Neovim, which is required by some Neovim extensions. It is very easy to install the latest version of Neovim by compiling it from the source code.</p>
<p>We will demonstrate the installation on a RHEL based distribution. On other distributions, step 1 will only be different, depending on whether you use apt, yay, etc.</p>
<h3 id="compiling-from-source">Compiling from source</h3>
<ol>
<li>Install the necessary tools and libraries:</li>
</ol>
<div class="codehilite"><pre><span></span><code>sudo dnf groupinstall &quot;Development Tools&quot;
sudo dnf install cmake gcc gcc-c++ make ninja-build unzip
</code></pre></div>
<ol>
<li>Download the Neovim source code:</li>
</ol>
<div class="codehilite"><pre><span></span><code>git clone https://github.com/neovim/neovim.git
cd neovim
</code></pre></div>
<ol>
<li>Compile Neovim:</li>
</ol>
<div class="codehilite"><pre><span></span><code>make CMAKE_BUILD_TYPE=Release
</code></pre></div>
<ol>
<li>Installing Neovim:</li>
</ol>
<div class="codehilite"><pre><span></span><code>sudo make install
</code></pre></div>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,355 @@
<!doctype html>
<html lang="en">
<head>
<title>How to fix a broken Prettier - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../18.%20Konfigurace%20Lua/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="17-how-to-fix-a-broken-prettier">17. How to fix a broken Prettier</h1>
<p>If Prettier doesn't work and gives you an error, you probably don't have it installed in your project.</p>
<p>In this case you will need to install it in your project.</p>
<p>The fix is simple:</p>
<p>Move to the project in the terminal.</p>
<p>Enter this command to install the necessary things into the project for Prettier to work properly:</p>
<p><code>npm install --save-dev prettier</code></p>
<p>This command should help you with the non-functioning Prettier in Neovi.</p>
<p>For how to work with Prettier in Neovi I recommend visiting GitHub <a href="https://github.com/neoclide/coc-prettier">coc-prettier</a></p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,423 @@
<!doctype html>
<html lang="en">
<head>
<title>Configuring plagin in Lua file - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h3 id="configuring-plagin-in-lua-file">Configuring plagin in Lua file</h3>
<p>Some plugins need to be configured to work. These configurations are done in <a href="https://www.lua.org/" target="_blank">Lua</a>. As a rule, you can find the configuration on GitHub for each plugin, we just need to copy it or modify it according to our preferences and save it in the files where we have Neovim. </p>
<p>We have two options how to save such configuration. Either in the <code>init.vim</code> file or for better clarity in a lua file where each plugin will have its own file.</p>
<h5 id="first-way">First way:</h5>
<p>This is the simpler way of configuring it by adding it to <code>init.vim</code>.</p>
<ol>
<li>In the 'init.vim' file, create the following two tags:</li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="nv">lua</span><span class="w"> </span><span class="o">&lt;&lt;</span><span class="w"> </span><span class="nv">EOF</span>
<span class="nv">EOF</span>
</code></pre></div>
<ol>
<li>And insert the config itself between them, for example as follows:</li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="nv">lua</span><span class="w"> </span><span class="o">&lt;&lt;</span><span class="w"> </span><span class="nv">EOF</span>
<span class="c1">-- nvim-lightbulb setup</span>
<span class="nb">require</span><span class="p">(</span><span class="s1">&#39;nvim-lightbulb&#39;</span><span class="p">).</span><span class="nf">setup</span><span class="p">({</span>
<span class="w"> </span><span class="nv">autocmd</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{</span><span class="w"> </span><span class="nv">enabled</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="w"> </span><span class="p">},</span>
<span class="p">})</span>
<span class="nv">EOF</span>
</code></pre></div>
<p>Next, we add the individual 'lua &lt;&lt; EOF' 'EOF' tags to the subwebs and inject the configurations into them.</p>
<h5 id="second-way">Second way:</h5>
<p>This way is a bit more complicated, but it will help to organize the configuration files and have a better overview.</p>
<ol>
<li>add this line to the 'init.vim' file:</li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="nv">lua</span><span class="w"> </span><span class="nb">require</span><span class="p">(</span><span class="s1">&#39;kankys&#39;</span><span class="p">)</span><span class="w"> </span>
</code></pre></div>
<p>With this, we've imprinted a file into which we will import each configuration.</p>
<ol>
<li>
<p>In the Neovim folder where we have the 'init.vim' file, we create the 'lua' folder.</p>
</li>
<li>
<p>In the 'lua' folder, create a folder with your nickname or whatever you like. In my case I chose 'kankys'.</p>
</li>
</ol>
<p>You should now have this structure: '~/.config/nvim/lua/kankys/'</p>
<ol>
<li>In the 'kankys' folder, create a file:</li>
</ol>
<div class="codehilite"><pre><span></span><code><span class="n">init.lua</span>
</code></pre></div>
<p>We will import the individual configurations into it.</p>
<ol>
<li>We will create a file with the name of the plugin with the lua extension that we want to configure.</li>
</ol>
<p>For example, I will want to configure the plugin 'gitsings'.</p>
<ol>
<li>We will create the file 'gitsings.lua' in the 'kankys' folder. Into it we put the configuration according to the Github instructions for the plugin.</li>
</ol>
<p>The file will then look like this:</p>
<div class="codehilite"><pre><span></span><code><span class="nb">require</span><span class="p">(</span><span class="s1">&#39;gitsigns&#39;</span><span class="p">).</span><span class="nv">setup</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="c1">-- signs config</span>
<span class="w"> </span><span class="nv">current_line_blame</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="kc">true</span><span class="p">,</span>
<span class="w"> </span><span class="nv">current_line_blame_opts</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="p">{</span>
<span class="w"> </span><span class="nv">virt_text_pos</span><span class="w"> </span><span class="o">=</span><span class="w"> </span><span class="s1">&#39;right_align&#39;</span>
<span class="w"> </span><span class="p">}</span>
<span class="p">}</span>
</code></pre></div>
<p>And save it.</p>
<ol>
<li>Send the point to import the configuration into 'init.lua'
We open the file 'init.lua' and paste into it:</li>
</ol>
<div class="codehilite"><pre><span></span><code>require(&#39;kankys/gitsigns&#39;)
</code></pre></div>
<p>And save the file.</p>
<p>This is how we will add more imports to 'init.lua'.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,328 @@
<!doctype html>
<html lang="en">
<head>
<title>19. NERDTree konfigurace a tipy - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,353 @@
<!doctype html>
<html lang="en">
<head>
<title>How to show markdown preview in browser using coc-webview - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class=" active
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../18.%20Konfigurace%20Lua/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="../../../contact/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="20-how-to-show-markdown-preview-in-browser-using-coc-webview">20. How to show markdown preview in browser using coc-webview</h1>
<p>We will need to install <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> package manager to install add-ons to Neovim. using <a href="https://apollonvim.codeberg.page/cz/apollonvim/tutorials/01.%20vimplug/" target="_blank">vim.plug</a></p>
<p>Then we install coc-webview using the command in neovim (SHIFT + : ):</p>
<p><code>cocInstall coc-webview</code></p>
<p>And with the command:</p>
<p><code>CocCommand coc-markdown-preview-enhanced.openPreview</code></p>
<p>Display a real-time preview of your Markdown in a web browser.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,466 @@
<!doctype html>
<html lang="en">
<head>
<title>Hint - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../../assets/css/mkdocs.min.css">
<link href="../../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h3 id="pri-problemech-se-syntaxi-markdown-je-potreba">Při problémech se syntaxi markdown je potřeba:</h3>
<ul>
<li>
<p>PlugVim:
<code>Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}</code></p>
</li>
<li>
<p>Nainstalovat:
<code>:TSInstall markdown</code></p>
</li>
</ul>
<h3 id="autosave">AutoSave</h3>
<ul>
<li>Nainstalovat plugin auto-save.nvim přes plug.vim pomocí následujícího příkazu: </li>
</ul>
<div class="codehilite"><pre><span></span><code>Plug &#39;Pocco81/auto-save.nvim&#39; 
</code></pre></div>
<ul>
<li>Poté nastavit proměnné g:auto_save_enabled a g:auto_save_delay v init.vim takto: </li>
</ul>
<div class="codehilite"><pre><span></span><code>let g:auto_save_enabled = 1 
let g:auto_save_delay = 3000 
</code></pre></div>
<p><a href="https://github.com/Pocco81/auto-save.nvim?tab=readme-ov-file">https://github.com/Pocco81/auto-save.nvim?tab=readme-ov-file</a> </p>
<ul>
<li>Autosave nefunguje v PowerShell</li>
</ul>
<h3 id="colorscheme-automaticke-spousteni">Colorscheme automatické spouštění</h3>
<ul>
<li>
<p>Takto nastavím vybrané colorscheme že se automaticky spustí při startu: </p>
</li>
<li>
<p>Nastavení do init.vim :</p>
</li>
</ul>
<div class="codehilite"><pre><span></span><code>colorscheme dracula 
autocmd VimEnter * colorscheme dracula
</code></pre></div>
<h3 id="kde-najdu-init-vim-a-data-neovim">Kde najdu init vim a data Neovim?</h3>
<ul>
<li>Linux a MacOS</li>
</ul>
<div class="codehilite"><pre><span></span><code>/home/user/.config/nvim/init.vim
</code></pre></div>
<ul>
<li>Windows</li>
</ul>
<div class="codehilite"><pre><span></span><code>/home/kankys/.local/share/nvim/ (data)
/home/kankys/.local/state/nvim/ (data)
</code></pre></div>
<h3 id="vkladani-z-externich-zdroju">Vkládání z externích zdrojů</h3>
<p>V Neovim (a také v klasickém Vim) můžete kopírovat text z externích zdrojů, například z webové stránky, pomocí několika různých metod. Zde jsou dvě možnosti:</p>
<h3 id="prime-kopirovani-z-externi-aplikace"><strong>Přímé kopírování z externí aplikace:</strong></h3>
<ol>
<li>
<p><strong>Zkopírujte text:</strong></p>
<ul>
<li>Otevřete webový prohlížeč a vyberte text, který chcete zkopírovat.</li>
<li>Stiskněte <code>Ctrl+C</code> (nebo <code>Cmd+C</code> na macOS) pro kopírování.</li>
<li>
<p><strong>Přepnutí do režimu vkládání v Neovimu (režim insert ):</strong></p>
</li>
<li>
<p>Otevřete neovim a načtěte soubor.</p>
</li>
<li>Přepněte se do režimu vkládání stisknutím klávesy <code>i</code>.</li>
<li>
<p><strong>Vložte text:</strong></p>
</li>
<li>
<p>Stiskněte <code>Ctrl+Shift+V</code> (nebo <code>Cmd+Shift+V</code> na macOS) pro vložení textu do Neovimu.</p>
</li>
</ul>
</li>
</ol>
<h1 id="default-klavesove-zkratky">Default klávesové zkratky</h1>
<p>Neovim je moderní verze Vim, textového editoru používaného v unixových systémech. Zde jsou některé klávesové zkratky pro práci s Neovim:</p>
<h3 id="zakladni-pohyb">Základní pohyb:</h3>
<ul>
<li><code>h</code> - Pohyb vlevo</li>
<li><code>j</code> - Pohyb dolů</li>
<li><code>k</code> - Pohyb nahoru</li>
<li><code>l</code> - Pohyb vpravo</li>
<li><code>w</code> - Přesun na začátek dalšího slova</li>
<li><code>b</code> - Přesun na začátek předchozího slova</li>
<li><code>gg</code> - Přesun na začátek dokumentu</li>
<li><code>G</code> - Přesun na konec dokumentu</li>
</ul>
<h3 id="visualni-mod">Visuální mód:</h3>
<p>Do něj se přepnu v Normal módu pomocí <code>v</code> pohybem kde byl kurzor mohu označovat text.</p>
<h3 id="normalni-mod-normal">Normální mód - NORMAL:</h3>
<p>Do normál módu se z jiných přesunu pomocí <code>ESC</code>
- <code>i</code> - Přepnutí do režimu vkládání před kurzor
- <code>I</code> - Přepnutí do režimu vkládání na začátek řádku
- <code>a</code> - Přepnutí do režimu vkládání za kurzor
- <code>A</code> - Přepnutí do režimu vkládání na konec řádku
- <code>o</code> - Vložení nového řádku pod aktuálním řádkem
- <code>O</code> - Vložení nového řádku nad aktuálním řádkem
- <code>dd</code> - Smazání řádku
- <code>dw</code> - Smazání slova
- <code>yy</code> - Kopírování řádku
- <code>p</code> - Vložení obsahu schránky pod kurzor
- <code>P</code> - Vložení obsahu schránky před kurzor
- <code>u</code> - Vrácení poslední provedené akce
- <code>Ctrl + r</code> - Krok do předu opak <code>u</code>
- <code>q</code> - Zavře okno
- <code>.</code> - Poslední příkaz
- <code>Ctrl + w</code> - Přepínání oken</p>
<h3 id="command-mod">Command mód:</h3>
<p>Command mód vyvoláme pomocí <code>Shift + :</code>
- <code>:e + jméno souboru</code> - Vytvoří nový soubor - <code>:e index.html</code>
- <code>:w</code> - Uložení změn
- <code>:q</code> - Opuštění editoru
- <code>:wq</code> - Uložení změn a opuštění
- <code>:q!</code> - Opuštění editoru bez ukládání změn
- <code>:vs</code> - Vertikální rozložení oken
- <code>:sp</code> - Horizontální rozložení oken
- <code>:colorscheme</code> - Změní theme
- <code>:term</code> - Otevře terminál</p>
<h3 id="vyhledavani-a-nahrazovani">Vyhledávání a nahrazování:</h3>
<ul>
<li><code>/hledany_text</code> - Vyhledání textu</li>
<li><code>n</code> - Přeskočení na další výskyt hledaného textu</li>
<li><code>N</code> - Přeskočení na předchozí výskyt hledaného textu</li>
<li><code>:s/hledany_text/nahrazeny_text/g</code> - Nahrazení hledaného textu za zadaný text v celém dokumentu</li>
</ul>
<h3 id="ruzne">Různé:</h3>
<ul>
<li><code>Ctrl + r</code> - Opětovné provedení zrušené akce</li>
<li><code>:help</code> - Zobrazení nápovědy</li>
</ul></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../../..';</script>
<script src="../../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../../assets/js/mkdocs.js"></script>
<script src="../../../javascripts/extra.js" defer></script>
<script src="../../../search/main.js" defer></script>
</body>
</html>

View File

@@ -0,0 +1,18 @@
coc-todolist
coc-tailwindcss
coc-project-manager
coc-prettier
coc-marketplace
coc-json
coc-html-css-support
coc-html
coc-emmet
coc-xml
coc-tsserver
coc-lsp-wl
coc-lit-html
coc-htmldjango
coc-css
coc-markdown-preview-enhanced
coc-markdownlint
coc-eslint

View File

@@ -0,0 +1,328 @@
<!doctype html>
<html lang="en">
<head>
<title>Tutorials - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../../assets/css/mkdocs.min.css">
<link href="../../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="../.."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '../..';</script>
<script src="../../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../../assets/js/bootstrap.bundle.min.js"></script>
<script src="../../assets/js/mkdocs.js"></script>
<script src="../../javascripts/extra.js" defer></script>
<script src="../../search/main.js" defer></script>
</body>
</html>

6
en/assets/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.hljs-meta .hljs-keyword,.hljs-meta-keyword,.hljs-strong{font-weight:700}pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{color:#a9b7c6;background:var(--black)}.hljs ::selection,.hljs::selection{background-color:#323232;color:#a9b7c6}.hljs-comment{color:#606366}.hljs-tag{color:#a4a3a3}.hljs-operator,.hljs-punctuation,.hljs-subst{color:#a9b7c6}.hljs-operator{opacity:.7}.hljs-bullet,.hljs-deletion,.hljs-name,.hljs-selector-tag,.hljs-template-variable,.hljs-variable{color:#4eade5}.hljs-attr,.hljs-link,.hljs-literal,.hljs-number,.hljs-symbol,.hljs-variable.constant_{color:#689757}.hljs-class .hljs-title,.hljs-strong,.hljs-title,.hljs-title.class_{color:#bbb529}.hljs-addition,.hljs-code,.hljs-string,.hljs-title.class_.inherited__{color:#6a8759}.hljs-built_in,.hljs-doctag,.hljs-keyword.hljs-atrule,.hljs-quote,.hljs-regexp{color:#629755}.hljs-attribute,.hljs-function .hljs-title,.hljs-section,.hljs-title.function_,.ruby .hljs-property{color:#9876aa}.diff .hljs-meta,.hljs-keyword,.hljs-template-tag,.hljs-type{color:#cc7832}.hljs-emphasis{color:#cc7832;font-style:italic}.hljs-meta,.hljs-meta .hljs-keyword,.hljs-meta .hljs-string{color:grey}

File diff suppressed because one or more lines are too long

1
en/assets/css/dracula-ui.min.css vendored Normal file

File diff suppressed because one or more lines are too long

1
en/assets/css/mkdocs.min.css vendored Normal file

File diff suppressed because one or more lines are too long

BIN
en/assets/img/dracula.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 147 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 11 KiB

BIN
en/assets/img/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 25 KiB

7
en/assets/js/bootstrap.bundle.min.js vendored Normal file

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

2
en/assets/js/jquery-3.3.1.slim.min.js vendored Normal file

File diff suppressed because one or more lines are too long

1
en/assets/js/mkdocs.js Normal file
View File

@@ -0,0 +1 @@
!function(i){"use strict";i(".js-fullheight").css("height",i(window).height()),i(window).resize(function(){i(".js-fullheight").css("height",i(window).height())}),i("#sidebarCollapse").on("click",function(){i("#sidebar").toggleClass("active")})}(jQuery);

363
en/contact/index.html Normal file
View File

@@ -0,0 +1,363 @@
<!doctype html>
<html lang="en">
<head>
<title>📪 Contact - 🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="../assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="../assets/css/bootstrap.min.css">
<link rel="stylesheet" href="../assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="../assets/css/mkdocs.min.css">
<link href="../style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="../assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href=".."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="../apollonvim/installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="../apollonvim/plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href=".."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="../apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a href="../apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a
class="btn-preview drac-btn drac-text-white--hover disabled" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h3 id="contact">Contact:</h3>
<ul>
<li>👉 <a href="https://t.me/apollonvim" target="_blank">🚀 ApolloNvim Telegram</a></li>
<li>👉 <a href="https://lukaskanka.cz/" target="_blank">Author's personal website 🚀 ApolloNvim </a></li>
</ul>
<h3 id="support">Support:</h3>
<ul>
<li>👉 If in any way you want to support or contribute to the content and functionality of 🚀 ApolloNvim, I'd be happy to hear from you.</li>
<li>👉 You can also support this project with a few Satoshi:</li>
</ul>
<p><img alt="SAT" src="https://lukan.cz/wp-content/uploads/2025/01/0a895d16-ce64-4e8a-9a9d-05c568dc916e_1124x1532-220x300.webp" /></p>
<h3 id="more-projects-and-links">More projects and links:</h3>
<ul>
<li>👉 <a href="https://arch-linux.cz/" target="_blank">ArchLinux CZ</a></li>
<li>👉 <a href="https://searxng.cz/" target="_blank">Vyhledávač SearXNG CZ</a></li>
<li>👉 <a href="https://endeavouros.cz/" target="_blank">EndeavourOS Linux</a></li>
</ul>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '..';</script>
<script src="../assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="../assets/js/bootstrap.bundle.min.js"></script>
<script src="../assets/js/mkdocs.js"></script>
<script src="../javascripts/extra.js" defer></script>
<script src="../search/main.js" defer></script>
</body>
</html>

BIN
en/img/apollonvim.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 KiB

377
en/index.html Normal file
View File

@@ -0,0 +1,377 @@
<!doctype html>
<html lang="en">
<head>
<title>🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="ApolloNvim freedom in programming....">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="assets/css/mkdocs.min.css">
<link href="style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="."
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="apollonvim/installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="apollonvim/plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
<div class="container">
<div class="row row-preview">
<div class="col">
<a
class="btn-preview drac-btn drac-text-white--hover disabled">
<i class="fa fa-arrow-left"></i> Previous
</a>
</div>
<div class="col">
<a href="apollonvim/installation/"
class="btn-preview drac-btn drac-btn-outline drac-text-white drac-text-cyan-green--hover" style="padding-left: 3%;">
Next <i class="fa fa-arrow-right"></i>
</a>
</div>
</div>
</div>
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="./search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 section-content">
<article>
<p><h1 id="apollonvim">🚀 ApolloNvim</h1>
<h4 id="verzion-2501">Verzion: 25.01</h4>
<h4 id="web-v-cestine-najdes-po-kliknuti-na-tento-odkaz"><a href="https://apollonvim.codeberg.page/cz/">🇨🇿 Web v Češtině najdeš po kliknutí na tento odkaz 🇨🇿</a></h4>
<p><a href="https://codeberg.org/ApolloNvim" target="_blank">Project repository</a></p>
<h2 id="programming-is-much-more-fun-when-you-are-efficient-neovim-can-get-you-there-eventually-but-you-have-to-be-willing-to-try-new-things-new-plugins-new-remaps-etc">Programming is much more fun when you are efficient. Neovim can get you there eventually, but you have to be willing to try new things. New plugins, new remaps, etc.</h2>
<h2 id="tutorials">Tutorials:</h2>
<p>👉 Neovim setup for Front-End development based on <a href="https://github.com/junegunn/vim-plug" target="_blank">Plug.vim</a>, <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> and <a href="https://neovim.io/doc/user/lua-guide.html" target="_blank">Lua</a>.</p>
<p>👉 The advantages of Neovim over a classic IDE are undeniable in the freedom of configuration, there are thousands of possibilities how your Neovim can look and work. For your inspiration and use this project was created 🚀 ApolloNvim.</p>
<p>👉 This distribution doesn't just work by clicking a button and installing. It will lead you to a separate installation using this site. The goal is to understand how Neovim works so you can modify everything yourself, which even click-on distributions don't teach you.</p>
<p>👉 Two Editions 🚀ApolloNvim Starter for scaled to work with text thanks to markdown support and FrontEnd Edition focused on web development.</p>
<p>👉 This setting is primarily for web development. I was inspired by the plugins I used in VSCode and Webstorm.</p>
<p>👉 In October 2024, PHP support was newly added as well as Automatic pugin installation.</p>
<p>👉 Great emphasis is placed on speed and lightness.</p>
<p>👉 🚀 ApolloNvim Distro is regularly updated and so is the whole project.</p>
<p>👉 For the best experience with 🚀 ApolloNvim Distro, I recommend using <a href="https://git.arch-linux.cz/kankys/zellij-mySetup" target="_blank">Zellij</a> or <a href="https://gnome-terminator.org/" target="_blank">Terminator</a>, multiplexor, but it's not a requirement of course.</p>
<p><img alt="ApolloNvim" src="img/apollonvim.jpg" /></p>
<h2 id="advantages">Advantages:</h2>
<p>👉 The main advantages of this setup are support for Codeium, a free alternative to Copilot, Prettier, AutoSave, HTML, CSS, JS dipping and shortcuts to comment and uncomment code (CTRL + k). There are also several plugins to make working in Neovi more enjoyable.</p>
<p>👉 With <a href="https://github.com/neovim/nvim-lspconfig" target="_blank">LSP</a> in this installation I use <a href="https://github.com/neoclide/coc.nvim" target="_blank">Coc</a> for its simplicity, stability and speed.</p>
<p>👉 The best themes for Neovim (so you don't have to search for them) is the default Dracula.</p>
<p>👉 To change the theme in Neovi, simply use the <code>:colorscheme</code> command in the command line and use the Tab button to switch between themes.</p>
<h2 id="plan-apollonvim">Plan 🚀ApolloNvim:</h2>
<p>👉 You can expect these new features and more in the future:</p>
<p>👉 Installer 🚀 ApolloNvim via link from Git.</p>
<p>👉 New custom welcome screen.</p>
<p>👉 New plugins.
👉 Tutorials on plugins, how to set them up and how to work with them.</p>
<p>👉 Instructions for working with Neovim.</p>
<h2 id="questions-and-answers">Questions and Answers:</h2>
<p>👉 How much does ApolloNvim cost? -&gt; Nothing 🚀 ApolloNvim is free.</p>
<p>👉 How complicated is 🚀 ApolloNvim? -&gt; 🚀 ApolloNvim may be more complicated than other editors, but once you learn how to use it, you'll see how great it is.</p>
<div style="text-align: center;">
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
</div></p>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '.';</script>
<script src="assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="assets/js/bootstrap.bundle.min.js"></script>
<script src="assets/js/mkdocs.js"></script>
<script src="javascripts/extra.js" defer></script>
<script src="search/main.js" defer></script>
</body>
</html>

342
en/search.html Normal file
View File

@@ -0,0 +1,342 @@
<!doctype html>
<html lang="en">
<head>
<title>🚀 ApolloNvim</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" href="./assets/css/darcula-highlight.min.css">
<link rel="stylesheet" href="./assets/css/bootstrap.min.css">
<link rel="stylesheet" href="./assets/css/dracula-ui.min.css">
<link rel="stylesheet" href="./assets/css/mkdocs.min.css">
<link href="./style/style.css" rel="stylesheet">
<link rel="icon" type="image/x-icon" href="./assets/img/favicon.ico">
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/10.5.0/highlight.min.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
</head>
<body class="drac-bg-black-secondary drac-text-grey-ternary drac-text drac-scrollbar-purple">
<main class="d-flex">
<!-- block sidebar -->
<nav id="sidebar" class="sidebar drac-bg-black">
<div class="custom-menu">
<button type="button" id="sidebarCollapse" class="btn btn-primary">
<i class="fa fa-bars"></i>
<span class="sr-only">Menu</span>
</button>
</div>
<div class="p-4">
<div class="drac-text-center">
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
</div>
<div class="drac-box flex-column">
<ul class="dot-ul">
<li><div class="dot-li drac-bg-cyan"></div></li>
<li><div class="dot-li drac-bg-green"></div></li>
<li><div class="dot-li drac-bg-orange"></div></li>
<li><div class="dot-li drac-bg-pink"></div></li>
<li><div class="dot-li drac-bg-purple"></div></li>
<li><div class="dot-li drac-bg-red"></div></li>
<li><div class="dot-li drac-bg-yellow"></div></li>
</ul>
</div>
<hr class="drac-divider" />
<!-- block menu -->
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box">
<a href="./."
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🏘 Home
</a>
</li>
<li class="drac-box">
<a href="./apollonvim/installation/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🛠 Installation
</a>
</li>
<li class="drac-box">
<a href="./apollonvim/plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
🗄 Plugins
</a>
</li>
<li class="drac-box">
<a href="./."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
</a>
<div class="collapse" id="📑-tutorials-collapse">
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/01.%20vimplug/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install vim.plug into Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/02.%20keyshortcuts/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Default keyboard shortcuts
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/03.%20Jak%20nainstalovat%20Codeium%20do%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to install Codeium on Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/04.%20Jak%20nainstalovat%20Telescope%20do%20editoru%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Telescope
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/05.%20Barevn%C3%A9%20sch%C3%A9ma/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Color scheme
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/06.%20Autosave/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Automatic saving
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/07.%20Kop%C3%ADrov%C3%A1n%C3%AD%20a%20Vkl%C3%A1d%C3%A1n%C3%AD%20do%20a%20z%20Neovim%20z%20extern%C3%ADch%20zdroj%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Copying and Pasting to and from Neovim from external sources
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/08.%20Markdown_syntax/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Markdown_syntax
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/09.%20init.vim%20z%C3%A1kladn%C3%AD%20nastaven%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
init.vim basic settings
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/10.%20vim-fugitive%20ovl%C3%A1dni%20Git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
vim-fugitive
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/11.%20Gitsigns%20drobn%C3%A9%20vylep%C5%A1en%C3%AD%20git%20v%20Neovim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Gitsigns minor improvements to git in Neovim
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/12.%20Je%C5%A1t%C4%9B%20lep%C5%A1%C3%AD%20Neovim%20s%20Zellij%20termin%C3%A1lov%C3%BDm%20multiplexorem/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Even better Neovim with Zellij terminal multiplexer
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/13.%20Pou%C5%BE%C3%ADv%C3%A1n%C3%AD%20relativn%C3%ADch%20%C4%8D%C3%ADsel%20%C5%99%C3%A1dk%C5%AF/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Using relative line numbers
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/15.%20Jak%20na%20kop%C3%ADrov%C3%A1n%C3%AD%20a%20vkl%C3%A1d%C3%A1n%C3%AD/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to copy and paste
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/17.%20Jak%20opravit%20nefunk%C4%8Dn%C3%AD%20Prettier/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to fix a broken Prettier
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/18.%20Konfigurace%20Lua/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
Configuring plagin in Lua file
</a>
</li>
<li class="drac-box-ternary">
<a href="./apollonvim/tutorials/20.%20N%C3%A1hledy%20markdown%20v%20nvim/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
How to show markdown preview in browser using coc-webview
</a>
</li>
</ul>
</div>
</li>
<li class="drac-box">
<a href="./contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
📪 Contact
</a>
</li>
</ul>
<!-- endblock -->
</div>
</nav>
<!-- endblock -->
<nav class="divider drac-bg-purple-cyan"></nav>
<div class="content">
<!-- block header -->
<header>
<nav class="navbar navbar-expand-xl drac-bg-purple">
<div class="container-fluid">
<button class="navbar-toggler w-100 text-center" type="button" data-bs-toggle="collapse" data-bs-target="#navbarsMenu"
aria-controls="navbarsMenu" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse flex-column ml-auto" id="navbarsMenu">
<ul class="navbar-nav text-md-center">
<!-- block preview -->
<li class="nav-item">
</li>
<!-- endblock -->
<!-- block search -->
<li class="nav-item"><div role="search" class="search-box">
<form id="rtd-search-form" class="wy-form" action="./search.html" method="get">
<input type="text" name="q" class="drac-input drac-input-search drac-input-white drac-text-white drac-bg-black-secondary"
placeholder="Search docs" title="Type search term here" />
</form>
</div>
</li>
<!-- endblock -->
<!-- block source -->
<li class="nav-item">
</li>
<!-- endblock -->
</ul>
</div>
</div>
</nav>
</header>
<!-- endblock -->
<!-- block content -->
<section class="p-md-5 content-search">
<article>
<p></p>
<h1 id="search">Search Results</h1>
<hr>
<form id="content_search" action="search.html">
<span role="status" aria-live="polite" class="ui-helper-hidden-accessible"></span>
<input name="q" id="mkdocs-search-query" type="text" class="drac-input drac-input-purple drac-text-white search_input search-query ui-autocomplete-input"
placeholder="Search the Docs" autocomplete="off" autofocus title="Type search term here">
</form>
<div id="mkdocs-search-results" class="search-results" data-no-results-text="No results found">
Searching...
</div>
</article>
</section>
<!-- endblock -->
<!-- block footer -->
<footer>
<div class="d-flex flex-sm-row justify-content-between py-2 border-top drac-text-black drac-bg-cyan-green">
<a href="https://github.com/dracula/mkdocs" target="_blank" style="padding-left: 1%;"
class="footer-text drac-anchor drac-text-black drac-text-purple--hover">
Made with Dracula Theme for MkDocs
</a>
</div>
</footer>
<!-- endblock -->
</div>
</main>
<script>var base_url = '.';</script>
<script src="./assets/js/jquery-3.3.1.slim.min.js"></script>
<script src="./assets/js/bootstrap.bundle.min.js"></script>
<script src="./assets/js/mkdocs.js"></script>
<script src="./javascripts/extra.js" defer></script>
<script src="./search/main.js" defer></script>
</body>
</html>

3475
en/search/lunr.js Normal file

File diff suppressed because it is too large Load Diff

109
en/search/main.js Normal file
View File

@@ -0,0 +1,109 @@
function getSearchTermFromLocation() {
var sPageURL = window.location.search.substring(1);
var sURLVariables = sPageURL.split('&');
for (var i = 0; i < sURLVariables.length; i++) {
var sParameterName = sURLVariables[i].split('=');
if (sParameterName[0] == 'q') {
return decodeURIComponent(sParameterName[1].replace(/\+/g, '%20'));
}
}
}
function joinUrl (base, path) {
if (path.substring(0, 1) === "/") {
// path starts with `/`. Thus it is absolute.
return path;
}
if (base.substring(base.length-1) === "/") {
// base ends with `/`
return base + path;
}
return base + "/" + path;
}
function escapeHtml (value) {
return value.replace(/&/g, '&amp;')
.replace(/"/g, '&quot;')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;');
}
function formatResult (location, title, summary) {
return '<article><h3><a href="' + joinUrl(base_url, location) + '">'+ escapeHtml(title) + '</a></h3><p>' + escapeHtml(summary) +'</p></article>';
}
function displayResults (results) {
var search_results = document.getElementById("mkdocs-search-results");
while (search_results.firstChild) {
search_results.removeChild(search_results.firstChild);
}
if (results.length > 0){
for (var i=0; i < results.length; i++){
var result = results[i];
var html = formatResult(result.location, result.title, result.summary);
search_results.insertAdjacentHTML('beforeend', html);
}
} else {
var noResultsText = search_results.getAttribute('data-no-results-text');
if (!noResultsText) {
noResultsText = "No results found";
}
search_results.insertAdjacentHTML('beforeend', '<p>' + noResultsText + '</p>');
}
}
function doSearch () {
var query = document.getElementById('mkdocs-search-query').value;
if (query.length > min_search_length) {
if (!window.Worker) {
displayResults(search(query));
} else {
searchWorker.postMessage({query: query});
}
} else {
// Clear results for short queries
displayResults([]);
}
}
function initSearch () {
var search_input = document.getElementById('mkdocs-search-query');
if (search_input) {
search_input.addEventListener("keyup", doSearch);
}
var term = getSearchTermFromLocation();
if (term) {
search_input.value = term;
doSearch();
}
}
function onWorkerMessage (e) {
if (e.data.allowSearch) {
initSearch();
} else if (e.data.results) {
var results = e.data.results;
displayResults(results);
} else if (e.data.config) {
min_search_length = e.data.config.min_search_length-1;
}
}
if (!window.Worker) {
console.log('Web Worker API not supported');
// load index in main thread
$.getScript(joinUrl(base_url, "search/worker.js")).done(function () {
console.log('Loaded worker');
init();
window.postMessage = function (msg) {
onWorkerMessage({data: msg});
};
}).fail(function (jqxhr, settings, exception) {
console.error('Could not load worker.js');
});
} else {
// Wrap search in a web worker
var searchWorker = new Worker(joinUrl(base_url, "search/worker.js"));
searchWorker.postMessage({init: true});
searchWorker.onmessage = onWorkerMessage;
}

File diff suppressed because one or more lines are too long

133
en/search/worker.js Normal file
View File

@@ -0,0 +1,133 @@
var base_path = 'function' === typeof importScripts ? '.' : '/search/';
var allowSearch = false;
var index;
var documents = {};
var lang = ['en'];
var data;
function getScript(script, callback) {
console.log('Loading script: ' + script);
$.getScript(base_path + script).done(function () {
callback();
}).fail(function (jqxhr, settings, exception) {
console.log('Error: ' + exception);
});
}
function getScriptsInOrder(scripts, callback) {
if (scripts.length === 0) {
callback();
return;
}
getScript(scripts[0], function() {
getScriptsInOrder(scripts.slice(1), callback);
});
}
function loadScripts(urls, callback) {
if( 'function' === typeof importScripts ) {
importScripts.apply(null, urls);
callback();
} else {
getScriptsInOrder(urls, callback);
}
}
function onJSONLoaded () {
data = JSON.parse(this.responseText);
var scriptsToLoad = ['lunr.js'];
if (data.config && data.config.lang && data.config.lang.length) {
lang = data.config.lang;
}
if (lang.length > 1 || lang[0] !== "en") {
scriptsToLoad.push('lunr.stemmer.support.js');
if (lang.length > 1) {
scriptsToLoad.push('lunr.multi.js');
}
if (lang.includes("ja") || lang.includes("jp")) {
scriptsToLoad.push('tinyseg.js');
}
for (var i=0; i < lang.length; i++) {
if (lang[i] != 'en') {
scriptsToLoad.push(['lunr', lang[i], 'js'].join('.'));
}
}
}
loadScripts(scriptsToLoad, onScriptsLoaded);
}
function onScriptsLoaded () {
console.log('All search scripts loaded, building Lunr index...');
if (data.config && data.config.separator && data.config.separator.length) {
lunr.tokenizer.separator = new RegExp(data.config.separator);
}
if (data.index) {
index = lunr.Index.load(data.index);
data.docs.forEach(function (doc) {
documents[doc.location] = doc;
});
console.log('Lunr pre-built index loaded, search ready');
} else {
index = lunr(function () {
if (lang.length === 1 && lang[0] !== "en" && lunr[lang[0]]) {
this.use(lunr[lang[0]]);
} else if (lang.length > 1) {
this.use(lunr.multiLanguage.apply(null, lang)); // spread operator not supported in all browsers: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Spread_operator#Browser_compatibility
}
this.field('title');
this.field('text');
this.ref('location');
for (var i=0; i < data.docs.length; i++) {
var doc = data.docs[i];
this.add(doc);
documents[doc.location] = doc;
}
});
console.log('Lunr index built, search ready');
}
allowSearch = true;
postMessage({config: data.config});
postMessage({allowSearch: allowSearch});
}
function init () {
var oReq = new XMLHttpRequest();
oReq.addEventListener("load", onJSONLoaded);
var index_path = base_path + '/search_index.json';
if( 'function' === typeof importScripts ){
index_path = 'search_index.json';
}
oReq.open("GET", index_path);
oReq.send();
}
function search (query) {
if (!allowSearch) {
console.error('Assets for search still loading');
return;
}
var resultDocuments = [];
var results = index.search(query);
for (var i=0; i < results.length; i++){
var result = results[i];
doc = documents[result.ref];
doc.summary = doc.text.substring(0, 200);
resultDocuments.push(doc);
}
return resultDocuments;
}
if( 'function' === typeof importScripts ) {
onmessage = function (e) {
if (e.data.init) {
init();
} else if (e.data.query) {
postMessage({ results: search(e.data.query) });
} else {
console.error("Worker - Unrecognized message: " + e);
}
};
}

3
en/sitemap.xml Normal file
View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
</urlset>

Some files were not shown because too many files have changed in this diff Show More