blinking_cursor is a short script for Vim that makes the cursor blink in x terms when the user switches in insert mode.
Version: 0.1blinking_cursor is a short script (with two c programs) for Vim that makes the cursor blink in x terms when the user switches in insert mode.
Operating System: Linux
Vim is a text editor first released by Bram Moolenaar in 1991 for the Amiga computer. Vim was created as an extended version of the vi editor, with many additional features designed to be helpful in editing program source code; its full name is Vi IMproved.
While Vim is cross-platform, it is most popular on Unix-like operating systems.
Released under a software license compatible with the GNU General Public License, Vim is free and open source software. The program's license includes some charityware clauses.
Like vi, Vim's interface is based not on menus or icons but on commands given in a text user interface; its GUI mode, gVim, adds menus and toolbars for commonly used commands but the full functionality is still expressed through its command line mode.
For many users learning Vim may be difficult and slow initially, but once the basics are understood they progress quickly and editing becomes more efficient. To facilitate this, Vim has a built-in tutorial for beginners. There is also the Vim Users' Manual that details the basic and more advanced Vim features. This manual can be read from within Vim, or found online.
Vim also has a built-in help facility (using the :help command) that allows users to query and navigate through commands and features.
Copy the archive somewhere in your Vim path (usually /usr/share/vim/addons/plugin if you've got root permissions or ~/.vim/plugin).
You can also put it anywhere as long as you keep 'vimblinkcursor' and 'vimstopblinking' along with blink_cursor.vim. In this case switch the script on manually into Vim with:
- untar the archive:
$ tar -zxvf blinking_cursor.tar.gz
- Make sure that your terminal isn't set to make the cursor blink (in gnome-terminal : Edit=>Current Profile...). If you want to keep the cursor blinking while not using vim, you can add this line in your ~/.bashrc file:
and in your ~/.vimrc:
au VimLeave * :silent! ! /full/path/to/the/scriptvimblinkcursor&
- If it doesn't work as expected, or if you are not on a i386-arch computer, compile vimblinkcursor and stopblinking sources again:
$ gcc vimblinkcursor.c -o vimblinkcursor
$ gcc vimstopblinking.c -o vimstopblinking