Show the full output of command :hi in a scratch buffer:
:Redir hi
Show the full output of command :!ls -al in a scratch buffer:
| #!/bin/sh | |
| # Alpine Linux genfstab | |
| # default location for mounted root | |
| SYSROOT=${SYSROOT:-/mnt} | |
| in_list() { | |
| local i="$1" | |
| shift | |
| while [ $# -gt 0 ]; do |
| #!/usr/bin/env python | |
| # A small modification of enkiv2's code: https://github.com/enkiv2/misc/blob/master/markov2tracery.py | |
| import collections | |
| import json | |
| import re | |
| import sys | |
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:
| ##### Example wpa_supplicant configuration file ############################### | |
| # | |
| # This file describes configuration file format and lists all available option. | |
| # Please also take a look at simpler configuration examples in 'examples' | |
| # subdirectory. | |
| # | |
| # Empty lines and lines starting with # are ignored | |
| # NOTE! This file may contain password information and should probably be made | |
| # readable only by root user on multiuser systems. |
| { | |
| "0": 48, "1": 49, "2": 50, "3": 51, "4": 52, "5": 53, "6": 54, "7": 55, | |
| "8": 56, "9": 57, "☺": 9786, "☻": 9787, "•": 8226, "◘": 9688, "○": 9675, "◙": 9689, | |
| "♂": 9794, "♀": 9792, "♪": 9834, "♫": 9835, "☼": 9788, "►": 9658, "◄": 9668, "‼": 8252, | |
| "▬": 9644, "↨": 8616, "↑": 8593, "↓": 8595, "→": 8594, "←": 8592, "∟": 8735, "▲": 9650, | |
| "▼": 9660, "!": 33, "\"": 34, "#": 35, "$": 36, "%": 37, "&": 38, "(": 40, | |
| ")": 41, "*": 42, "+": 43, ",": 44, "-": 45, ".": 46, "/": 47, "⌂": 8962, | |
| "░": 9617, "▒": 9618, "▓": 9619, ":": 58, ";": 59, "<": 60, "=": 61, ">": 62, | |
| "?": 63, "@": 64, "A": 65, "B": 66, "C": 67, "D": 68, "E": 69, "F": 70, | |
| "G": 71, "H": 72, "I": 73, "J": 74, "K": 75, "L": 76, "M": 77, "N": 78, |
| #Based on https://github.com/kevinhughes27/audiogrep-docker | |
| # DOCKER-VERSION 1.4.0 | |
| FROM ubuntu:14.04 | |
| RUN apt-get update | |
| RUN apt-get install -y software-properties-common | |
| # FFMPEG | |
| #The repository needs updating from the original | |
| #Note that ffmpeg not standardly available for Ubuntu 14.04: http://www.faqforge.com/linux/how-to-install-ffmpeg-on-ubuntu-14-04/ |
This is a collection of basic "recipes", many using twurl (the Swiss Army Knife for the Twitter API!) and jq to query the Twitter API and format the results. Also, some scripts to test or automate common actions.
| aries Good vibes in the air will help make today's Full Moon pleasant. You feel genuinely sympathetic and sensitive to the needs of partners and close friends. Gosh, golly, gee! | |
| taurus Today, the only Full Moon in your sign all year takes place. Fortunately for you, other planetary aspects nicely smooth everything over. (Looking good!) | |
| gemini This is an interesting day for love affairs, romance and sweet flirtations. Similarly, the arts and sports also are pleasantly blessed. Enjoy good times with children. | |
| cancer Even though there is some tension with today's Full Moon, it's still a very pleasant day with family members. People are gentle and kind to each other. | |
| leo Your communications with siblings and relatives are particularly warm and caring today because you appreciate where the other person is coming from and what he or she is going through. This is a good thing. | |
| virgo You might be tempted to spend too much money on elegance and luxury today. Just keep this in mind. Don't be rash with your hard-earned |