Skip to content

Instantly share code, notes, and snippets.

@csswizardry
csswizardry / README.md
Last active Aug 28, 2021
Vim without NERD tree or CtrlP
View README.md

Vim without NERD tree or CtrlP

I used to use NERD tree for quite a while, then switched to CtrlP for something a little more lightweight. My setup now includes zero file browser or tree view, and instead uses native Vim fuzzy search and auto-directory switching.

Fuzzy Search

There is a super sweet feature in Vim whereby you can fuzzy find your files using **/*, e.g.:

:vs **/*<partial file name><Tab>
@scmx
scmx / upgrade-install-ruby-2-1-2-ubuntu-12-04.md
Last active Nov 6, 2019
Upgrade/Install ruby 2.1.2 #ubuntu #12.04 #14.04
View upgrade-install-ruby-2-1-2-ubuntu-12-04.md

Upgrade/Install ruby 2.1.2

ubuntu 12.04 14.04

Reference http://stackoverflow.com/a/18490935/2037928

Login as root

Install needed packages

apt-get -y install build-essential zlib1g-dev libssl-dev libreadline6-dev libyaml-dev
@darcyparker
darcyparker / vimModeStateDiagram.svg
Last active Nov 18, 2021
Vim Modes Transition Diagram in SVG https://rawgithub.com/darcyparker/1886716/raw/eab57dfe784f016085251771d65a75a471ca22d4/vimModeStateDiagram.svg Note, most of the nodes in this graph have clickable hyperlinks to documentation.
View vimModeStateDiagram.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.