This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*cupcake.txt* SQL query runner | |
Author: Peter Rincker *cupcake-author* | |
License: Same terms as Vim itself (see |license|) | |
This plugin is only available if 'compatible' is not set. | |
============================================================================== | |
*cupcake* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Quick Replace | |
" Makes *``cgn like workflows faster by automatically moving to next match. Repeat with `.` | |
" | |
" Requires repeat.vim | |
" | |
" Example mappings: | |
" nmap cm <Plug>(quick-replace) | |
" xmap C <Plug>(quick-replace) | |
" | |
" mnemonic: cm for change matches |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Adapation form http://stackoverflow.com/a/1423394/438329 | |
if exists('b:loaded_cssfold') | |
finish | |
endif | |
let b:loaded_cssfold = 1 | |
let b:width = 25 | |
nnoremap <silent> <buffer> >s :<c-u>let b:width+=v:count1<cr><c-l> | |
nnoremap <silent> <buffer> <s :<c-u>let b:width-=v:count1<cr><c-l> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if exists('b:loaded_phpthis') || &cp | |
finish | |
endif | |
let b:loaded_phpthis = 1 | |
if !exists("b:undo_ftplugin") | |
let b:undo_ftplugin = "" | |
endif | |
function! s:synnames(...) abort |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Set b:formatprg to emulate a setlocal for formatprg | |
if exists('g:loaded_gq') || &cp || v:version < 700 | |
finish | |
endif | |
let g:loaded_gq = 1 | |
function! s:gq(type, ...) | |
let formatprg = &formatprg | |
let &formatprg = get(b:, 'formatprg', &formatprg) |
NewerOlder