Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
72 changed files
with
10,567 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.* | ||
!.gitignore |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
let g:netrw_dirhistmax =10 | ||
let g:netrw_dirhist_cnt =5 | ||
let g:netrw_dirhist_1='/Users/lilix/Projects/home/.git/modules' | ||
let g:netrw_dirhist_2='/Users/lilix/Projects/home/.git/modules/vim' | ||
let g:netrw_dirhist_3='/Users/lilix/Projects/home/.git/modules/vim/bundle' | ||
let g:netrw_dirhist_4='/Users/lilix/.dot' | ||
let g:netrw_dirhist_5='/Users/lilix/.dot/.git' |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
if !has('conceal') | ||
finish | ||
endif | ||
|
||
|
||
syntax clear perlOperator | ||
syntax keyword perlOperator is | ||
|
||
syntax match perlLambda /\(=>\?\s*\)\@<=sub\(\W\)\@=/ conceal cchar=λ | ||
syntax match perlNiceOperator /\<in\>/ conceal cchar=∈ | ||
syntax match perlNiceOperator /\<or\>/ conceal cchar=∨ | ||
syntax match perlNiceOperator /\<and\>/ conceal cchar=∧ | ||
syntax match perlNiceOperator /\<not\>/ conceal cchar=¬ | ||
syntax match perlNiceOperator /\<foreach\>/ conceal cchar=∀ | ||
syntax match perlNiceOperator /\<for\>/ conceal cchar=∀ | ||
syntax match perlNiceOperator /\<exists\>/ conceal cchar=∃ | ||
syntax match perlNiceOperator containedin=ALL /<=/ conceal cchar=≤ | ||
syntax match perlNiceOperator containedin=ALL />=/ conceal cchar=≥ | ||
syntax match perlNiceOperator containedin=ALL /==/ conceal cchar=≡ | ||
syntax match perlNiceOperator containedin=ALL /!=/ conceal cchar=≠ | ||
syntax match perlNiceOperator containedin=ALL /=\~/ conceal cchar=≅ | ||
syntax match perlNiceOperator containedin=ALL /!\~/ conceal cchar=≆ | ||
syntax match perlNiceOperator containedin=ALL /=>/ conceal cchar=» | ||
syntax match perlNiceOperator containedin=ALL /\->/ conceal cchar=› | ||
|
||
hi link perlNiceOperator Operator | ||
hi link perlNiceStatement Statement | ||
hi! link Conceal Operator | ||
|
||
setl conceallevel=2 |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
noremap K :!perldoc <cword> <bar><bar> perldoc -f <cword><cr> | ||
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
set makeprg=perl\ -c\ %\ $* | ||
set errorformat=%f:%l:%m | ||
set keywordprg=perldoc\ -f | ||
set formatprg=perl\ -MText::Autoformat\ -e'autoformat' | ||
set formatoptions=qro | ||
set tabstop=4 | ||
set expandtab | ||
set tw=0 | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
let g:perl_compiler_force_warnings = 0 | ||
|
||
let perl_moose_stuff = 1 | ||
let perl_no_scope_in_variables = 1 | ||
let perl_no_sync_on_sub = 1 | ||
let perl_no_sync_on_global_var = 1 | ||
let perl_extended_vars = 1 | ||
let perl_include_pod = 1 | ||
let perl_string_as_statement = 1 | ||
let perl_sync_dist = 1000 | ||
let perl_want_scope_in_variables = 1 | ||
let perl_pod_formatting = 1 | ||
let perl_pod_spellcheck_headings = 1 | ||
"let perl_fold = 1 | ||
"let perl_fold_blocks = 1 | ||
"let perl_nofold_packages = 1 | ||
let perlhelp_prog = '/usr/bin/perldoc' | ||
|
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
hi! def link perlSubPrototypeError perlSubPrototype |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
set tabstop=4 | ||
set expandtab | ||
set tw=0 | ||
|
||
" we need the conceal feature (vim ≥ 7.3) | ||
if !has('conceal') | ||
finish | ||
endif | ||
|
||
" remove the keywords. we'll re-add them below | ||
syntax clear pythonOperator | ||
|
||
syntax match pythonOperator "\<is\>" | ||
|
||
syntax match pyNiceOperator "\<for\>" conceal cchar=∀ | ||
syntax match pyNiceOperator "\<in\>" conceal cchar=∈ | ||
syntax match pyNiceOperator "\<or\>" conceal cchar=∨ | ||
syntax match pyNiceOperator "\<and\>" conceal cchar=∧ | ||
" include the space after “not” – if present – so that “not a” becomes “¬a”. | ||
" also, don't hide “not” behind ‘¬’ if it is after “is ”. | ||
syntax match pyNiceOperator "\%(is \)\@<!\<not\%( \|\>\)" conceal cchar=¬ | ||
syntax match pyNiceOperator "\<not in\>" conceal cchar=∉ | ||
syntax match pyNiceOperator "<=" conceal cchar=≤ | ||
syntax match pyNiceOperator ">=" conceal cchar=≥ | ||
" only conceal “==” if alone, to avoid concealing SCM conflict markers | ||
syntax match pyNiceOperator "=\@<!===\@!" conceal cchar=≡ | ||
syntax match pyNiceOperator "!=" conceal cchar=≢ | ||
|
||
syntax keyword pyNiceOperator sum conceal cchar=∑ | ||
syntax match pyNiceOperator "\<\%(math\.\)\?sqrt\>" conceal cchar=√ | ||
syntax match pyNiceKeyword "\<\%(math\.\)\?pi\>" conceal cchar=π | ||
|
||
syntax keyword pyNiceStatement lambda conceal cchar=λ | ||
|
||
|
||
|
||
hi link pyNiceOperator Operator | ||
hi link pyNiceStatement Statement | ||
hi link pyNiceKeyword Keyword | ||
hi! link Conceal Operator | ||
|
||
setlocal conceallevel=2 | ||
setlocal concealcursor=i |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
set expandtab | ||
set tabstop=2 shiftwidth=2 softtabstop=2 | ||
set autoindent |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
set formatoptions=tqron1 |
Oops, something went wrong.