I'm glad to see that MacVim 183, released on April 8th, contains the fix for the…
Continue reading post "#4872"vim posts
Vim: Netrw SFTP error
I was annoyed by a problem that cropped up in the latest version of MacVim when using SFTP with the included Netrw plugin. It showed an error every time I opened a directory. So I filed a bug and helped get it fixed. I spent a fair amount of time looking for the exact commit in the Netrw code where the problem started. I then filed a GitHub issue about it with that information. It got fixed in like an hour, at least in the repo. Still waiting for it to make it to MacVim.
Continue reading post "Vim: Netrw SFTP error"vim.tiny and vimrc
I tried installing my dotfiles on an unmodified Ubuntu install. My vimrc threw many errors. Ubuntu and other Debian based distros install the tiny build of vim by default, which has a lot of features disabled, including eval, but still loads the user vimrc. That means that many things that might be in there, including function and even let, do not exist in tiny. :help no-eval-feature provides a solution: Wrap everything that should only work in +eval capable versions of vim in if 1 … endif.
Vim terminal mode config
Vim has a couple ways to run terminal commands from the editor. From ex command mode, :! will allow running a single command before breaking back to Vim, while :term will open a new terminal window within Vim, by default in a split, to run as many commands as you want. There are several settings in my vimrc that I add to make working with these terminal modes easier and nicer. I will share some of them below.
:wq Bram Moolenaar
Sad to hear of Bram Moolenaar's recent death. RIP. He was the creator and mai…
Continue reading post ":wq Bram Moolenaar"Vim autocomplete setup
After hours of playing and learning some details of vimscript, I have improved the autocomplete in vim almost to where I like it. I've made it work more like some GUI editors, eg Sublime and Atom, where it pops open automatically as I type and I can tab to apply the selected choice or otherwise type on and ignore it, and otherwise clean up the experience. The main thing I would like to add is fuzzy matching. I'd also like it to match more in-document words and work for more unknown file-types in a generic way.
Continue reading post "Vim autocomplete setup"