Skip to content

sgoridotla1/dotfiles

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

Collection of my dotfiles.

NVim dotfiles

Installation

  • Place config files in ~ directory. Create ~/vimfiles directory and create backup and swap directories in it.

  • Download plugin manager and save it in ~/vimfiles/autoload directory.

  • Copy custom-snippets directory to ~/vimfiles to add custom snippets.

Make neovim read config files from home directory instead of default:

  • Add below text to ~\AppData\Local\nvim\init.vim:
set runtimepath+=~/vimfiles,~/vimfiles/after
set packpath+=~/vimfiles
source ~/_vimrc
  • Add below text to ~\AppData\Local\nvim\ginit.vim:
set runtimepath+=~/vimfiles,~/vimfiles/after
set packpath+=~/vimfiles
source ~/_gvimrc
  • After that, reload NeoVim, and run :PlugInstall command to install plugins. Make sure that everything installs correctly.

  • Reload, done.

Python support:

  • Create common venv for nvim python plugins virtualenv nvim-venv
  • Activate nvim-venv/Scripts/activate.ps1
  • Install pip install pynvim python-language-server[all]
  • In _vimrc file add two variables:
    • g:python3_host_prog to point to python.exe in nvim-venv;
    • g:python_lsp to point to pyls.exe in nvim-venv.

Done.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vim Script 68.4%
  • Vim Snippet 30.7%
  • Batchfile 0.9%