“This is the 13th day of my participation in the November Gwen Challenge. See details: The Last Gwen Challenge 2021”.

preface

  • We need to install Vundle before we can use vim-Airline

Related blog

Install Vundle

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Copy the code
  • VundleVim is now installed on your Linux system. No additional configuration is required. Note that executing the :PluginClean command removes vundle.vim. Bear in mind that
  • After downloading Vundle, we need to configure the ~/. Vimrc plugin. There should be no ~/. Vimrc file if you are installing it for the first time. We need to build it ourselves. But here I recommend a written VIMRC file.
https://github.com/stevenzscn/vim_install.git
Copy the code

  • I’m going to use Git to pull it down. A vIMRC template is provided.

  • We copy the file through cp.vimrc ~/.

  • Ok, now that we have the files ready we can install the plug-ins we need. Open Vim anywhere and type PluginInstall to complete the installation. Below is a screenshot of the installation

  • DONE is displayed in the lower right corner, indicating that the installation is successful. After the installation is complete, you can also see what is available via the :PluginList under Vim

  • Or download it from Vim:VundleInstallThe effect is the same after installation.

Install the airline

Airline’s installation is already included in the above script. HelpTags is executed at the end of the installation to generate help documentation. That’s when airline can use it.

  • Add in vim ~/.vimrcset t_Co=256The highlighted

  • At this point we’ve installed Airline and Nerdtree. A look at these two plugins transformed our Vim.

conclusion

  • NerdTree focuses on window management. Allows us to work in ViM mode without distraction. Just display the tree of files in our directory so we don’t have to be distracted.
  • Airline is an information provider and a beautification tool. With Airline we can see as much information in the Vim window as possible. And easier access to information