feat: switch to neovim

This commit is contained in:
Job
2024-09-17 18:32:24 +00:00
parent c510c7f919
commit 17e3a6840f
6 changed files with 51 additions and 4 deletions

15
Containerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM docker.io/fedora:41
# === setup system ===
RUN dnf -y install neovim zoxide unzip git go procps bash-completion
# === setup container user ===
RUN useradd -ms /bin/bash user && usermod -aG wheel user && sed -i '/NOPASSWD/s/^#//g' /etc/sudoers
USER user
WORKDIR /home/user
COPY config/user/bashrc /home/user/.bashrc
# === setup neovim ===
RUN git clone --depth 1 https://github.com/AstroNvim/template ~/.config/nvim
COPY config/nvim/lua/community.lua /home/user/.config/nvim/lua/community.lua
COPY config/nvim/lua/polish.lua /home/user/.config/nvim/lua/polish.lua