Skip to content

marcusziade/rawdog.ml.nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 Rawdog ML Neovim

A modern, blazing-fast Neovim configuration designed for full-stack development with first-class support for Go, TypeScript/JavaScript, Python, and Swift. Built with minimal bloat and maximum productivity in mind.

⚡️ Features

  • 🔥 Lazy-loaded plugins for <50ms startup time
  • 🌳 Native LSP with zero-config setup
  • 🤖 GitHub Copilot integration
  • 🔍 Blazing fast fuzzy finding with Telescope + ripgrep
  • 🎨 Treesitter-based syntax highlighting
  • 📦 Modular configuration for easy maintenance
  • ⌨️ Ergonomic keymaps for efficient coding
  • ⏳ Wakatime & Crackboard tracking (Installed locally and gitignored, see callsite at the top of /lua/init.lua)
  • 📂 Web-devicons (You must have a nerd font installed)
  • 🌳 nvim-tree filetree
  • ⌨️ which-key for learning available keys for any given part of Neovim
  • 🗒️ comment.nvim for an intuitive code commenting tool

🔧 Stack

  • Plugin Management: lazy.nvim
  • Completions: nvim-cmp
  • Fuzzy Finding: Telescope + ripgrep
  • Git Integration: gitsigns.nvim
  • AI Assistance: Copilot
  • LSP Support:
    • Go (gopls)
    • TypeScript/JavaScript (ts_ls)
    • Python (pyright)
    • Swift (sourcekit-lsp)

🚦 Prerequisites

Arch Linux

sudo pacman -S neovim ripgrep fd nodejs npm go
yay -S swift-bin

macOS

# Install Homebrew if not already installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install required packages
brew install neovim ripgrep fd node go

# Install Swift (if not already installed with Xcode)
# Note: It's recommended to install Xcode from the App Store for full Swift support
xcode-select --install

# Install a Nerd Font (optional but recommended for icons)
brew tap homebrew/cask-fonts
brew install --cask font-hack-nerd-font

⚡️ Quick Install

Backup existing config

mv ~/.config/nvim ~/.config/nvim.bak

Clone this repo

git clone https://github.com/marcusziade/rawdog.ml.nvim.git ~/.config/nvim

Start Neovim (plugins will auto-install)

nvim

⌨️ Key Bindings

Leader key: Space

General

  • <leader>ff - Find files
  • <leader>fg - Live grep
  • <leader>fb - Browse buffers

LSP

  • gd - Go to definition
  • gr - Find references
  • K - Show hover documentation
  • <leader>ca - Code actions
  • <leader>rn - Rename symbol

Navigation

  • <leader>v - Show which-key interface for available actions
  • <C-h/j/k/l> - Window navigation
  • [d/]d - Previous/next diagnostic
  • <leader>fe - Open and focus filetree
  • <leader>e - Toggle filetree open and close

Code comments

  • gcc/gbc - See more in comment.nvim docs

📦 Directory Structure

~/.config/nvim
├── init.lua
└── lua/
    ├── config/
    │   ├── completion.lua   # nvim-cmp setup
    │   ├── keymaps.lua     # Key bindings
    │   ├── lazy.lua        # Plugin manager config
    │   ├── lsp/           # LSP configurations
    │   └── options.lua     # Neovim options
    └── plugins/
        └── init.lua        # Plugin specifications

🎨 Customization

Each aspect of this configuration is modular and easy to customize:

  1. Add plugins in lua/plugins/init.lua
  2. Modify LSP settings in lua/config/lsp/
  3. Adjust key bindings in lua/config/keymaps.lua

📝 License

MIT

About

my neovim config, btw. for arch and macOS, btw.

Resources

License

Stars

Watchers

Forks

Languages