I've been using Vim for about 2 years now, mostly because I can't figure out how to exit it.
— I Am Devloper (@iamdevloper) February 17, 2014
Tag: Vim
Vim.js – JavaScript port of Vim
Atwood’s Law –Â any application that can be written in JavaScript, will eventually be written in JavaScript – seems to be getting more and more traction. Â Here is the newest example – Vim.js – a JavaScript port of the popular editor Vim.
This is not a production day-to-day ready software yet, but it’s a good start. Â You can check out the project from GitHub and play with the source code.
Global .gitignore
gitignore is a very handy tool for ignoring unnecessary files in the project. Â Most large projects have .gitignore file included. Â Most small projects would benefit from one too. Â However, working as a developer on a variety of projects, it’s often difficult to add your own rules to all .gitignore files around. Â And that’s exactly what I wanted.
I’m using Vim editor for all my coding needs, and I wanted to add Vim swap file and backup file to all .gitignore files. Â That sounded like annoying, so instead I looked around for a global gitignore solution. Â As always, StackOverflow has an answer for everything. Â There is a way to disable extra files in Vim, but there is an even better way to have your own global .gitignore. Â Here is how to do it:
- Edit .gitconfig file in your home folder, and add excludesfile=~/.gitignore line to the core section.
- Create .gitignore file in your home folder with whatever rules you desire.
Once that is done, all your projects will ignore the files matching the rules. Â If you are not sure which rules to start with, borrow one of the gitignore files from this GitHub project.
Vikings – the kings of Vi.
Vikings – the kings of Vi.
Vim Koans
Mastery of Vimscript
A student enquired of Master Wq, “When will I know I have mastered Vimscript?”
Master Wq answered, “When you never use it.”