Plugin steroids for vim

3 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$49.99
List Price:  $69.99
You save:  $20
€43.53
List Price:  €60.94
You save:  €17.41
£38.37
List Price:  £53.73
You save:  £15.35
CA$70.64
List Price:  CA$98.91
You save:  CA$28.26
A$77.15
List Price:  A$108.02
You save:  A$30.86
S$65.34
List Price:  S$91.48
You save:  S$26.14
HK$388.67
List Price:  HK$544.17
You save:  HK$155.50
CHF 40.52
List Price:  CHF 56.74
You save:  CHF 16.21
NOK kr511.02
List Price:  NOK kr715.47
You save:  NOK kr204.44
DKK kr324.99
List Price:  DKK kr455.02
You save:  DKK kr130.02
NZ$88.57
List Price:  NZ$124
You save:  NZ$35.43
د.إ183.58
List Price:  د.إ257.03
You save:  د.إ73.45
৳6,094.36
List Price:  ৳8,532.59
You save:  ৳2,438.23
₹4,431.02
List Price:  ₹6,203.78
You save:  ₹1,772.76
RM209.73
List Price:  RM293.64
You save:  RM83.91
₦72,089.07
List Price:  ₦100,930.47
You save:  ₦28,841.40
₨14,133.98
List Price:  ₨19,788.71
You save:  ₨5,654.72
฿1,626.92
List Price:  ฿2,277.82
You save:  ฿650.90
₺2,104.84
List Price:  ₺2,946.94
You save:  ₺842.10
B$269.84
List Price:  B$377.80
You save:  B$107.96
R874.08
List Price:  R1,223.78
You save:  R349.70
Лв85.13
List Price:  Лв119.19
You save:  Лв34.06
₩72,239.71
List Price:  ₩101,141.38
You save:  ₩28,901.66
₪163.79
List Price:  ₪229.32
You save:  ₪65.53
₱2,942.91
List Price:  ₱4,120.31
You save:  ₱1,177.39
¥7,679.71
List Price:  ¥10,752.21
You save:  ¥3,072.50
MX$933.70
List Price:  MX$1,307.26
You save:  MX$373.55
QR182.05
List Price:  QR254.88
You save:  QR72.83
P674.92
List Price:  P944.94
You save:  P270.02
KSh6,458.70
List Price:  KSh9,042.70
You save:  KSh2,584
E£2,370.67
List Price:  E£3,319.12
You save:  E£948.45
ብር7,646.05
List Price:  ብር10,705.09
You save:  ብር3,059.03
Kz45,595.12
List Price:  Kz63,836.82
You save:  Kz18,241.70
CLP$47,335.03
List Price:  CLP$66,272.83
You save:  CLP$18,937.80
CN¥356.35
List Price:  CN¥498.92
You save:  CN¥142.57
RD$3,212.61
List Price:  RD$4,497.91
You save:  RD$1,285.30
DA6,537.35
List Price:  DA9,152.81
You save:  DA2,615.46
FJ$114.26
List Price:  FJ$159.98
You save:  FJ$45.71
Q383.17
List Price:  Q536.47
You save:  Q153.29
GY$10,458.29
List Price:  GY$14,642.44
You save:  GY$4,184.15
ISK kr6,351.72
List Price:  ISK kr8,892.92
You save:  ISK kr2,541.20
DH465.41
List Price:  DH651.61
You save:  DH186.20
L856.80
List Price:  L1,199.59
You save:  L342.79
ден2,678.16
List Price:  ден3,749.64
You save:  ден1,071.48
MOP$400.28
List Price:  MOP$560.42
You save:  MOP$160.14
N$869.72
List Price:  N$1,217.68
You save:  N$347.96
C$1,838.67
List Price:  C$2,574.29
You save:  C$735.61
रु7,091.58
List Price:  रु9,928.78
You save:  रु2,837.20
S/168.82
List Price:  S/236.37
You save:  S/67.54
K212.69
List Price:  K297.79
You save:  K85.09
SAR187.48
List Price:  SAR262.49
You save:  SAR75
ZK1,116
List Price:  ZK1,562.49
You save:  ZK446.49
L221.37
List Price:  L309.94
You save:  L88.56
Kč1,060.20
List Price:  Kč1,484.37
You save:  Kč424.16
Ft16,873.17
List Price:  Ft23,623.79
You save:  Ft6,750.61
SEK kr479.30
List Price:  SEK kr671.07
You save:  SEK kr191.76
ARS$72,881.81
List Price:  ARS$102,040.36
You save:  ARS$29,158.55
Bs345.43
List Price:  Bs483.63
You save:  Bs138.20
COP$192,898.38
List Price:  COP$270,073.17
You save:  COP$77,174.78
₡25,084.95
List Price:  ₡35,120.94
You save:  ₡10,035.98
L1,316.97
List Price:  L1,843.87
You save:  L526.89
₲354,318.90
List Price:  ₲496,074.81
You save:  ₲141,755.91
$U1,988.38
List Price:  $U2,783.89
You save:  $U795.51
zł185.40
List Price:  zł259.58
You save:  zł74.17
Already have an account? Log In

Transcript

In this chapter, we will be looking at how we can add external plugins to vim. vim has its own programming language for writing plugins, which we saw a glimpse of when writing the vim configuration file. Luckily, we won't have to learn all of that, because most of the stuff we can think of already has a plugin out there. To manage plugins. Let's install the plugin manager pathogen. We open the site and follow the installation instructions.

As you can see, it's a one line command. And after it finishes, pathogen to the vim configuration file, okay, most either show a tree layout of the folder structure in parallel with the open files. vim can do this also. And the simplest way to achieve this is by installing the plugin named nerd tree we open this site and follow the instructions for installing Now we should be all set. Let's open a file and type in our tree. And we see here a tree like structure of our current folder, where we can browse and open your files.

If you want vim to replace our either, this is certainly a mandatory plugin. Another awesome plugin that comes in really handy is called snip mate, and it's used for writing code snippets. To install it, we go to the link on the screen and follow the instructions. As we can see, before installing snip mate, there is another set of plugins that need to be installed. If we take a look at the readme, we can see an example for C files which has auto completion for the for keyword. Let's open a file with the extension by Before and heat up, we can see the autocomplete working.

We have also installed the vim snippet package, which comes with lots of snippets for different languages. If we take a look in its directory, we can see lots of snippet files. Let's check the JavaScript one. and here we can see all the snippets available. Type fun and hit tab for the function autocomplete. There are lots of plugins out there, people made all sorts of plugin packs that are guaranteed to put your vim on steroids.

One cool project is this one. It's nicknamed the ultimate vim plugin pack and it basically has plugins and keyboard shortcuts for everything. This is for the more advanced users. So Be sure to understand the basic concepts before jumping to plug in packs. Remember, the best way to learn is to install plugins manually and play with them one by one.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.