Search through multiples files is a pain in neck, in applications like Sublime Text you can use the “find in […]
Tag: #viml
Vim automatic wrapping at 80 characters
If you want to force vim to always automatically wrap lines when it hits the 80 character mark, I would […]
Copy/Cut text to clipboard in vim
You can copy text in vim to clipboard while you are on visual mode using the command “+y also, you […]
Debug stack traces from within vim
I’ll often view server logs in vim and come across a stack trace. I usually want to see more context […]
Debug stack traces from within vim
I’ll often view server logs in vim and come across a stack trace. I usually want to see more context […]
Vim, Regex, and PHP – Search for PHP Namespace
Negative and positive look-behinds are kind of awkward in Vim’s flavor of Regex… so I figured I’d publish this regex […]
Vim, Regex, and PHP – Search for PHP Namespace
Negative and positive look-behinds are kind of awkward in Vim’s flavor of Regex… so I figured I’d publish this regex […]
writing sql/one liners in vim
sometimes, i find myself using vim to write long shell/ruby one liners or sql queries on multiple lines. this is […]
Diff with common ancestor while resolving merge conflicts in vim (with fugitive)
If you use vim but don’t use fugitive to resolve merge conflicts, I highly recommend watching http://vimcasts.org/episodes/fugitive-vim-resolving-merge-conflicts-with-vimdiff/ before reading the […]
Map :W to :w in vim
One of the most annoying things about vim for me was that I frequently typed :W instead of :w. This […]
Highlight text longer than 80 columns in vim
Add the following to your .vimrc to highlight any text that extends past the 80 column mark with a subtle […]
vim paragraph formatting to wrap at 80 characters
Forcing selected text to be limited to 80 characters within vim is fairly straightforward. Just do this: Set the text […]
Use the command line without leaving Vim
Open vim vim myfile.html Save the file :w Start a new git repo (use ‘:!’ + any command you like) […]