Skip to content

cb-g/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neovim configuration for Mac arm64

screenshots

features

  • goes well with Alacritty
  • plugin manager: lazy.nvim
  • LSP setup: Lua, LaTeX, R, Python, Julia, OCaml.

zsh

brew --version

Homebrew 4.3.1

echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile

source ~/.zprofile
brew install neovim

brew list --versions neovim

neovim 0.9.5

brew install ripgrep

brew list --versions ripgrep

ripgrep 14.1.0

brew install black

brew list --versions black

black 24.4.2

brew tap homebrew/cask-fonts

brew install --cask font-hasklug-nerd-font

brew list --cask --versions font-hasklug-nerd-font

font-hasklug-nerd-font 3.2.1

brew install --cask alacritty

brew list --cask --versions alacritty

alacritty 0.13.2

brew install zsh-autosuggestions

echo "source $(brew --prefix)/share/zsh-autosuggestions/zsh-autosuggestions.zsh" >> ~/.zshrc

brew list --versions zsh-autosuggestions

zsh-autosuggestions 0.7.0

brew install zsh-syntax-highlighting

echo "source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ~/.zshrc

brew list --versions zsh-syntax-highlighting

zsh-syntax-highlighting 0.8.0

brew install tmux

git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm

brew list --versions tmux

tmux 3.4_1

brew install yq

brew list --versions yq

yq 4.44.1

echo "alias vim=nvim" >> ~/.zshrc

echo 'alias vimc='\''cd "$HOME/.config/nvim"'\''' >> ~/.zshrc

source ~/.zshrc
chmod +x rm_latex_aux.sh

echo "alias cleantex='\$HOME/.config/nvim/rm_latex_aux.sh'" >> ~/.zshrc

source ~/.zshrc
cd $HOME/.config

git clone https://github.com/cb-g/nvim
tmux

install tmux plugins with ctrl-s shift-i

launch:

vimc

vim .

reset:

rm -rf $HOME/.local/share/nvim
rm -rf $HOME/.local/state/nvim
rm -rf $HOME/.tmux

delete:

rm -rf $HOME/.config/nvim

~/.config/alacritty/alacritty.toml

[colors]
transparent_background_colors = true

[window]
startup_mode = "Maximized"
opacity = 0.75
blur = false
decorations = "Buttonless"

[window.padding]
x = 0
y = 0

# [window.dimensions]
# columns = 700
# lines = 90

[window.position]
x = 800
y = 150

[font]
size = 17

[font.normal]
family = "Hasklug Nerd Font"

[env]
TERM = "xterm-256color"

dotfiles

~/.tmux.conf

references