mattyoung101 / nvim-setup

neovim config (upstreamed into dotfiles instead - use that)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Neovim Setup

Matt's configuration for neovim 0.9.0.

Built off Ethan's vim config with some changes to my liking and explicit support for Linux, plus a whole lot more plugins (I love plugins!) - so do expect longer boot times.

Big thanks again to Ethan for the original config and getting me into Neovim.

There used to be a list of plugins/themes here, but there's so many now it's gotten out of hand. I guess RTFL (read the flipping Lua!!!!!).

Installation

This repo is mainly managed as a submodule through the dotfiles repo. You should clone that repo, and edit the config/nvim repo directly as a submodule. Then follow the instructions there to install the dotfiles. Once that's done:

  1. Install the latest stable Neovim (currently 0.9.0 as of 27 May 2023).
  2. (If using nvm.fish): Edit ~/.config/fish/config.fish to source nvm on startup: nvm -s use latest
  3. On Cinnamon, the default terminal font is DejaVu Sans Mono (even though the font is just listed as "Monospace"). You can prove this to yourself by doing fc-match monospace. You will need to install the NerdFont patch for this so that the icons show: https://www.nerdfonts.com/font-downloads
  4. Change the monospace font in System Settings to the DejaVu Sans Mono Nerd font.
  5. Install LazyGit, which may require installing go
  6. You should also have a gcc/clang and the latest stable rust (probably with rustup) on your system
  7. Also install fzf and ripgrep

Wishlist (plugins to be added and changes to make)

OUTDATED

Cheatsheet

Common operations I forget:

  • Comment out a section of code: visual select, g, c
  • Search in current buffer: space, slash
  • Quit everything: :qa and :wqa
  • Find a file: space, s, f
  • Cancel autocomplete: Ctrl+E
  • Create a new file in neotree: a (read documentation)
  • Rename a file in neotree: r
  • Delete a word (like ctrl+bkspce): ctrl+w
  • Go to beginning of line: ^ (shift 6)
  • Apply fix: space, c, a
  • Yank whole document: ggyG
  • Go to beginning: gg
  • Go to end: shift g

About

neovim config (upstreamed into dotfiles instead - use that)

License:MIT License


Languages

Language:Lua 100.0%