2025-01-08 06:42:41 +00:00
|
|
|
|
*LazyVim.txt* For Neovim Last change: 2025 January 08
|
2023-01-04 20:58:29 +00:00
|
|
|
|
|
|
|
|
|
==============================================================================
|
|
|
|
|
Table of Contents *LazyVim-table-of-contents*
|
|
|
|
|
|
2023-02-27 09:18:03 +00:00
|
|
|
|
- Features |LazyVim-features|
|
|
|
|
|
- Requirements |LazyVim-requirements|
|
|
|
|
|
- Getting Started |LazyVim-getting-started|
|
|
|
|
|
- File Structure |LazyVim-file-structure|
|
|
|
|
|
- Configuration |LazyVim-configuration|
|
2024-03-28 20:33:40 +00:00
|
|
|
|
1. Links |LazyVim-links|
|
2023-02-19 21:32:05 +00:00
|
|
|
|
|
|
|
|
|
Install
|
|
|
|
|
·
|
|
|
|
|
Configure
|
|
|
|
|
·
|
|
|
|
|
Docs
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-04 20:58:29 +00:00
|
|
|
|
|
2023-01-19 12:51:20 +00:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-01-04 20:58:29 +00:00
|
|
|
|
|
2023-01-09 10:38:22 +00:00
|
|
|
|
LazyVim is a Neovim setup powered by lazy.nvim
|
|
|
|
|
<https://github.com/folke/lazy.nvim> to make it easy to customize and extend
|
|
|
|
|
your config. Rather than having to choose between starting from scratch or
|
|
|
|
|
using a pre-made distro, LazyVim offers the best of both worlds - the
|
|
|
|
|
flexibility to tweak your config as needed, along with the convenience of a
|
|
|
|
|
pre-configured setup.
|
2023-01-07 10:54:19 +00:00
|
|
|
|
|
2023-01-04 20:58:29 +00:00
|
|
|
|
|
2023-02-27 09:18:03 +00:00
|
|
|
|
FEATURES *LazyVim-features*
|
2023-01-09 10:34:54 +00:00
|
|
|
|
|
|
|
|
|
- Transform your Neovim into a full-fledged IDE
|
|
|
|
|
- Easily customize and extend your config with lazy.nvim <https://github.com/folke/lazy.nvim>
|
2023-01-09 11:37:36 +00:00
|
|
|
|
- Blazingly fast
|
2023-01-09 10:34:54 +00:00
|
|
|
|
- Sane default settings for options, autocmds, and keymaps
|
|
|
|
|
- Comes with a wealth of plugins pre-configured and ready to use
|
|
|
|
|
|
|
|
|
|
|
2023-02-27 09:18:03 +00:00
|
|
|
|
REQUIREMENTS *LazyVim-requirements*
|
2023-01-09 10:34:54 +00:00
|
|
|
|
|
2023-10-01 12:01:59 +00:00
|
|
|
|
- Neovim >= **0.9.0** (needs to be built with **LuaJIT**)
|
2023-01-09 10:34:54 +00:00
|
|
|
|
- Git >= **2.19.0** (for partial clones support)
|
2023-02-19 21:32:05 +00:00
|
|
|
|
- a Nerd Font <https://www.nerdfonts.com/> **(optional)**
|
2023-06-23 11:20:51 +00:00
|
|
|
|
- a **C** compiler for `nvim-treesitter`. See here <https://github.com/nvim-treesitter/nvim-treesitter#requirements>
|
2023-01-09 10:34:54 +00:00
|
|
|
|
|
|
|
|
|
|
2023-02-27 09:18:03 +00:00
|
|
|
|
GETTING STARTED *LazyVim-getting-started*
|
2023-01-07 10:45:26 +00:00
|
|
|
|
|
|
|
|
|
You can find a starter template for **LazyVim** here
|
|
|
|
|
<https://github.com/LazyVim/starter>
|
|
|
|
|
|
2023-02-19 21:32:05 +00:00
|
|
|
|
Try it with Docker ~
|
2023-01-11 14:52:51 +00:00
|
|
|
|
|
|
|
|
|
>sh
|
|
|
|
|
docker run -w /root -it --rm alpine:edge sh -uelic '
|
2024-12-13 06:24:40 +00:00
|
|
|
|
apk add git lazygit fzf curl neovim ripgrep alpine-sdk --update
|
2023-01-11 14:52:51 +00:00
|
|
|
|
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
|
|
|
|
cd ~/.config/nvim
|
|
|
|
|
nvim
|
|
|
|
|
'
|
2023-01-07 11:00:06 +00:00
|
|
|
|
<
|
|
|
|
|
|
2023-02-19 21:32:05 +00:00
|
|
|
|
Install the LazyVim Starter ~
|
2023-01-11 14:52:51 +00:00
|
|
|
|
|
|
|
|
|
- Make a backup of your current Neovim files:
|
|
|
|
|
>sh
|
|
|
|
|
mv ~/.config/nvim ~/.config/nvim.bak
|
|
|
|
|
mv ~/.local/share/nvim ~/.local/share/nvim.bak
|
|
|
|
|
<
|
|
|
|
|
- Clone the starter
|
|
|
|
|
>sh
|
|
|
|
|
git clone https://github.com/LazyVim/starter ~/.config/nvim
|
|
|
|
|
<
|
2023-01-19 12:51:20 +00:00
|
|
|
|
- Remove the `.git` folder, so you can add it to your own repo later
|
|
|
|
|
>sh
|
|
|
|
|
rm -rf ~/.config/nvim/.git
|
|
|
|
|
<
|
2023-01-11 14:52:51 +00:00
|
|
|
|
- Start Neovim!
|
|
|
|
|
>sh
|
|
|
|
|
nvim
|
|
|
|
|
<
|
|
|
|
|
Refer to the comments in the files on how to customize **LazyVim**.
|
|
|
|
|
|
2023-02-06 21:39:20 +00:00
|
|
|
|
------------------------------------------------------------------------------
|
2023-02-19 21:32:05 +00:00
|
|
|
|
There’s a great video created by @elijahmanor
|
|
|
|
|
<https://github.com/elijahmanor> with a walkthrough to get started.
|
2023-02-06 21:39:20 +00:00
|
|
|
|
|
2023-02-06 21:38:19 +00:00
|
|
|
|
<https://www.youtube.com/watch?v=N93cTbtLCIM>
|
|
|
|
|
|
2024-11-07 15:46:41 +00:00
|
|
|
|
@dusty-phillips <https://github.com/dusty-phillips> wrote a comprehensive book
|
|
|
|
|
called LazyVim for Ambitious Developers
|
2024-06-06 16:54:37 +00:00
|
|
|
|
<https://lazyvim-ambitious-devs.phillips.codes> available for free online.
|
|
|
|
|
|
2023-02-19 21:32:05 +00:00
|
|
|
|
|
2023-02-27 09:18:03 +00:00
|
|
|
|
FILE STRUCTURE *LazyVim-file-structure*
|
2023-01-04 20:58:29 +00:00
|
|
|
|
|
2023-01-09 09:53:51 +00:00
|
|
|
|
The files under config will be automatically loaded at the appropriate time, so
|
2023-01-09 09:57:40 +00:00
|
|
|
|
you don’t need to require those files manually. **LazyVim** comes with a set
|
2023-02-19 21:32:05 +00:00
|
|
|
|
of default config files that will be loaded **before** your own. See here
|
2023-01-09 09:57:40 +00:00
|
|
|
|
<https://github.com/LazyVim/LazyVim/tree/main/lua/lazyvim/config>
|
2023-01-04 20:58:29 +00:00
|
|
|
|
|
2023-01-09 09:53:51 +00:00
|
|
|
|
You can add your custom plugin specs under `lua/plugins/`. All files there will
|
|
|
|
|
be automatically loaded by lazy.nvim <https://github.com/folke/lazy.nvim>
|
|
|
|
|
|
2023-02-19 21:32:05 +00:00
|
|
|
|
|
2023-02-27 09:18:03 +00:00
|
|
|
|
CONFIGURATION *LazyVim-configuration*
|
2023-01-10 10:15:28 +00:00
|
|
|
|
|
2023-01-19 12:51:20 +00:00
|
|
|
|
Refer to the docs <https://lazyvim.github.io>
|
2023-01-04 20:58:29 +00:00
|
|
|
|
|
2023-02-19 21:32:05 +00:00
|
|
|
|
==============================================================================
|
|
|
|
|
1. Links *LazyVim-links*
|
|
|
|
|
|
|
|
|
|
1. *image*: https://user-images.githubusercontent.com/292349/211285846-0b7bb3bf-0462-4029-b64c-4ee1d037fc1c.png
|
|
|
|
|
2. *image*: https://user-images.githubusercontent.com/292349/213447056-92290767-ea16-430c-8727-ce994c93e9cc.png
|
|
|
|
|
3. *@elijahmanor*:
|
|
|
|
|
4. *Watch the video*: https://img.youtube.com/vi/N93cTbtLCIM/hqdefault.jpg
|
2024-06-06 16:54:37 +00:00
|
|
|
|
5. *@dusty-phillips*:
|
2023-02-19 21:32:05 +00:00
|
|
|
|
|
2023-01-04 20:58:29 +00:00
|
|
|
|
Generated by panvimdoc <https://github.com/kdheepak/panvimdoc>
|
|
|
|
|
|
|
|
|
|
vim:tw=78:ts=8:noet:ft=help:norl:
|