Vimscript is a mechanism for reshaping and extending the Vim editor. Scripting allows you to create new tools, simplify common tasks, and even redesign and replace existing editor features. This article (the first in a series) introduces the fundamental components of the Vimscript programming language: values, variables, expressions, statements, functions, and commands.
Read more »Scripting the Vim editor, Part 1: Variables, values, and expressions
Category: High End Tags:
Speed-Typing in Vim With Maps and Abbreviations
Vim is still one of the most powerful text editors out there. One of its more useful features is that it allows you to set up your own abbreviations and mappings. These can speed up the typing of stock phrases or do far more complicated things. Enter these in command mode to try them out, or add them to your ~/.vimrc (without the initial colon) if you want them to stay.
Read more »Category: High End Tags:
- Login to post comments
a little vi trick
An update to my previous article My vi first steps
I use vi instead of command line editors to do mass replacing of blocks and editing many files in the following way:
say I know all files I need to edit in the current directory contain the text foo and the rest of the files don't.
I open all files containing foo in vi:
Read more »Category: End User Tags:
- Login to post comments
Vim Tip: Changing color schemes
Tired of the same old syntax color scheme in vim? Are you constantly toggling syntax on and off? Why not find a theme more to your liking?
Read more »- Login to post comments
Vimperator Cheat Sheet
a handy cheatsheet to keep on your desk or wall helping out with the vimperator plugin for Firefox. A week with this up and you won't be touching that mouse for quite some time.
Read more »- Login to post comments
Master Vim Registers for Advanced Copy
Want a better solutions for copying and pasting than the OS clipboard or the temporary buffer? Get to know Vim's registers.
Read more »- Login to post comments
Turn on Vim’s Spell checker
Did you know vim had a spell checker? Me neither. Goodbye OO.o Writer, hello sane keybindings!
Read more »- Login to post comments
Post to Twitter or Identi.ca in Vim
A twitter/identi.ca plugin for vim, pretty simple to use and you never have to leave the command line to use it.
Read more »- Login to post comments
Extensibility in Vim and Emacs
"Emacs and Vim both provide facility for extension. But as they represent divergent philosophies — Vim following the “small is beautiful” and “do one thing well” precepts of Unix, Emacs coming from a belief that the editor is an operational hub — they have different objectives here..."
Read more »Category: High End Tags:
- Login to post comments
A Single Command to Get Started on Functional Programming
"Functional Programming is old. Ancient. Like right after FORTRAN. But it’s the future. Trust me, I’m named after the dude who knew about Jesus 700 years early. Seriously, it’s not going to take 700 years for FP to go mainstream. Some would argue that it already is. Python, Ruby, and others have adopted a number of FP features.
Read more »Announcing my free book on Vim
"... I’m happy to announce the first public release of my Creative-Commons licensed book on the Vim 7 editor. This book is meant for both beginners and advanced users..." -- Make a Donation
Read more »Category: Community Tags:
- Login to post comments
from Vim to Emacs - part 2
"A while ago I've blogged about my switch from Vim to Emacs, promising a blog post series, quite a mouthful :-) nevertheless, it's time to continue the series. The first part was about why I think that nowadays Emacs is ready to be switching to. This second part is about flawed Vim design choices which substantially contributed to my choice..."
Read more »Category: Community Tags:
- Login to post comments
Close gedit, kick nano to the curb, and master vi/vim
Vi and Vim are extremely powerful text editors that are guaranteed to be on almost every *nix system you log into. You don't always have the comfort of a GUI & nano can be cumbersome when doing large tasks. Vi/Vim are an absolute necessity to every Linux admin and a life saver, so why not sit down, spend some time, and get to know your new friend
Read more »Category: Beginner Tags:
- Login to post comments
from Vim to Emacs - part 1
"Straight to the point: since mid September I've been using Emacs, trying to evaluate whether I was willing to switch from Vim to it. Yup, that's true, me (user of Vim since the day I've started using GNU/Linux 10 years ago, (not so) active maintainer in Debian of vim and related packages, author of some popular Vim extensions and of vim-addon-manager) it's considering switching to Emacs.
Read more »100 Vim commands every programmer should know
Since the 70’s, Vi is one of the programmer’s best friend. Nevermind you’re new to Vi or not, here’s a big list of 100 useful commands, organized by topic, which will make your coder life better.
Read more »- Login to post comments