
Set spellfile=C:/Users/your_username/vimfiles/cache/en.utf-8.add Set backupdir=C:/Users/your_username/vimfiles/cache/ Set dir=C:/Users/your_username/vimfiles/cache/ Set undodir=C:/Users/your_username/vimfiles/cache/ CTRL + w w, to hop between tree navigation and the editorĪlso some useful vimrc configuration: " some vim customs configuration.To open file in a tab mode, use capital T key instead of just enter.Here’s some useful keys when you are using nerdtree: And you can use enter to open the enter a folder or to open the file. With it you can navigate between files in your vim terminal like a file explorer, you can use the arrow key like up and down yo navigate each file you want to operate. NERDTree is a vim plugin to add file explorer interface to our vim. We only need to test if our nerdtree plugin is being installed or not, simply by opening your vim, type: vim
#Vimrc windows 10 install
Those are downloading nerdtree source code, without commit history, so it’s smaller in size.Īctually that’s the only required process of how you install a vim plugin on Windows, there's no extra things, except if you want to do configuration, but we're not going to do that right now.
#Vimrc windows 10 code
Now clone the source code of the vim plugin that we want to install, in this example, i am going to install nerdtree: cd vimfiles/pack/vendor/start Note that the HOME is your home directory, on windows, Home directory usually something like C:/Users/your_username. If the path doesn’t exist, you can manually create it. Move to HOME/vimfiles/pack/vendor/start directory using cd command. Now to install a plugin, let’s start by opening our windows command prompt or there is a new cool windows terminal (if you don’t know about windows terminal, this is a really cool terminal, you can read in my previous article here). Actually it’s very simple, but because vim users mostly are linux users, it kind of difficult to find a reference of Vim for Windows.


So if you are someone like me, struggling to install vim plugin, you can follow this step by step guide. As a beginner vim user, even just installing a plugin is already something that confusing, i don’t know why the first time i try to install vim plugin just doesn’t work, even though i believe i have followed the instruction correctly.
