ApolloNvim/README-ENGLISH.md
2024-10-17 10:38:14 +02:00

12 KiB

Lite 🚀 ApolloNvim Distro 2024 - Front-End Power

Verzion: 24.10

ApolloNvim

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.

Introduction:

  • 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 process or something is not clear, you'd better check the documentation, write to us or find the answer on the forums. So always back up everything before you change it!
  • 👉 Neovim setup for front-end development based on Coc a Lua.
  • 👉 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.
  • 👉 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.
  • 👉 I made this setup for web development. I was inspired by the plugins I used in VSCode and Webstorm.
  • 👉 New PHP support was added in October.
  • 👉 Great emphasis is placed on speed and lightness.
  • 👉 🚀 ApolloNvim Distro is regularly updated and so is the whole project.
  • 👉 For the best experience with 🚀 ApolloNvim Distro I recommend using multiplexor Zellij, but it's not a requirement, of course.

Advantages:

  • 👉 The main advantages of this setup are the support of Codeium alternative to Copilot for free, Prettier, AutoSave, HTML, CSS, JS and shortcuts to comment and uncomment code. There are also several plugins to make working in Neovi more enjoyable.
  • 👉 With LSP in this installation, I use Coc for its simplicity without the need to intervene in the Coc configuration. LSP has been very useful in my Helix modal editor to configure Helixu.
  • 👉 The best themes for Neovim (so you don't have to search for them), is Dracula by default.
  • 👉 To change the theme in Neovi, simply use the colorscheme command in the command line and the Tab button to switch between themes.

Plugins 🚀 ApolloNvim Distro 2024:

  • 👉 Autoclosetag tool for closing all types of brackets and tags.
  • 👉 Coc manager for installing add-ons to Neovim.
  • 👉 Prettier code alignment plugin.
  • 👉 html5.vim plugin for HTML syntax highlighting.
  • 👉 NERDTree creates a tree sidebar for you.
  • 👉 Codeium alternative to GitHub Copilot, which you can also easily install.
  • 👉 Startify an alternative welcome screen with a different IT theme each time. May not work with some terminals or NERDTree set to start after boot.
  • 👉 NERD Commenter plugin for commenting and uncommenting code in NORMAL mode. Here we have it set to Ctrl + k.
  • 👉 Wakatime a service that is able to measure how much time you spent coding on your pc and also on which project. WakaTime can be found at here.
  • 👉 Auto-save plugin for automatic saving, after switching from INSERT to NORMAL mode.
  • 👉 Tree-sitter plugin for code highlighting.
  • 👉 Hlchunk propojí kód vertikálními lajny..
  • 👉 Vim-Fugitive plugin for git.
  • 👉 Colorizer plugin for color preview by code designation.
  • 👉 Vim - javascript plugin for support javascript.
  • 👉 NVIM-CMP toolkit for better control comfort nvim. Such as help, command completion and much more.
  • In this set you will find the following plugins:
  • Plug 'neovim/nvim-lspconfig'
  • Plug 'hrsh7th/nvim-cmp'
  • Plug 'hrsh7th/cmp-nvim-lsp'
  • Plug 'hrsh7th/cmp-buffer'
  • Plug 'hrsh7th/cmp-path'
  • Plug 'hrsh7th/cmp-cmdline'
  • Plug 'hrsh7th/cmp-vsnip'
  • Plug 'hrsh7th/vim-vsnip'
  • Plug 'ray-x/lsp_signature.nvim'
  • Plug 'kosayoda/nvim-lightbulb'

Coc extensions:

  • 👉 Coc manager for installing add-ons to Neovim.
  • 👉 Coc extensions under this link you can find all COC extensions for Neovim.
  • 👉 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

Colorschemes v tomto projektu:

  • 👉 Draculatheme Dracula for Neovim.
  • 👉 Gruvbox theme Gruvbox for Neovim.
  • 👉 Catppuccin theme Catppuccin for Neovim.
  • 👉 Nord theme Nord for Neovim.
  • 👉 Tokyo Night theme Tokyo Night for Neovim.
  • 👉 Nightfox theme Nightfox for Neovim.
  • 👉 Sonokai theme Sonokai for Neovim.
  • 👉 NeoSolarized theme NeoSolarized for Neovim.
  • 👉 Moonfly theme Moonfly for Neovim.
  • 👉 Onedark theme OneDark for Neovim.
  • 👉 Edge theme Edge for Neovim.
  • 👉 Airline theme Airline for Neovim.
  • 👉 GitHub theme GitHub for Neovim.
  • 👉 Nightfly theme Nightfly for Neovim.
  • 👉 Miasma theme Miasma for Neovim.
  • 👉 Pink moon theme Pink moon for Neovim.
  • 👉 Anderson theme Anderson for Neovim.
  • 👉 Tender theme Tender for Neovim.
  • 👉 Nightfox theme Nightfox for Neovim.
  • 👉 Night owl theme Night owl for Neovim.

Installation and setup:

  • 👉 If you haven't already, install Neovim.
  • 👉 You will need to install plug.vim to install the extension.
  • 👉 Go to this page https://github.com/junegunn/vim-plug under Installation, find your operating system and copy the link below it into your terminal.
  • 👉 But first, back up your current Neovim settings!!!

Linux & Mac:

/home/user/.config/nvim/init.vim

Windows:

~/AppData/Local/nvim/init.vim

Node.js:

  • 👉 I also recommend having Node.js installed.
  • 👉 Next, install the Live-server in Node.js using npm and live-server.
  • 👉 In your project, you will be able to run your index.html using the npx live-server command.
  • 👉 For proper LSP functionality, install the following packages:

vscode-html-language-server

vscode-css-language-server

typescript-language-server

emmet-ls

tailwindcss-language-server

marksman

markdoc-ls

eslint

Neovim:

  • 👉 To install 🚀 ApolloNvim Distro, just download the init.vim file from this repository.
  • 👉 Save it in the root directory ~/.. /nvim according to your OS. Don't forget to backup your existing files.
  • 👉 You can run neovim in the terminal with the nvim command.
  • 👉 Click the error messages.
  • 👉 In Neovim, type PlugInstall in the command line to install all plugins. Restart Neovim.
  • 👉 If you are missing a plugin, you can easily install or uninstall it using vim.plug. For more information, please visit vim.plug on GitHub or I'd be happy to advise you see about us.
  • 👉 If you do not want to use a plugin, just comment it out in the init.vim file using double quotes ".
  • 👉 Enter the Coc command in the command line to install the remaining plugins 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-phpls. Reboot Neovim once more and you're all set.
  • 👉 If you don't want to install everything manually you can download this repository and install only vim.plug (see above for how to install vim.plug) and then just use the :PlugInstall command and everything will work right away.
  • 👉 I use this configuration on both Linux and macOS. It is also tested on Windows 11.

Plans 🚀ApolloNvim:

  • 👉 You can expect these new features and more in the future:
  • 👉 New custom welcome screen.
  • 👉 New plugins.
  • 👉 Tutorials on plugins, how to set them up and how to work with them.
  • 👉 Instructions for working with Neovi.

Questions and Answers:

  • 👉 How much does 🚀 ApolloNvim cost? -> Nothing 🚀 ApolloNvim is free.
  • 👉 How complicated is 🚀 ApolloNvim? -> 🚀 ApolloNvim may be more complicated than other editors, but once you learn how to use it, you'll find out how great it is.

Contact:

Support:

  • 👉 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.
  • 👉 You can also support this project with a few Satoshi: SAT

Další projekty a odkazy: