/nvim

My neovim configuration, based on LazyVim

Primary LanguageLua

GenmZy_ NVIM

  • 💜 I wanna see you after COVID-19.

dashboard genmzy info git

ColorScheme

Installation

  • Requires
go install github.com/jesseduffield/lazygit@latest

sudo apt-get install python3 lazygit fzf silversearch_ag ripgrep bat ccat neovim python3-pip git

pip3 install neovim neovim-remote pynvim

sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
       https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'

git clone https://github.com/genmzy/nvim.git ~/.config/ --depth=1
  • Install plugins

    Enter vim and execute :PlugInstall

More

  • I use WSL2 and WindowsTerminal
  • For WSL yank and paste support, see: here, but win11 makes things complicated, so strongly suggest put put win32yank.exe into C:\Windows\System32 for better performance and make things correct on Windows11 (NOTE: your $PATH should include /mnt/c/Windows/System32).
if executable("win32yank.exe")
    set clipboard+=unnamedplus
    let g:clipboard = {
        \   'name': 'genmzy_clipboard',
        \   'copy': {
        \      '+': ['win32yank.exe', '-i', '--crlf'],
        \      '*': ['win32yank.exe', '-i', '--crlf'],
        \    },
        \   'paste': {
        \      '+': ['win32yank.exe', '-o', '--lf'],
        \      '*': ['win32yank.exe', '-o', '--lf'],
        \   },
        \   'cache_enabled': 1,
        \ }
endif
{
  "useAcrylicInTabRow": true,
  "profiles": {
    "defaults": {
      "acrylicOpacity": 0.9,
      "antialiasingMode": "grayscale",
      "backgroundImageOpacity": 0.05,
      "bellStyle": "none",
      "colorScheme": "aquarium",
      "intenseTextStyle": "bold", // NOTE: DO NOT delete this anyway
      "backgroundImage": "C:/Users/waves/Pictures/pokemon/Generation IV - Sinnoh/448.jpg",
      "font": {
        "face": "LigaSrcPro NF",
        "size": 11,
        "weight": "normal"
      },
      "padding": "0, 0, 0, 0",
      "tabColor": "#44495E",
      "useAcrylic": false
    },
    "list": [
      {
        "guid": "{07b52e3e-de2c-5db4-bd2d-ba144ed6c273}",
        "hidden": false,
        "icon": "C:\\Users\\waves\\Pictures\\Camera Roll\\icons\\icons8-console-24.png",
        "name": "Ubuntu-20.04",
        "source": "Windows.Terminal.Wsl",
        "startingDirectory": "//wsl$/Ubuntu-20.04/home/waves",
        "closeOnExit": "always"
      }
    ]
  },
  "schemes": [
    {
      "name": "aquarium",
      "background": "#17171F",
      "foreground": "#63718B",
      "cursorColor": "#5c6a72",
      "black": "#3b3b4d",
      "red": "#cc9b9d",
      "green": "#a3ccad",
      "yellow": "#d1ba97",
      "cyan": "#b8c9ea",
      "purple": "#b294bb",
      "blue": "#95c2d1",
      "white": "#63718b",
      "brightBlack": "#44495e",
      "brightRed": "#ebb9b9",
      "brightGreen": "#b1dba4",
      "brightYellow": "#e6dfb8",
      "brightCyan": "#cddbf9",
      "brightPurple": "#f6bbe7",
      "brightBlue": "#cddbf9",
      "brightWhite": "#c6d0e9",
      "selectionBackground": "#2c2e3e"
    }
  ],
  "theme": "dark"
}
  • Icon picture

  • More themes, see here

  • ZSH configurations and Oh-My-Zsh configurations, see: file