Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A launch point for your personal nvim configuration

License

NotificationsYou must be signed in to change notification settings

nvim-java/starter-kickstart

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Introduction

A starting point for Neovim that is:

  • Small
  • Single-file
  • Completely Documented

NOT a Neovim distribution, but instead a starting point for your configuration.

Installation

Install Neovim

Kickstart.nvim targetsonly the latest'stable' and latest'nightly' of Neovim.If you are experiencing issues, please make sure you have the latest versions.

Install External Dependencies

External Requirements:

  • Basic utils:git,make,unzip, C Compiler (gcc)
  • ripgrep,fd-find
  • Clipboard tool (xclip/xsel/win32yank or other depending on the platform)
  • ANerd Font: optional, provides various icons
    • if you have it setvim.g.have_nerd_font ininit.lua to true
  • Emoji fonts (Ubuntu only, and only if you want emoji!)sudo apt install fonts-noto-color-emoji
  • Language Setup:
    • If you want to write Typescript, you neednpm
    • If you want to write Golang, you will needgo
    • etc.

Note

SeeInstall Recipes for additional Windows and Linux specific notesand quick install snippets

Install Kickstart

Note

Backup your previous configuration (if any exists)

Neovim's configurations are located under the following paths, depending on your OS:

OSPATH
Linux, MacOS$XDG_CONFIG_HOME/nvim,~/.config/nvim
Windows (cmd)%localappdata%\nvim\
Windows (powershell)$env:LOCALAPPDATA\nvim\

Recommended Step

Fork this reposo that you have your own copy that you can modify, then install by cloning thefork to your machine using one of the commands below, depending on your OS.

Note

Your fork's URL will be something like this:https://github.com/<your_github_username>/kickstart.nvim.git

You likely want to removelazy-lock.json from your fork's.gitignore filetoo - it's ignored in the kickstart repo to make maintenance easier, but it'srecommended to track it in version control.

Clone kickstart.nvim

Note

If following the recommended step above (i.e., forking the repo), replacenvim-lua with<your_github_username> in the commands below

Linux and Mac
git clone https://github.com/nvim-lua/kickstart.nvim.git"${XDG_CONFIG_HOME:-$HOME/.config}"/nvim
Windows

If you're usingcmd.exe:

git clone https://github.com/nvim-lua/kickstart.nvim.git "%localappdata%\nvim"

If you're usingpowershell.exe

git clone https://github.com/nvim-lua/kickstart.nvim.git "${env:LOCALAPPDATA}\nvim"

Post Installation

Start Neovim

nvim

That's it! Lazy will install all the plugins you have. Use:Lazy to viewthe current plugin status. Hitq to close the window.

Read The Friendly Documentation

Read through theinit.lua file in your configuration folder for moreinformation about extending and exploring Neovim. That also includesexamples of adding popularly requested plugins.

Note

For more information about a particular plugin check its repository's documentation.

Getting Started

The Only Video You Need to Get Started with Neovim

FAQ

  • What should I do if I already have a pre-existing Neovim configuration?
    • You should back it up and then delete all associated files.
    • This includes your existing init.lua and the Neovim files in~/.localwhich can be deleted withrm -rf ~/.local/share/nvim/
  • Can I keep my existing configuration in parallel to kickstart?
    • Yes! You can useNVIM_APPNAME=nvim-NAMEto maintain multiple configurations. For example, you can install the kickstartconfiguration in~/.config/nvim-kickstart and create an alias:
      alias nvim-kickstart='NVIM_APPNAME="nvim-kickstart" nvim'
      When you run Neovim usingnvim-kickstart alias it will use the alternativeconfig directory and the matching local directory~/.local/share/nvim-kickstart. You can apply this approach to any Neovimdistribution that you would like to try out.
  • What if I want to "uninstall" this configuration:
  • Why is the kickstartinit.lua a single file? Wouldn't it make sense to split it into multiple files?
    • The main purpose of kickstart is to serve as a teaching tool and a referenceconfiguration that someone can easily use togit clone as a basis for their own.As you progress in learning Neovim and Lua, you might consider splittinginit.luainto smaller parts. A fork of kickstart that does this while maintaining thesame functionality is available here:
    • Discussions on this topic can be found here:

Install Recipes

Below you can find OS specific install instructions for Neovim and dependencies.

After installing all the dependencies continue with theInstall Kickstart step.

Windows Installation

Windows with Microsoft C++ Build Tools and CMakeInstallation may require installing build tools and updating the run command for `telescope-fzf-native`

Seetelescope-fzf-native documentation formore details

This requires:

  • Install CMake and the Microsoft C++ Build Tools on Windows
{'nvim-telescope/telescope-fzf-native.nvim',build='cmake -S. -Bbuild -DCMAKE_BUILD_TYPE=Release && cmake --build build --config Release && cmake --install build --prefix build'}
Windows with gcc/make using chocolateyAlternatively, one can install gcc and make which don't require changing the config,the easiest way is to use choco:
  1. installchocolateyeither follow the instructions on the page or use winget,run in cmd asadmin:
winget install --accept-source-agreements chocolatey.chocolatey
  1. install all requirements using choco, exit the previous cmd andopen a new one so that choco path is set, and run in cmd asadmin:
choco install -y neovim git ripgrep wget fd unzip gzip mingw make
WSL (Windows Subsystem for Linux)
wsl --installwslsudo add-apt-repository ppa:neovim-ppa/unstable -ysudo apt updatesudo apt install make gcc ripgrep unzip git xclip neovim

Linux Install

Ubuntu Install Steps
sudo add-apt-repository ppa:neovim-ppa/unstable -ysudo apt updatesudo apt install make gcc ripgrep unzip git xclip neovim
Debian Install Steps
sudo apt updatesudo apt install make gcc ripgrep unzip git xclip curl# Now we install nvimcurl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux-x86_64.tar.gzsudo rm -rf /opt/nvim-linux-x86_64sudo mkdir -p /opt/nvim-linux-x86_64sudo chmod a+rX /opt/nvim-linux-x86_64sudo tar -C /opt -xzf nvim-linux-x86_64.tar.gz# make it available in /usr/local/bin, distro installs to /usr/binsudo ln -sf /opt/nvim-linux-x86_64/bin/nvim /usr/local/bin/
Fedora Install Steps
sudo dnf install -y gcc make git ripgrep fd-find unzip neovim
Arch Install Steps
sudo pacman -S --noconfirm --needed gcc make git ripgrep fd unzip neovim

About

A launch point for your personal nvim configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Lua100.0%

[8]ページ先頭

©2009-2025 Movatter.jp