-
Uses native vim regexes (which are slightly different from the regexes used by grep, ack, ag, etc) so the patterns are the same as with vim's within-file search patterns.
You can do a normal within-file search first, then re-use the same pattern to
Uses native vim regexes (which are slightly different from the regexes used by grep, ack, ag, etc) so the patterns are the same as with vim's within-file search patterns.
You can do a normal within-file search first, then re-use the same pattern to
// How it works: https://youtu.be/IbfsvI6dh4U | |
@textFontSize: 20px; | |
@lineHeight: 1.5rem; | |
// Set up font size and line-height | |
html { | |
font-size: @textFontSize; | |
} |
// Gulp module imports | |
import {src, dest, watch, parallel, series} from 'gulp'; | |
import del from 'del'; | |
import livereload from 'gulp-livereload'; | |
import sass from 'gulp-sass'; | |
import minifycss from 'gulp-minify-css'; | |
import jade from 'gulp-jade'; | |
import gulpif from 'gulp-if'; | |
import babel from 'gulp-babel'; | |
import yargs from 'yargs'; |
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } | |
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ } | |
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } | |
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } | |
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } | |
@media (min-width:1281px) { /* hi-res laptops and desktops */ } |
All rules and guidelines in this document apply to PHP files unless otherwise noted. References to PHP/HTML files can be interpreted as files that primarily contain HTML, but use PHP for templating purposes.
The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this document are to be interpreted as described in RFC 2119.
Most sections are broken up into two parts:
set nocompatible | |
set exrc " enable per-directory .vimrc files | |
set secure " disable unsafe commands in local .vimrc files | |
autocmd! | |
" Enable spell checking for documents | |
au FileType tex,markdown,pandoc setlocal spell spelllang=en_us | |
" Set tab width and convert to space in certain files, based on the generally | |
" accepted format of community. |