Recently, vim/emacs are regarded as too old-school text editor nobody wants to use as a development tool, instead VS code etc... or IDE are sort of de-facto among engineers for coding.
Many people misunderstand vim, the reason why vim is powerful is because by using vim we are using the entire Unix OS ecosystem as a single IDE.
The .vimrc allows you to configure and create the editor itself (https://github.com/keitaroemotion/my-vim-configs/blob/master/.vimrc), which allows you to automate and customize your editor to satisfy your needs.
Plus bash commands, are easily called in vim buffer with
![command]
or
.![command]
(the latter for putting the console output of the command called).
For example, when you need to implement the 500 records, which appears like:
SAMPLE_CODE("INDEX_1") THE NUMBER 1 IS REFERRED.
SAMPLE_CODE("INDEX_2") THE NUMBER 2 IS REFERRED.
....
SAMPLE_CODE("INDEX_N") THE NUMBER N IS REFERRED.
Then for those 500 records, you are going to elaborate on making the entire 500 records?
The bash script / python script etc helps you to create any functionality you want to integrate with your editor,:
https://github.com/keitaroemotion/sugautil/blob/master/scripts/bunshin
So the bunshin script solves this issue like this:
The above picture generates only upto 40, but for any arbitral template, as long as you define the formatting target as "{}", then you can make 10,000 sequences for seconds.
Of course, maybe some of these functionality already prepared in the plug-in market, but I think it's really tedious and inefficient you rely on the market each time and also your entire plugin data is in the hand of gigantic corporation Microsoft.
Though not criticizing the IDE users, the vim editor gives you much insight into how to automate/effectively give solution to your problems, and combined with your own bash scripts/python scripts/ vimscript then you maximize the productivity on your own, and handling large amount of data is not that scary for you any more.
No comments:
Post a Comment