Skip to content

Latest commit

 

History

19 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

⚙️ Lau's Dotfiles

Personal configuration files for Neovim and development environments. Designed for speed, clarity, and portability — across laptop, Raspberry Pi, and mobile (Termux).

📁 Structure

  • nvim/ — Neovim config using lazy.nvim, with plugins split into files inside lua/j/plugins/.
  • after/ftplugin/ — Filetype-specific overrides (indentation for PHP, HTML, etc).

✨ Features

🖊️ Neovim

  • Plugin manager: lazy.nvim
  • Syntax highlighting & indentation with nvim-treesitter
  • Autocompletion with nvim-cmp and LSP
  • Snippets via LuaSnip
  • LSP servers:
    • HTML via vscode-langservers-extracted
    • PHP via intelephense or phpactor
    • Java via jdtls (configured through lspconfig and mason)
  • Designed for:
    • Web development (HTML, PHP, JS)
    • Systems programming (C, Lua)
    • Java backend or desktop apps
    • Scripting and automation

🧠 Additional Plugins

  • Treesitter playground
  • Live server
  • Emmet
  • Toggleterm, Telescope, Bufferline, Which-key
  • Custom color scheme: Gruvbox

🚀 Installation

Clone the repository:

git clone https://github.com/lau-luna/dotfiles ~/.dotfiles
cd ~/.dotfiles

🧵 Option 1: Using GNU Stow

Recommended if you want to keep everything modular:

stow nvim

This will symlink the configuration files into ~/.config/.

🪵 Option 2: Manual install

Copy the folders of the programs you want to configure:

cp -r nvim ~/.config/
cp -r git ~/.config/

⚠️ If the target folder already exists (e.g. ~/.config/nvim), you should delete it or back it up first to avoid conflicts:

mv ~/.config/nvim ~/.config/nvim.bak
cp -r nvim ~/.config/

This setup assumes your system loads configuration files from ~/.config/, which is the default for most Linux environments.

📦 Dependencies

Make sure you have the following installed:

🧰 System Packages

  • Neovim (>= 0.9)
  • Git
  • Node.js and npm
  • Java JDK (for Java LSP)
  • Tex Live (LaTeX compiler)

🌐 LSP Servers and Tools

🖥️ Installing vscode-langservers-extracted (HTML LSP)

sudo npm install -g vscode-langservers-extracted

🖥️ Installing intelephense (PHP LSP)

sudo npm install -g intelephense

🖥️ Installing Tex Live (LaTeX compiler)

You can install Tex Live via your system's package manager:

  • For Ubuntu/Debian (only the necessary packages):

    sudo apt install texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science
  • For Ubuntu/Debian (full installation):

    sudo apt install texlive-full
  • For Arch (only the necessary packages):

    sudo pacman -S texlive-latex-base texlive-latex-recommended texlive-latex-extra texlive-fonts-recommended texlive-science
  • For Arch (full installation):

    sudo pacman -S texlive-full

📄 Installing Zathura (PDF viewer)

When you compile LaTex with v, it opens a zathura window with your project PDF.

You can install zathura via your system's package manager:

  • For Ubuntu/Debian:

    sudo apt install zathura zathura-pdf-poppler
  • For Arch:

    sudo pacman -S zathura zathura-pdf-poppler

Dependencies for Telescope and Treesitter

📡 Telescope

Telescope requires the following binaries:

  • For Ubuntu/Debian:

    sudo apt install ripgrep fd-find
  • For Arch:

    sudo pacman -S ripgrep fd-find

🌲 Treesitter

Treesitter automatically installs its parsers, but it needs build tools:

  • For Ubuntu/Debian:

    sudo apt install build-essential ninja-build
  • For Arch:

    sudo pacman -S build-essential ninja-build

About

Lau's dotfiles for Neovim and more

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages