- Create a new folder: C:\Users\USER_NAME\AppData\Local\nvim
mkdir %UserProfile%\AppData\Local\nvim
- Create new file: C:\Users\USER_NAME\AppData\Local\nvim\init.vim and add configuration:
set smartindent set tabstop=4 set shiftwidth=4 set expandtab
- Create new file: C:\Users\USER_NAME\AppData\Local\nvim\init.vim and add configuration:
" enable Windows shortcuts Ctrl-C Ctrl-V etc. source $VIMRUNTIME/mswin.vim behave mswin " enable mouse selection set mouse=a " Gui GuiTabline 0 GuiPopupmenu 0 GuiLinespace 5 GuiFont Consolas:h13 set termguicolors filetype on syntax enable set encoding=utf-8 set background=light
- Add "Open with Neovim" to context menu of File Explorer
- Create a open-with-neovim.reg file:
Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open with Neovim] [HKEY_CURRENT_USER\SOFTWARE\Classes\*\shell\Open with Neovim\command] @="C:\\Utils\\Neovim\\bin\\nvim-qt.exe \"%1\""
- Click the reg file to add to Registry
Search This Blog
Neovim configuration on Windows
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment