Skip to content

stepanzh/neovim-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

neovim-config

I'm a basic user of neovim and here is my config for this charming text editor. I usually work with Julia, C, LaTeX and Python.

My config is inspired by Josean Martinez' YouTube video.

Features

  • LaTeX snippets based on Gilles Castel's post.
  • LaTeX to Unicode completion based on julia-vim, e.g. C \leftarrow<Tab> \alpha<Tab> A B + \beta<Tab> becomes C ← α A B + β C. Activated by <space>uc; active by default in Julia files.
  • Toggle between light and dark themes for readability during screen sharing by :ToggleAppearance.
Light theme Dark theme
light theme preview dark theme preview

How to install

Note

If you want to try out this config, backup (e.g. just rename) your config, clone this repo and add symbolically link with nvim folder of this repo.

  • Copy nvim folder to ~/.config/, e.g. ~/.config/nvim/
  • Change path to python interpreter in nvim/init.lua -> vim.g.python3_host_prog (Tip: use another text editor for this.)
  • Install pynvim for the Python interpreter from vim.g.python3_host_prog
  • If copy-paste from operating system (OS) clipboard does not work, install clipboard manager for your OS (e.g. wl-clipboard for Ubuntu 22.04)

Note

At first run, it is normal to encounter some errors (e.g. "colorscheme not found"). Normally, packer shall run automatically and install plugins.

Tested environments

  • MacOS 14, iTerm2
  • Ubuntu 22.04, built-in Terminal

About

Config for neovim, fused for LaTeX and Unicode.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published