Skip to content

Instantly share code, notes, and snippets.

@rainrisa
Created August 6, 2022 01:38
Show Gist options
  • Save rainrisa/a3b79aca49a6f6d7b9b3bbb0719421e8 to your computer and use it in GitHub Desktop.
Save rainrisa/a3b79aca49a6f6d7b9b3bbb0719421e8 to your computer and use it in GitHub Desktop.
Run Nvim inside Arch Linux

NVIM INSIDE ARCH

Run base arch latest https://wiki.archlinux.org/title/Docker#Installation

Update cmd https://serverfault.com/a/1053223

docker run -it --privileged=true archlinux:latest bash

Install nvim and git with flag -y explanation https://archlinux.org/pacman/pacman.8.html#_sync_options_apply_to_em_s_em_a_id_so_a

pacman -Sy git neovim

Vim alias for nvim https://stackoverflow.com/a/68754789

echo "alias vim="nvim"" >> .zshrc && source .zshrc

Vundle setup https://github.com/VundleVim/Vundle.vim#quick-start

git clone https://github.com/VundleVim/Vundle.vim.git .vim/bundle/Vundle.vim

Create init.vim for nvim VundleVim/Vundle.vim#932 (comment)

mkdir -p .config/nvim && cd .config/nvim/

" init.vim

set nocompatible
filetype off

set rtp+=.vim/bundle/Vundle.vim
call vundle#begin()

Plugin 'VundleVim/Vundle.vim'
Plugin 'preservim/nerdtree'
Plugin 'drewtempelmeyer/palenight.vim'

call vundle#end()
filetype plugin indent on

set background=dark
set termguicolors
colorscheme palenight
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment