This repository contains my Neovim configuration process for a new computer, it is based on my own work flow as a web developer (in PHP, JavaScript, HTML, CSS) and it includes:
- my init.vim file
- nvim directory containing various customization files including my own theme, snippets, syntax highlighting, etc.
- the font of my choice
Disclaimer
I created this repository for my own needs and I highly recommend that you check it thoroughly before installing it on your system. I am not responsible if something goes wrong, so use at your own risk.
Windows
- Chocolatey
- Neovim via Chocolatey (for clipboard integration)
- AutoHotKey
- M+ 1mn font
- execute ps1 file in PowerShell (add new entry to Windows Explorer context menu)
- copy neovim-wsl.exe to home directory (set nvim as default editor)
Ubuntu
sudo apt install neovim
sudo apt install ripgrep
sudo apt install universal-ctags
sudo apt install make
sudo apt install p7zip-full p7zip-rar
sudo apt install subversion
sudo apt install fd
- fd config
- nodejs
- golang
- LAMP
$ cd ~
$ mkdir gutentags www
$ git clone https://github.com/antaed/neovim_config .config/nvim
$ sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
:PlugInstall
:CocInstall {coc-* extensions}
$ git config --global merge.tool diffconflicts
$ git config --global mergetool.diffconflicts.cmd "neovim -c DiffConflicts \"$MERGED\" \"$BASE\" \"$LOCAL\" \"$REMOTE\""
$ git config --global mergetool.diffconflicts.trustExitCode true
$ git config --global mergetool.keepBackup false
- check ~/.config/ permissions
- open files that won't load with Neovim and run
:w ++ff=unix
- localhost not working