jgoerz / nvim-config

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Setup

  1. clone this repo into
  • ubuntu: .config/nvim
  1. clone packer
git clone --depth 1 https://github.com/wbthomason/packer.nvim \
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim
  1. nvim ~/.config/nvim/init.lua (Ignore all the errors)
  2. source ~/.config/nvim/lua/jesse/packer.lua
  3. :PackerSync
  4. :Mason (to install language servers)

Goals

  • SCM workflow
    • Git support, and I doubt I'll use any of the others I've used before
    • Work with vim-fugitive (haven't seen a better workflow yet)
    • Git status shows untracked, unstaged, and staged
    • Can easily diff (side by side) unstaged to see what I'm committing
  • Testing workflow
    • Similar to tslime + tmux
    • Run test identified by current cursor location
    • Run all tests in file
    • Show test results in another pane/window I can reference while not leaving the code/test
    • Bonus: decent test coverage workflow
  • Coding workflow
    • First do no harm (see plugin entry below)
    • LSP + goodies for go, elixir, ruby, java - For go, vim-go is the bar. Should do at least all its functionality. - completion, code generation (snippets), signature suggestion - call stack style navigation when traversing code (like g-Ctrl-[ and Ctrl-t with tag files)
  • Avoid "opinionated" plugins
    • default keymaps should be easily ignored or disabled
    • I can pick and choose which functionality to map to keymaps - this implies this is documented
    • I can choose the that works for me
    • ideally works with whichkey or something similar

Dependencies

Investigate

LSP "framework" [X] https://github.com/VonHeikemen/lsp-zero.nvim

Potential lua ideas to learn from [ ] https://github.com/ray-x/nvim

These two should hopefully address the workflows for test and some for coding [X] https://github.com/ThePrimeagen/refactoring.nvim [ ] https://github.com/nvim-neotest/neotest

About


Languages

Language:Lua 100.0%