Posts tagged ‘vim’

Struggling with “the Arch way”

So, I’m struggling somewhat with the move to Arch. Not that Arch is problematic in any way, it seems to be me and my “debianised thinking”.

I noticed that the Vim plugins that were packaged for Arch all install in system directories and hence are imposed on all users. Not a good thing. So, inspired by Debian’s vim-addons-manager, I hacked up a solution relying on pacman. Then I packaged two Vim plugins for Arch. The idea was to do rather than talk, so it wasn’t until after this that I asked for feedback on aur-general. Just to have the idea shot down :-)

Anyway, after being presented with an existing solution more inline with “the Arch way” I decided to try it out. I’ve now subscribed to using GetLatestVimScripts. Brilliant.

Now I need to convince the author of haskellmode to put it on vim.org and I really ought to get my packages off AUR.

Vim haskellmode packaged for Arch

WordPress and Scandinavian characters

I had some problems producing proper Swedish characters in WordPress for a little while. This only happened when using Mozex and Vim to edit posts.

The solution was quite simple :) I use UTF-8 encoding throughout my entire Ubuntu GNU/Linux system, every application defaults to it. Except Firefox, it seems. Making sure that the Character Encoding was set to UTF-8 solved it.

Using Vim to put text into text areas in Firefox (Mozilla)

I simply can’t stand editing text in the text areas using the editor in Firefox (Mozilla). Apparently there is still no edit externally command in Mozilla yet. Luckily there’s Mozex, but don’t try installing that version, use this instead (the original won’t install anymore). The original site is still useful though, since it holds a link to the arguments the different commands take.