Showing entries with tag "Vim".

Found 2 entries

Vim: Plugins written in perl
Vim has it's own internal scripting language called [Vimscript](http://learnvimscriptthehardway.stevelosh.com/), which is complicated and only appropriate in Vim. Most versions of Vim ship with Perl support. I taught myself how to write a simple Vim script in Perl. The following will define a Vim function named CommaToggle, that calls a perl function named comma_toggle. This will toggle spaces after commas on/off. ``` function! CommaToggle() perl Cursor(); my $line =...
Vim: Creating a portable copy of your configuration
If you use Vim on any regular basis you've probably created your own custom `.vimrc` file, and maybe installed a plugin or two. This config is machine specific and is not the easiest thing to move from one machine to another. I found this cool project called [myvim](https://github.com/junegunn/myvim) that packages up your entire...