ALL
How to check why Vim is slow
On *nix, some processes may not be able to start up, software runs very slowly suddenly and software's "Segment Fault" are some issues faced by many *nix users. Here we show you how to use truss to trace why Vim becomes slow suddenly.Operating system : FreeBSD-5.2.1-releasvim version is 6.2.154, after typing vim on command line, sometimes we need to wait for a few minutes to get into the edit interface and there is no error output. After carefully checking .vimrc and all vim settings, there are no error configuration. Also there are no similar solutions online. Do we need to hack the source co...
Vim anti-patterns
The benefits of getting to grips with Vim are immense in terms of editing speed and maintaining your “flow†when you’re on a roll, whether writing code, poetry, or prose, but because the learning curve is so steep for a text editor, it’s very easy to retain habits from your time learning the editor that stick with you well into mastery. Because Vim makes you so fast and fluent, it’s especially hard to root these out because you might not even notice them, but it’s worth it. Here I’ll list some of the more common ones.Moving one line at a timeIf ...
3,303 0 VIM ANTI-PATTERN MACRO SYNTAX
Why, oh WHY, do those #?@! nutheads use vi?
Yes, even if you can't believe it, there are a lot fans of the 30-years-old vi editor (or its more recent, just-15-years-old, best clone & great improvement, vim). No, they are not dinosaurs who don't want to catch up with the times - the community of vi users just keeps growing: myself, I only got started 2 years ago (after over 10 years of being a professional programmer). Friends of mine are converting today. Heck, most vi users were not even born when vi was written! Yes, there are definite reasons why the vi/vim editing model is just superi...
Why I Use Vim
I've been using MacVIM as my editor of choice for a couple of years now, yetin many ways I still feel like a beginner. Every day I am learningmore and more about my editor, but it takes a conscious effort to become proficient withan editor like Vim. Here's why I make that effort.Editors are something that are very personal; they have to fit with your ownwork flow approach to programming. If you have ever stopped to think about it,the way each person goes about editing text is quite different. I frequentlypair program with colleagues and I find it amazing, and sometimes frustrating,to see how o...
Vim: revisited
I’ve had an off/on relationship with Vim for the past many years.Before, I never felt like we understood each other properly. Vim isalmost useless without plugins and some essential settings in .vimrc, but fiddling with all the knobs andinstalling all the plugins that I thought I needed was a process that inthe end stretched out from few hours to weeks, months even; and it theend it just caused frustration instead of making me a happier coder.Recently, I decided to give Vim another shot. This time around it wasdifferent – something in my brain switched and now for the first ti...
2,862 0 LINUX EDITOR VIM SETUP QUICK GUIDELINE
Emacs adventures
I have been using Emacs for over a year now. I actually didn’t learn a lot when I started using it (just the basics to get going and then some relatively common keyboard shortcuts), but lately I have been reading and learning much more about it. I’m so grateful by everything I’ve learned from different people on the net that I wanted to share a couple of things I’ve learned, and a simple major mode for editing AsciiDoc documents.As a long-time VIM user, I feel it’s my duty to make a micro-introduction to Emacs to VIM users (skip this whole paragraph if you...