Vim anti-patterns | Arabesque 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…
I'm hard at work on beta2. Feedback welcome.
I figure the MeFi crowd will be more interested than others in the genesis of the colors.
I had both the yellow and blue key hues in mind when I began this months ago. The blue is beautiful and terrifying to me when I use it at about 96% opacity. I have a very strong, long term fear of death by drowning and this correlates to what I imagine is the green blue of deep ocean water, filled with the sediment stirred up by the ocean liner as it impacts on the seabed. I realize there would be no visible light there, but that hardly matters.
The yellow is as close as I can get to my own synesthesia. I don't have wide ranging synesthesia where it's all magical sounds==colors==music. I have one color which is also a shape and a kind of smell/taste. It's all one thing and thinking about it brings all aspects of it immediately to mind/sensation. The yellow in Solarized is essentially this.
I first became aware of this one afternoon at home when my family lived in the woods on a lake. This lake is also bound up with my fear of deep water, so there is a pleasant, fearful symmetry to the whole thing for me.
I'd put this on the main Solarized page but I thought it might weird too many people out.*
soywiki SoyWiki turns Vim into a powerful, lean, and fast wiki. It's got all the protein of a more conventional wiki, but less saturated fat and no cholesterol.…
VimGolf - real Vim ninjas count every keystroke! Changelog, Rules & FAQ, challenge updates: @vimgolf, RSS.…
To insert the current date in vim:
:r !date
The Vim command :retab will reformat all the tabs in a file according to your tabstop and expandtab preferences. See :h retab.
Vim can save whatever document you're editing as HTML, and it even saves the colors of the vim syntax highlighting in the HTML. Do :h 2html to find out how. For some reason the conversion seems to work better if you have line numbering turned off.
Add this line to your bash profile:
alias g="gvim --remote-silent"
The remote-silent option means that when you gvim a file in your shell, the file opens in a new buffer in your existing vim session instead of in a new vim window/instance. I learned that from Derek Wyatt.
I made a new vim cheatsheet, with which I'm unusually satisfied.
Generate a key on your local machine with ssh-keygen. You can reasonably accept the defaults by hitting enter at each prompt. Then, upload the public key you just generated to your remote machine: ssh-copy-id -i ~/.ssh/id_rsa.pub myusername@myserver.com. You'll no longer need to type your password for ssh functions. This is especially handy if you're editing remote files with gvim's netrw script.
UPDATE: The script mentioned above isn't necessary. Just copy and paste the contents of id_rsa.pub into the ~/.ssh/authorized_keys file on the remote host.
I discovered that vim can edit a file inside a tar archive without the user having to un-tar and re-tar the whole thing. Handy.