Skip to content

AGou-ops/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

【😁中文文档】

Tip

Switch to the nvim branch if you only need neovim configuration!

Quickly start

Dependencies

sudo apt install wget curl git python3-pip ripgrep ranger lolcat -y
pip3 install pynvim
sudo npm install -g tree-sitter-cli
# or use cargo to install tree-sitter-cli
# cargo install tree-sitter-cli
echo "export PATH=$HOME/.local/share/nvim/mason/bin:$PATH" >> ~/.bashrc
source ~/.bashrc
# if you use zsh, pls add masonbin to your zsh config and then source it
# source ~/.zshrc

Install Config

# backup your old neovim config
mv ~/.config/nvim{,.bak}
# download my config to your local machine.
git clone -b nvim https://github.com/AGou-ops/dotfiles.git ~/.config/nvim

If you have any problems with the installation, please submit an issue.

Let's go!

# After opening neovim, lazy.nvim will automatically install all plugins.
nvim
# if you have Neovim python error, https://github.com/gelguy/wilder.nvim/issues/16, run below command and restart neovim.
:UpdateRemotePlugins

🎉Done.

Plugin list

.
├── barbecue.lua
├── bookmarks.lua
├── bufferline.lua
├── close-buffers.lua
├── cmp.lua
├── cursorword.lua
├── dashboard.lua
├── diffview.lua
├── flash.lua
├── format.lua
├── gitsigns.lua
├── gomove.lua
├── indent-blankline.lua
├── init.lua
├── lsp
├── lspsaga.lua
├── lualine.lua
├── luasnip.lua
├── mason.lua
├── neoscroll.lua
├── neotest.lua
├── nvim-dap.lua
├── nvim-hlslens.lua
├── nvim-spectre.lua
├── nvim-surround.lua
├── nvim-tree.lua
├── nvim-ufo.lua
├── project.lua
├── rnvimr.lua
├── scrollbar.lua
├── snacks.lua
├── specs.lua
├── telescope.lua
├── todo-comments.lua
├── toggleterm.lua
├── translate.lua
├── treesitter.lua
├── trouble.lua
├── which-key.lua
├── wilder.lua
└── zen-mode.lua

82 directories, 0 files

ScreenShot

  • Neovim dashboard

image

  • Tmux

image-20220408084010889

  • Zen mode

image

  • Golang

Code completion:

image

dap debug:

image

Unit Test:

image

preview definition:

image

lspsaga finder:

image

startupTime

⭐️lazy.nvim

82 plugins.

image