411 lines
19 KiB
HTML
Raw Normal View History

2025-02-04 22:44:30 +01:00
<!doctype html>
<html lang="en">
<head>
2025-02-05 19:05:58 +01:00
<title>🛠 Installation - 🚀 ApolloNvim</title>
2025-02-04 22:44:30 +01:00
<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">
2025-02-05 19:05:58 +01:00
<link href="../../style/style.css" rel="stylesheet">
2025-02-04 22:44:30 +01:00
<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">
2025-02-05 19:05:58 +01:00
<span class="drac-text drac-line-height drac-text-white">🚀 ApolloNvim</span>
2025-02-04 22:44:30 +01:00
</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">
2025-02-05 19:05:58 +01:00
🏘 Home
2025-02-04 22:44:30 +01:00
</a>
</li>
<li class="drac-box">
<a href="./"
class=" active
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
2025-02-05 19:05:58 +01:00
🛠 Installation
2025-02-04 22:44:30 +01:00
</a>
</li>
<li class="drac-box">
<a href="../plugins/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
2025-02-05 19:05:58 +01:00
🗄 Plugins
2025-02-04 22:44:30 +01:00
</a>
</li>
2025-02-05 17:48:02 +01:00
<li class="drac-box">
<a href="../.."
class="
drac-anchor btn-toggle d-inline-flex align-items-center border-0 drac-text-purple--hover collapsed"
2025-02-05 19:05:58 +01:00
data-bs-toggle="collapse" data-bs-target="#📑-tutorials-collapse" aria-expanded="false">
📑 Tutorials
2025-02-05 17:48:02 +01:00
</a>
2025-02-05 19:05:58 +01:00
<div class="collapse" id="📑-tutorials-collapse">
2025-02-05 17:48:02 +01:00
<ul class="mb-5 drac-list drac-list-none">
<li class="drac-box-ternary">
2025-02-05 19:05:58 +01:00
<a href="../tutorials/01.%20vimplug/"
2025-02-05 17:48:02 +01:00
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
2025-02-05 19:05:58 +01:00
How to install vim.plug into Neovim
2025-02-05 17:48:02 +01:00
</a>
</li>
2025-02-05 18:12:04 +01:00
<li class="drac-box-ternary">
2025-02-05 19:05:58 +01:00
<a href="../tutorials/02.%20keyshortcuts/"
2025-02-05 18:12:04 +01:00
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
2025-02-05 19:05:58 +01:00
Default keyboard shortcuts
2025-02-05 18:12:04 +01:00
</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">
2025-02-05 19:05:58 +01:00
How to install Codeium on Neovim
2025-02-05 19:03:46 +01:00
</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">
2025-02-05 19:05:58 +01:00
Telescope
2025-02-05 18:12:04 +01:00
</a>
</li>
2025-02-06 22:12:19 +01:00
<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>
2025-02-05 17:48:02 +01:00
</ul>
</div>
</li>
2025-02-04 22:44:30 +01:00
<li class="drac-box">
<a href="../../contact/"
class="
drac-anchor d-inline-flex align-items-center border-0 drac-text-purple--hover">
2025-02-05 19:05:58 +01:00
📪 Contact
2025-02-04 22:44:30 +01:00
</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>
2025-02-05 19:05:58 +01:00
<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>
2025-02-06 22:12:19 +01:00
<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>
2025-02-05 19:05:58 +01:00
<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>
2025-02-04 22:44:30 +01:00
<p>Windows:</p>
2025-02-05 19:05:58 +01:00
<p><code>~\AppData\Local\nvim</code></p>
2025-02-04 22:44:30 +01:00
<h3 id="neovim">Neovim:</h3>
2025-02-05 19:05:58 +01:00
<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>
2025-02-04 22:44:30 +01:00
<p>Linux &amp; Mac:</p>
2025-02-05 19:05:58 +01:00
<p><code>/home/user/.config/nvim/init.vim</code></p>
2025-02-04 22:44:30 +01:00
<p>Windows:</p>
2025-02-06 22:12:19 +01:00
<p><code>~\AppData\Local\nvim</code></p>
2025-02-04 22:44:30 +01:00
<h3 id="nodejs">Node.js:</h3>
2025-02-05 19:05:58 +01:00
<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>
2025-02-04 22:44:30 +01:00
<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>
2025-02-05 19:05:58 +01:00
<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>
2025-02-04 23:00:46 +01:00
<div style="text-align: center;">
2025-02-06 22:12:19 +01:00
Copyright © 2024 - 2025 🚀 ApolloNvim / Lukáš Kaňka
2025-02-04 23:00:46 +01:00
</div></p>
2025-02-04 22:44:30 +01:00
</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>