8000 GitHub - JeremiahVaughan/nvim
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JeremiahVaughan/nvim

Repository files navigation

Main goal of my setup: Be platform agnostic, so it should be a very similar experience regardless of linux, mac, or windows

  1. Clone this repo:

    • Windows: git clone https://github.com/JeremiahVaughan/nvim-struggle ~/AppData/Local/nvim
    • Linux: git clone https://github.com/JeremiahVaughan/nvim-struggle ~/.config/nvim
    • Mac: ~/.config/nvim
  2. Install nvim

    • brew install nvim
  3. Install ripgrep for fuzzy search

  4. Install make for :make command to work

    • Windows:
      • choco install make
  5. If on windows install 'git bash'

  6. Install staticcheck for more golang static checkness

  7. Install zig to avoid compilation issues

  8. Install nerd-fonts-hack for Hack Nerd Font Mono

    • https://github.com/ryanoasis/nerd-fonts
  9. Install wezterm

  10. Open nvim:

    • nvim
  11. You will see an install error, its ok, it just means something needs to be installed before it can be used so just need to install

  12. Restart nvim

  13. Run this to ensure everything is working properly

    • :checkheal 742D th
  14. Install LazyGit

    • https://github.com/jesseduffield/lazygit
  15. Install LazyDocker

    • https://github.com/jesseduffield/lazydocker
  16. Install Delta-diff for better diff indicators for LazyGit

  17. Install jq

    • https://jqlang.github.io/jq/download/
  18. Install delta

    • https://github.com/dandavison/delta
  19. Install k9s

    • https://k9scli.io/topics/install
  20. Install bat (currently using this for my snippets generator)

    • https://github.com/sharkdp/bat?tab=readme-ov-file#installation
  21. For copy paste to work on remote ssh sessions

    • Mac: use Iterm2
    • Mac other:
      • copy the file .alacritty.toml in the root of this project to $HOME/.alacritty.toml or
      • copy the file .wezterm.lua in the root of this project to $HOME/.wezterm.lua
    • Windows:
      • copy the file .alacritty.toml in the root of this project to %APPDATA%\alacritty\alacritty.toml or
      • copy the file .wezterm.lua in the root of this project to $HOME/.wezterm.lua
  22. Install delve for debugging

    • go install github.com/go-delve/delve/cmd/dlv@latest
  23. The rest.nvim plugin requires these to be installed

    • All of this:
      • Specific C compiler
        • sudo apt update && sudo apt install gcc -y
  24. If you plan on using terragrunt, enable provider cache so you disk doesn't bloat:

    • export TERRAGRUNT_PROVIDER_CACHE=1
    • Ref: https://terragrunt.gruntwork.io/docs/features/provider-cache/
  25. Install starship:

    • From: https://starship.rs
    • Windows:
      • Add ./starship/Microsoft.PowerShell_profile.ps1 to the $profile location ($profile is meant to be run in powershell):
  26. Set your open API key

    • export OPENAI_API_KEY=
  27. Install simple-chat-gpt: go install github.com/JeremiahVaughan/simple-chat-gpt@latest

  28. Install git-tool: go install github.com/JeremiahVaughan/git-tool@latest

  29. Restore Vimium from backup

  30. Move karabiner or auto hotkey config into the correct directory

  31. Install htop for monitoring resources (its like top but much easier to read)

    • Unix: brew install htop
    • Windows: choco install ntop.portable
  32. Install Flameshot and bind screen shot and snip to control+x

  33. Ensure the chrome web extension Tab Limit is installed and set to 4 tabs

  34. Install http lsp:

    • go install github.com/JeremiahVaughan/http-lsp@latest
  35. Emplace hot-key remaps files

    • Windows create short cut:
      • Shortcut location: C:\Users\jv1143\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
      • Shortcut target: C:\Users\jv1143\AppData\Local\nvim\ahk\key_remaps.ahk
  36. Emplace .gitconfig file at ~/

  37. Ubuntu assessibility options:

    • Turn off those slow animations
    • Opt in for large text
  38. Follow kmonad README.md at ./kmonad/README.md

  39. Install for dadbod plugin

    • Windows:
      • choco install psql
      • https://dev.mysql.com/downloads/installer/
        • Ensure you have the correct version of mysql client installed for the corresponding server, otherwise you will get a password auth error of all things
  40. Install One Password TUI

    • Install one password CLI: https://developer.1password.com/docs/cli/get-started/#install
    • go install github.com/JeremiahVaughan/one-password-tui@latest
  41. If setting up on Ubuntu:

    • Enabled "Night Light" -> Settings -> Displays -> Night Light
    • Setup up finger print reader

Note:

  • nvim-qt is available on mac too: https://github.com/equalsraf/neovim-qt
  • .ideavimrc is also saved in this directory for convenience. Move this to the HOME directory and restart Jetbrains for it to take effect.
  • If you run into trouble you can read the init logs with:
    • :messages

Good References: - https://github.com/nvim-treesitter/nvim-treesitter/wiki/Windows-support

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0