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
| #!/bin/bash | |
| mkdir -p "$basedir/../etc/$version/conf.d" | |
| etcbasedir="`readlink -f "$basedir/../etc/$version"`" | |
| configoptions="\ | |
| --with-config-file-path=$etcbasedir | |
| --with-config-file-scan-dir=$etcbasedir/conf.d | |
| --enable-debug \ |
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
| " Motion for "next/last object". For example, "din(" would go to the next "()" pair | |
| " and delete its contents. | |
| onoremap an :<c-u>call <SID>NextTextObject('a', 'f')<cr> | |
| xnoremap an :<c-u>call <SID>NextTextObject('a', 'f')<cr> | |
| onoremap in :<c-u>call <SID>NextTextObject('i', 'f')<cr> | |
| xnoremap in :<c-u>call <SID>NextTextObject('i', 'f')<cr> | |
| onoremap al :<c-u>call <SID>NextTextObject('a', 'F')<cr> | |
| xnoremap al :<c-u>call <SID>NextTextObject('a', 'F')<cr> |
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
| " folding for Markdown headers, both styles (atx- and setex-) | |
| " http://daringfireball.net/projects/markdown/syntax#header | |
| " | |
| " this code can be placed in file | |
| " $HOME/.vim/after/ftplugin/markdown.vim | |
| func! Foldexpr_markdown(lnum) | |
| let l1 = getline(a:lnum) | |
| if l1 =~ '^\s*$' |
NewerOlder