Having this plugin will make your vim be more like a GUI application. This is a plugin giving you a better outlooking for your status bar, where the basic information of the current file will be displayed, e.g. By installing this small plugin will help solve this problem. Use below command to quickly install this plugin: cd ~/.vim/bundle & git clone įor more details, please check: lightline Something not perfect for this plugin is that when you press enter on a directory, it will also open a new empty which does not make sense. Use below command to quickly install this plugin: git clone ~/.vim/bundle/nerdtreeįor more details, please check: vim-nerdtree-direnter The NERDTreeToggle command used most frequently is to toggle the file tree explorer. This is very helpful and intuitive when you are working with a bunch of files under some a root directory. NERDTree is nice plugin for your vim to have file tree on the left panel. cd ~/.vim/bundle & \įor more details, please check: NERDTree Think of sensible.vim as one step above 'nocompatible' mode: a universal set of defaults that (hopefully) everyone can agree on. For my personal experience, I only list the ones that I think is awesome. There are quite a lot of plugins available online. execute pathogen#infect()įiletype plugin indent on Awesome plugins Then add below line on the top of this file. For example, we use pathogen as plugins manager. And also, you need to configure your plugin manager function call inside this file. This will be the place where vim customisation settings is. vimrc file and .vim directory under home directory, e.g. mkdir -p ~/.vim/autoload ~/.vim/bundle & \Ĭurl -LSso ~/.vim/autoload/pathogen.vim. Pathogenįollow the installation guide from here: . I will choose pathogen as my plugin manager. Now let’s apply some plugins and configuration to make our vim be more beautiful and powerful.Ĭurrently there are 4 popular vim plugin managers to install plugins. We have learned about vim basics ( Mac Vim Usage – Basics) and some advanced usages ( Mac Vim Usage – Advanced). Install vim on macOS High Sierra using source code.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |