Elric's random thoughts in idle times

"Why stop now, when I'm just starting to hate it?" – Marvin the robot

Archive for the ‘vim’ Category

First packages in AUR

leave a comment »

I’ve uploaded some PKGBUILDs for the first time. I hope somebody will find them useful, and that I’ll be able to get at least one (vim-doc-es) into Debian’s archives.

Mailcheck is a great tool that allows to check for local or remote (IMAP or POP) mailboxes or maildirs. I use it to check my local maildirs for Mutt, and to issue a notice when there are any new mails.

vim-doc-es is just a package to allow an easy install to those you want the Spanish translation of Vim’s helpfiles.

vim-po and vim-po-fork are tools (particularly the later) that help me a big deal when it comes to translate PO files. The second is definitely the plugin I use the most.

I hope I can get more useful (at least to me) packages into AUR.

Written by elric80

December 5, 2010 at 1:25 pm

Posted in Archlinux, vim

Tagged with

Using vim-addons and PO plugin

leave a comment »

I really like vim-addons. It provides a very convenient and quick way to install, enable, disable, and more, addons for Vim. You can do it per-user if you run without privileges (a link is created under ~/.vim, or system-wide. To work, it needs some data fields in a yaml file for every plugin. The package vim-scripts in Debian provides such file, so I just used that one.

By default, vim-addons searches for plugins under /usr/share/vim/addons, whereas the plugins provided by vim-scripts are located under /usr/share/vim-scripts. This means you can add any plugin under /addons with the knowledge that it won’t interfere with other vim-scripts.

The reason I did this is because I don’t like the PO plugin file provided with vim-scripts. I rather like its fork, which also includes documentation. This is the entry I created for it in /usr/share/vim/registry/vim-scripts.yaml. You can also create a new yaml file and place it under the same directory. I didn’t have to specify the field basedir, as I placed the files under vim/addons.

addon: po-fork
description: "Enhanced PO addon"
disabledby: "let loaded_alternateFile = 1"
- ftplugin/po.vim
- doc/po.txt

This done, use vim-addons list to see all addons with a yaml file, and vim-addons install addon to activate it. Use vim-addons help to get an idea of what you can do with this program.


Written by elric80

December 1, 2010 at 12:30 pm

Posted in debian, l10n, linux, vim

Tagged with , , , ,

Proyecto vim-doc-es. Manual de usuario de Vim en español.

leave a comment »

El proyecto vim-doc-es nació con la intención de ofrecer una correcta y completa traducción de Vim al español, incluyendo la documentación (páginas de manual y archivos de ayuda) así como la interfaz gráfica y los mensajes del programa. Read the rest of this entry »

Written by elric80

November 1, 2009 at 7:33 pm

Posted in l10n, vim

Tagged with , ,

Vimpress. Blogging in WordPress with Vim.

leave a comment »

I really like the fact that Vim can do nearly anything, with the appropiate script. Since Vim is a light app, it’s great that you can read your RSS feeds, play music and many more things with it.
Right now, I’m starting to enjoy Vimpress. No need to go to WordPress, edit new post, and pray that nothing goes wrong, and that you don’t lose what you wrote so far (which has happened to me, and I have posted less than 10 times, so far). Plus, the plugin supports tags and categories. You won’t have the html editing facilities WordPress provides you, but this script is powerful enough to do the majority of your tasks. Read the rest of this entry »

Written by elric80

October 27, 2009 at 4:44 am

Posted in linux, vim

Tagged with , ,