Articles tagged 'vim'
January 11, 2016
If you’re like me, you like to have control over the plugins that you have installed in your editor setup. However, staying up to date with the different plugins can be a little bit of a hassle from time to time, so lately, I’ve been using YADR, a set of community maintained dotfiles.
A great autocompletion plugin that YADR comes with is neocomplete.vim, which “provides a keyword completion system by maintaining a cache of keywords in the current buffer”. Unfortunately, for it to work, it needs MacVim with Lua enabled.
Now, I already had MacVim installed through Caskroom:
which mvim # /usr/local/bin/mvim ls -l $(which mvim) # /usr/local/bin/mvim -> /opt/homebrew-cask/Caskroom/macvim/7.4-84/mvim
But this version was installed without Lua…
October 7, 2011
This post was originally published in the Rambling Labs Blog on October 7, 2011.
One of the first things I do when setting up my Vim on Ubuntu is download akitaonrails’ vimfiles, which has lots of cool stuff bundled. I like the dark theme that is set up (dark gray background and white foreground, and helps my sight issues).
Normally the blinking cursor is white background and black foreground. I don’t really know exactly when or how it happened (maybe when I installed CommandT), but I lost the blinking cursor… I mean, I didn’t lose it.. It was there… But it was invisible. And that annoys me ‘cause I can’t tell where I’m at in the file.
Thankfully, it’s an easy recovery. Just run what I found in Vim’s command mode:
highlight Cursor guifg
September 27, 2011
This post was originally published in the Rambling Labs Blog on September 27, 2011.
Yesterday, I made a fresh install of the latest msysGit (which is 1.7.6 as of right now).
I usually set up my vim using the akitaonrails vimfiles. So last night I was trying to do as I usually do, clone the repository with
git clone git://github.com/akitaonrails/vimfiles, and then cd into the just cloned repository and run
git submodule update --initto get all the bundled plugins.
This last command failed miserably with a
The program can't start because libiconv-2.dll is missing from your computer. Try reinstalling the program to fix this problemmessage. This didn’t happen to me with version 1.7.4 from msysGit, which I had installed before I formatted…
September 20, 2011
This post was originally published in the Rambling Labs Blog on September 20, 2011.
Last night I installed the latest version of RubyMine (just to have it as a backup plan though). I then tried to install the IdeaVIM plugin which, for older versions, had worked fine for me.
But guess what? I downloaded and installed the plugin, restarted the IDE and it didn’t work. I thought that was odd since it usually worked after restarting. Wondering if it was an issue with RubyMine, I tried with WebStorm and PhpStorm having the same result.
There it was… Tools -> VIM Emulator… unchecked…
September 18, 2011
This post was originally published in the Rambling Labs Blog on September 18, 2011.
So, I tweeted a question earlier today about what editor is preferred by the rubyists and, although I didn’t get many answers, it, combined with a recent discussion I had about RubyMine vs. Vim later, helped me clear my reasoning a bit.
By my reading of Agile Web Development With Rails and some people I follow on twitter, it seems that all the cool geeks use Vim (or TextMate or Emacs) for Ruby and Ruby on Rails programming instead of any IDE.
I once googled to find out that vim was way complicated to set up. That same time, I found akitaonrails vimfiles on github. Fairly easy to set up if you just follow the instructions. But today I realized that there…