8000 GitHub - J-Pai/nvim: Neovim specific configuration
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

J-Pai/nvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NeoVim Config

Lua based neovim config.

Dependencies

sudo apt install python3-venv

Portable Directory

For use in a network restricted environment:

https://github.com/RoryNesbitt/pvim

Neovim Remote

First setup a venv for neovim-remote.

cd ~/.config/nvim
python3 -m venv venv
./venv/bin/pip install neovim-remote

This is used to prevent nested nvim sessions. Add the following to ~/.bashrc

if [ -n "${NVIM}" ]; then
  alias vimx='~/.config/nvim/venv/bin/nvr -o' # Open file in horizontal split
  alias vim='~/.config/nvim/venv/bin/nvr -O' # Open file in vertical split
  alias vimt='~/.config/nvim/venv/bin/nvr --remote-tab' # Open file in new tab
  export GIT_EDITOR='~/.config/nvim/venv/bin/nvr -cc split --remote-wait'
fi

About

Neovim specific configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0