Skip to content

Instantly share code, notes, and snippets.

View the-nerdery-dot-info's full-sized avatar

Michael Morrissey the-nerdery-dot-info

View GitHub Profile
@jahvi
jahvi / config.yaml
Created September 12, 2015 18:22
PuPHPet Magento 1 and 2 config
vagrantfile:
target: local
vm:
box: puphpet/ubuntu1404-x64
box_url: puphpet/ubuntu1404-x64
hostname: vagrant.dev
memory: '768'
cpus: '1'
chosen_provider: virtualbox
network:
@the-nerdery-dot-info
the-nerdery-dot-info / .vimrc
Last active August 5, 2017 00:22
My VIM RC File
" call plug#begin()
" Make sure you use single quotes
set nocompatible
filetype off
set rtp+=~/.vim/bundle/Vundle.vim
"VIM customizations
" General Config {
@romainl
romainl / Vim_pushing_built-in_features_beyond_their_limits.markdown
Last active September 19, 2023 08:16
Vim: pushing built-in features beyond their limits

Vim: pushing built-in features beyond their limits

The situation

Searching can be an efficient way to navigate the current buffer.

The first search commands we learn are usually / and ?. These are seriously cool, especially with the incsearch option enabled which lets us keep typing to refine our search pattern. / and ? really shine when all we want is to jump to something we already have our eyeballs on but they are not fit for every situation:

  • when we want to search something that's not directly there, those two commands can make us lose context very quickly,
  • when we need to compare the matches.