Compare commits
4 Commits
9699e53627
...
5f3a75d94f
Author | SHA1 | Date |
---|---|---|
Simon Vieille | 5f3a75d94f | |
Simon Vieille | 12e73fcdbe | |
Simon Vieille | 1bfb5ba678 | |
Simon Vieille | ca892f0fcc |
|
@ -3,3 +3,9 @@ function $1($2) {
|
|||
$3
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet cc "function" bi
|
||||
/**
|
||||
* $1
|
||||
*/
|
||||
endsnippet
|
||||
|
|
|
@ -7,3 +7,11 @@ endsnippet
|
|||
snippet img "image" b
|
||||
![$2]($1 "$2")
|
||||
endsnippet
|
||||
|
||||
snippet fr "Fragment option"
|
||||
<!-- .element: class="fragment" -->
|
||||
endsnippet
|
||||
|
||||
snippet sl "Slider option"
|
||||
<!-- .slide: data-menu-title="" data-background-image="" data-transition="" -->
|
||||
endsnippet
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
snippet pf "Create a public function" b
|
||||
/*
|
||||
/**
|
||||
* $3.
|
||||
*
|
||||
* $4
|
||||
|
@ -11,7 +11,7 @@ public function $1($2)
|
|||
endsnippet
|
||||
|
||||
snippet ppf "Create a protected function" b
|
||||
/*
|
||||
/**
|
||||
* $3.
|
||||
*
|
||||
* $4
|
||||
|
@ -23,7 +23,7 @@ protected function $1($2)
|
|||
endsnippet
|
||||
|
||||
snippet pvf "Create a private function" b
|
||||
/*
|
||||
/**
|
||||
* $3.
|
||||
*
|
||||
* $4
|
||||
|
@ -41,7 +41,7 @@ $1
|
|||
endsnippet
|
||||
|
||||
snippet gs "Getter and setter"
|
||||
/*
|
||||
/**
|
||||
* Set the value of "$1".
|
||||
*
|
||||
* @param $2 \$$1
|
||||
|
@ -55,7 +55,7 @@ public function set${1/\w+\s*/\u$0/g}(\$$1)
|
|||
return \$this;
|
||||
}
|
||||
|
||||
/*
|
||||
/**
|
||||
* Get the value of "$1".
|
||||
*
|
||||
* @return $2
|
||||
|
@ -366,3 +366,19 @@ class $1
|
|||
$2
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet rest "JMS annotation" b
|
||||
/**
|
||||
* @JMS\Serializer\Annotation\SerializedName("$1")
|
||||
* @JMS\Serializer\Annotation\Groups({"$2"})
|
||||
* @JMS\Serializer\Annotation\VirtualProperty
|
||||
*/
|
||||
public function getRest${1/\w+\s*/\u$0/}()
|
||||
{
|
||||
return $this->get${1/\w+\s*/\u$0/}();
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet rest_class "JMS class annotation"
|
||||
* @JMS\Serializer\Annotation\ExclusionPolicy("all")
|
||||
endsnippet
|
||||
|
|
|
@ -8,6 +8,11 @@ endsnippet
|
|||
snippet schema "schema"
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<database defaultIdMethod="native" name="default" namespace="$1">
|
||||
<vendor type="mysql">
|
||||
<parameter name="Engine" value="InnoDB" />
|
||||
<parameter name="Charset" value="utf8" />
|
||||
</vendor>
|
||||
|
||||
$2
|
||||
</database>
|
||||
endsnippet
|
||||
|
@ -15,19 +20,19 @@ endsnippet
|
|||
|
||||
snippet table "table"
|
||||
<table name="$1" isCrossRef="$2">
|
||||
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true"/>
|
||||
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
||||
|
||||
<behavior name="timestampable"/>
|
||||
<behavior name="timestampable" />
|
||||
|
||||
<!--
|
||||
<foreign-key foreignTable="foo" onDelete="none" onUpdate="cascade">
|
||||
<reference local="foo_id" foreign="id"/>
|
||||
<reference local="foo_id" foreign="id" />
|
||||
</foreign-key>
|
||||
|
||||
<behavior name="sortable"/>
|
||||
<behavior name="sortable" />
|
||||
<behavior name="uploadable">
|
||||
<parameter name="fields" value="picture"/>
|
||||
<parameter name="paths" value="uploads/post/"/>
|
||||
<parameter name="fields" value="picture" />
|
||||
<parameter name="paths" value="uploads/post/" />
|
||||
</behavior>
|
||||
-->
|
||||
</table>
|
||||
|
@ -37,8 +42,12 @@ snippet id "id"
|
|||
<column name="id" type="INTEGER" primaryKey="true" required="true" autoIncrement="true" />
|
||||
endsnippet
|
||||
|
||||
snippet float "float"
|
||||
<column name="$1" type="FLOAT" required="false" />
|
||||
endsnippet
|
||||
|
||||
snippet int "int"
|
||||
<column name="$1" type="INTEGER" required="true" />
|
||||
<column name="$1" type="INTEGER" required="false" />
|
||||
endsnippet
|
||||
|
||||
snippet varchar "VARCHAR"
|
||||
|
@ -54,28 +63,28 @@ snippet longvarchar "LONGVARCHAR"
|
|||
endsnippet
|
||||
|
||||
snippet fk "fk"
|
||||
<column name="$1_id" type="integer" required="true" />
|
||||
<column name="$1_id" type="INTEGER" required="true" />
|
||||
|
||||
<foreign-key foreignTable="$1" name="fk_$1x" onDelete="cascade" onUpdate="cascade">
|
||||
<reference local="$1_id" foreign="id"/>
|
||||
<foreign-key foreignTable="$1" onDelete="cascade" onUpdate="cascade">
|
||||
<reference local="$1_id" foreign="id" />
|
||||
</foreign-key>
|
||||
<index name="fk_$1x_idx">
|
||||
<index>
|
||||
<index-column name="$1_id" />
|
||||
</index>
|
||||
endsnippet
|
||||
|
||||
snippet sort "sort"
|
||||
<behavior name="sortable"/>
|
||||
<behavior name="sortable" />
|
||||
endsnippet
|
||||
|
||||
snippet time "timestampable"
|
||||
<behavior name="timestampable"/>
|
||||
<behavior name="timestampable" />
|
||||
endsnippet
|
||||
|
||||
snippet upload "upload"
|
||||
<behavior name="uploadable">
|
||||
<parameter name="fields" value="$1"/>
|
||||
<parameter name="paths" value="uploads/$1/"/>
|
||||
<parameter name="fields" value="$1" />
|
||||
<parameter name="paths" value="uploads/$1/" />
|
||||
</behavior>
|
||||
endsnippet
|
||||
|
||||
|
@ -125,7 +134,7 @@ snippet phpunit
|
|||
processIsolation = "false"
|
||||
stopOnFailure = "false"
|
||||
syntaxCheck = "true"
|
||||
bootstrap = "vendor/autoload.php" >
|
||||
bootstrap = "vendor/autoload.php">
|
||||
|
||||
<testsuites>
|
||||
<testsuite name="$1">
|
||||
|
|
|
@ -0,0 +1,290 @@
|
|||
"
|
||||
" ____ ____
|
||||
" / ___|_ _ _ __ ___ _ __ ___ _ _| __ ) ___ __ _ _ __ ___
|
||||
" | | _| | | | '_ ` _ \| '_ ` _ \| | | | _ \ / _ \/ _` | '__/ __|
|
||||
" | |_| | |_| | | | | | | | | | | | |_| | |_) | __/ (_| | | \__ \
|
||||
" \____|\__,_|_| |_| |_|_| |_| |_|\__, |____/ \___|\__,_|_| |___/
|
||||
" |___/
|
||||
" By: Jose Elera Campana - https://github.com/jelera
|
||||
" Based: on jellybeans.vim and ir_black
|
||||
"
|
||||
" Support for 256 Color Terminal and Full Color graphical Vim
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
|
||||
" ********************************************************************************
|
||||
" Standard colors
|
||||
" Note, x:x:x are RGB values
|
||||
"
|
||||
" normal: #f6f3e8
|
||||
"
|
||||
" string: #A8FF60 168:255:96
|
||||
" string inner (punc, code, etc): #00A0A0 0:160:160
|
||||
" number: #FF73FD 255:115:253
|
||||
" comments: #7C7C7C 124:124:124
|
||||
" keywords: #96CBFE 150:203:254
|
||||
" operators: white
|
||||
" class: #FFFFB6 255:255:182
|
||||
" method declaration name: #FFD2A7 255:210:167
|
||||
" regular expression: #E9C062 233:192:98
|
||||
" regexp alternate: #FF8000 255:128:0
|
||||
" regexp alternate 2: #B18A3D 177:138:61
|
||||
" variable: #C6C5FE 198:197:254
|
||||
"
|
||||
" Misc colors:
|
||||
" red color (used for whatever): #FF6C60 255:108:96
|
||||
" light red: #FFB6B0 255:182:176
|
||||
"
|
||||
" brown: #E18964 good for special
|
||||
"
|
||||
" lightpurpleish: #FFCCFF
|
||||
"
|
||||
" Interface colors:
|
||||
" background color: black
|
||||
" cursor (where underscore is used): #FFA560 255:165:96
|
||||
" cursor (where block is used): white
|
||||
" visual selection: #1D1E2C
|
||||
" current line: #151515 21:21:21
|
||||
" search selection: #07281C 7:40:28
|
||||
" line number: #3D3D3D 61:61:61
|
||||
|
||||
|
||||
" ********************************************************************************
|
||||
" The following are the preferred 16 colors for your terminal
|
||||
" Colors Bright Colors
|
||||
" Black #4E4E4E #7C7C7C
|
||||
" Red #FF6C60 #FFB6B0
|
||||
" Green #A8FF60 #CEFFAB
|
||||
" Yellow #FFFFB6 #FFFFCB
|
||||
" Blue #96CBFE #FFFFCB
|
||||
" Magenta #FF73FD #FF9CFE
|
||||
" Cyan #C6C5FE #DFDFFE
|
||||
" White #EEEEEE #FFFFFF
|
||||
|
||||
|
||||
" ********************************************************************************
|
||||
|
||||
if version > 580
|
||||
hi clear
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
endif
|
||||
|
||||
let g:colors_name = "gummybears"
|
||||
|
||||
if !has("gui_running") && &t_Co != 88 && &t_Co != 256
|
||||
finish
|
||||
endif
|
||||
|
||||
|
||||
"hi Example guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
|
||||
" General colors
|
||||
hi Normal guifg=#ababa4 guibg=#0d0c0d gui=NONE ctermfg=251 ctermbg=233 cterm=NONE
|
||||
hi NonText guifg=#a800a8 guibg=#000000 gui=NONE ctermfg=206 ctermbg=0 cterm=NONE
|
||||
|
||||
hi Cursor guifg=#000000 guibg=#f0f000 gui=NONE ctermfg=0 ctermbg=11 cterm=reverse
|
||||
hi LineNr guifg=#3D3D3D guibg=#000000 gui=NONE ctermfg=237 ctermbg=0 cterm=NONE
|
||||
|
||||
hi VertSplit guifg=#202020 guibg=#202020 gui=NONE ctermfg=234 ctermbg=234 cterm=NONE
|
||||
hi StatusLine guifg=#9cffd3 guibg=#202020 gui=NONE ctermfg=85 ctermbg=234 cterm=NONE
|
||||
hi StatusLineNC guifg=#000000 guibg=#202020 gui=bold ctermfg=0 ctermbg=234 cterm=BOLD
|
||||
|
||||
hi FoldColumn guifg=#a0a8b0 guibg=#384048 gui=NONE ctermfg=248 ctermbg=238 cterm=NONE
|
||||
hi Folded guifg=#a0a8b0 guibg=#384048 gui=NONE ctermfg=248 ctermbg=238 cterm=NONE
|
||||
|
||||
hi Title guifg=#498994 guibg=NONE gui=BOLD,ITALIC ctermfg=68 ctermbg=NONE cterm=BOLD
|
||||
hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=237 cterm=NONE
|
||||
|
||||
hi SpecialKey guifg=#505050 guibg=#000000 gui=NONE ctermfg=239 ctermbg=0 term=NONE
|
||||
|
||||
hi WildMenu guifg=#28882c guibg=#f0f000 gui=NONE ctermfg=28 ctermbg=11 cterm=NONE
|
||||
hi PmenuSbar guifg=#000000 guibg=#ffffff gui=NONE ctermfg=0 ctermbg=15 cterm=NONE
|
||||
|
||||
hi Error guifg=NONE guibg=NONE gui=UNDERCURL guisp=#FF6C60 ctermfg=15 ctermbg=88 cterm=NONE
|
||||
hi ErrorMsg guifg=#e8e8d3 guibg=#902020 gui=BOLD ctermfg=15 ctermbg=203 cterm=BOLD
|
||||
hi WarningMsg guifg=#ffffff guibg=#ff8cc2 gui=BOLD ctermfg=15 ctermbg=203 cterm=BOLD
|
||||
|
||||
" Message displayed in lower left, such as --INSERT--
|
||||
hi ModeMsg guifg=#000000 guibg=#C6C5FE gui=BOLD ctermfg=0 ctermbg=189 cterm=BOLD
|
||||
|
||||
if version >= 700 " Vim 7.x specific colors
|
||||
hi CursorLine guifg=NONE guibg=#000000 gui=NONE ctermfg=NONE ctermbg=16 cterm=NONE
|
||||
hi CursorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=233 cterm=BOLD
|
||||
hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=BOLD ctermfg=7 ctermbg=243 cterm=BOLD
|
||||
hi Pmenu guifg=#f6f3e8 guibg=#444444 gui=NONE ctermfg=7 ctermbg=238 cterm=NONE
|
||||
hi PmenuSel guifg=#000000 guibg=#cae682 gui=NONE ctermfg=0 ctermbg=186 cterm=NONE
|
||||
hi Search guifg=#f0a0c0 guibg=#302028 gui=UNDERLINE ctermfg=176 ctermbg=53 cterm=underline
|
||||
endif
|
||||
|
||||
hi IncSearch guifg=#101314 guibg=#21d0eb gui=NONE ctermfg=234 ctermbg=6 cterm=NONE
|
||||
|
||||
" Syntax highlighting
|
||||
hi Comment guifg=#585858 guibg=NONE gui=ITALIC ctermfg=240 ctermbg=NONE cterm=NONE
|
||||
hi String guifg=#9fba4d guibg=NONE gui=NONE ctermfg=143 ctermbg=NONE cterm=NONE
|
||||
hi Number guifg=#cf6a4c guibg=NONE gui=NONE ctermfg=130 ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Keyword guifg=#ffb964 guibg=NONE gui=ITALIC ctermfg=214 ctermbg=NONE cterm=BOLD
|
||||
hi PreProc guifg=#2688bd guibg=NONE gui=BOLD ctermfg=75 ctermbg=NONE cterm=BOLD
|
||||
hi Conditional guifg=#ffb964 guibg=NONE gui=NONE ctermfg=214 ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Todo guifg=#a1178a guibg=#e8db27 gui=BOLD,UNDERLINE ctermfg=89 ctermbg=227 cterm=BOLD
|
||||
hi Constant guifg=#de5833 guibg=NONE gui=BOLD,ITALIC ctermfg=130 ctermbg=NONE cterm=BOLD
|
||||
|
||||
hi Identifier guifg=#7e749c guibg=NONE gui=NONE ctermfg=104 ctermbg=NONE cterm=NONE
|
||||
hi Function guifg=#edbf62 guibg=NONE gui=BOLD ctermfg=172 ctermbg=NONE cterm=BOLD
|
||||
hi Type guifg=#b86e1e guibg=NONE gui=BOLD,ITALIC ctermfg=172 ctermbg=NONE cterm=BOLD
|
||||
hi Statement guifg=#6894de guibg=NONE gui=ITALIC ctermfg=75 ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Special guifg=#458c27 guibg=NONE gui=NONE ctermfg=31 ctermbg=NONE cterm=NONE
|
||||
hi Delimiter guifg=#668799 guibg=NONE gui=NONE ctermfg=74 ctermbg=NONE cterm=NONE
|
||||
hi Operator guifg=#6ab6ba guibg=NONE gui=NONE ctermfg=44 ctermbg=NONE cterm=NONE
|
||||
|
||||
" VimDiff colors
|
||||
hi DiffAdd guifg=#fcfcfc guibg=#034a08 gui=NONE ctermfg=250 ctermbg=22 cterm=NONE
|
||||
hi DiffChange guifg=#e8e8d3 guibg=#65337a gui=ITALIC ctermfg=250 ctermbg=93 cterm=NONE
|
||||
hi DiffDelete guifg=#ff0000 guibg=#330000 gui=NONE ctermfg=1 ctermbg=88 cterm=NONE
|
||||
hi DiffText guifg=#000000 guibg=#b84fb8 gui=BOLD ctermfg=232 ctermbg=207 cterm=BOLD
|
||||
|
||||
hi Character guifg=#cf6a4c guibg=NONE gui=NONE ctermfg=209 ctermbg=NONE cterm=NONE
|
||||
hi Boolean guifg=#8197bf guibg=NONE gui=NONE ctermfg=75 ctermbg=NONE cterm=NONE
|
||||
hi Repeat guifg=#ffb964 guibg=NONE gui=NONE ctermfg=166 ctermbg=NONE cterm=NONE
|
||||
hi Exception guifg=#d75faf guibg=NONE gui=NONE ctermfg=133 ctermbg=NONE cterm=NONE
|
||||
hi Include guifg=#8fbfdc guibg=NONE gui=NONE ctermfg=75 ctermbg=NONE cterm=NONE
|
||||
hi StorageClass guifg=#c59f6f guibg=NONE gui=NONE ctermfg=173 ctermbg=NONE cterm=NONE
|
||||
hi Tag guifg=#799d6a guibg=NONE gui=NONE ctermfg=77 ctermbg=NONE cterm=NONE
|
||||
hi Ignore guifg=#e2e4e5 guibg=NONE gui=NONE ctermfg=250 ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Directory guifg=#dad085 guibg=NONE gui=NONE ctermfg=221 ctermbg=NONE cterm=NONE
|
||||
hi LocalVariable guifg=#663d7a guibg=NONE gui=NONE ctermfg=96 ctermbg=NONE cterm=NONE
|
||||
hi Question guifg=#59aba7 guibg=NONE gui=NONE ctermfg=44 ctermbg=NONE cterm=NONE
|
||||
|
||||
hi link Float Number
|
||||
hi link Label Repeat
|
||||
hi link Typedef Repeat
|
||||
hi link Define Include
|
||||
hi link Macro Include
|
||||
hi link PreCondit Include
|
||||
hi link Structure Include
|
||||
hi link SpecialChar Tag
|
||||
hi link SpecialComment Tag
|
||||
hi link Debug Tag
|
||||
hi link CTagsClass Ignore
|
||||
hi link CTagsGlobalConstant Ignore
|
||||
hi link CTagsGlobalVariable Ignore
|
||||
hi link CTagsImport Ignore
|
||||
hi link CTagsMember Ignore
|
||||
hi link DefinedName Ignore
|
||||
hi link EnumerationName Ignore
|
||||
hi link EnumerationValue Ignore
|
||||
hi link MoreMsg Ignore
|
||||
hi link Union Ignore
|
||||
hi link VisualNOS Ignore
|
||||
hi link phpStringDouble Ignore
|
||||
|
||||
|
||||
" Special for Ruby
|
||||
hi rubyRegexp guifg=#B18A3D guibg=NONE gui=NONE ctermfg=137 ctermbg=NONE cterm=NONE
|
||||
hi rubyRegexpDelimiter guifg=#FF8000 guibg=NONE gui=NONE ctermfg=208 ctermbg=NONE cterm=NONE
|
||||
hi rubyEscape guifg=#ffffff guibg=NONE gui=NONE ctermfg=15 ctermbg=NONE cterm=NONE
|
||||
hi rubyInterpolationDelimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=37 ctermbg=NONE cterm=NONE
|
||||
hi rubyControl guifg=#6699CC guibg=NONE gui=NONE ctermfg=68 ctermbg=NONE cterm=NONE
|
||||
"hi rubyGlobalVariable guifg=#FFCCFF guibg=NONE gui=NONE ctermfg=225 ctermbg=NONE cterm=NONE
|
||||
hi rubyStringDelimiter guifg=#336633 guibg=NONE gui=NONE ctermfg=238 ctermbg=NONE cterm=NONE
|
||||
"rubyInclude
|
||||
"rubySharpBang
|
||||
"rubyAccess
|
||||
"rubyPredefinedVariable
|
||||
"rubyBoolean
|
||||
"rubyClassVariable
|
||||
"rubyBeginEnd
|
||||
"rubyRepeatModifier
|
||||
"hi link rubyArrayDelimiter Special " [ , , ]
|
||||
"rubyCurlyBlock { , , }
|
||||
|
||||
hi link rubyClass Keyword
|
||||
hi link rubyModule Keyword
|
||||
hi link rubyKeyword Keyword
|
||||
hi link rubyOperator Operator
|
||||
hi link rubyIdentifier Identifier
|
||||
hi link rubyInstanceVariable Identifier
|
||||
hi link rubyGlobalVariable Identifier
|
||||
hi link rubyClassVariable Identifier
|
||||
hi link rubyConstant Type
|
||||
|
||||
|
||||
" Special for Java
|
||||
" hi link javaClassDecl Type
|
||||
hi link javaScopeDecl Identifier
|
||||
hi link javaCommentTitle javaDocSeeTag
|
||||
hi link javaDocTags javaDocSeeTag
|
||||
hi link javaDocParam javaDocSeeTag
|
||||
hi link javaDocSeeTagParam javaDocSeeTag
|
||||
|
||||
hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=252 ctermbg=NONE cterm=NONE
|
||||
"hi javaClassDecl guifg=#CCFFCC guibg=NONE gui=NONE ctermfg=194 ctermbg=NONE cterm=NONE
|
||||
|
||||
|
||||
" Special for HTML
|
||||
hi htmlH1 guifg=#22aba4 guibg=NONE gui=UNDERLINE ctermfg=38 ctermbg=NONE cterm=BOLD
|
||||
hi htmlLink guifg=#c777ff guibg=NONE gui=NONE ctermfg=171 ctermbg=NONE cterm=BOLD
|
||||
hi htmlString guifg=#799668 guibg=NONE gui=NONE ctermfg=100 ctermbg=NONE cterm=NONE
|
||||
hi htmlTagName guifg=#b097b0 guibg=NONE gui=NONE ctermfg=175 ctermbg=NONE cterm=NONE
|
||||
hi link htmlTag Keyword
|
||||
hi link htmlEndTag Identifier
|
||||
hi link htmlH2 htmlH1
|
||||
hi link htmlH3 htmlH1
|
||||
hi link htmlH4 htmlH1
|
||||
|
||||
" Special for Javascript
|
||||
hi link javaScriptBrowserObjects htmlString
|
||||
hi link javaScriptDOMObjects htmlString
|
||||
|
||||
" Special for XML
|
||||
hi link xmlTag Keyword
|
||||
hi link xmlTagName htmlTagName
|
||||
hi link xmlEndTag Identifier
|
||||
|
||||
|
||||
" Special for CSS
|
||||
hi cssTagName guifg=#70a8dd gui=BOLD ctermfg=74 cterm=BOLD
|
||||
hi cssBoxProp guifg=#d0af76 gui=NONE ctermfg=180 gui=NONE
|
||||
hi link cssColorProp cssBoxProp
|
||||
hi link cssFontProp cssBoxProp
|
||||
hi link cssTextProp cssBoxProp
|
||||
hi cssPseudoClassId guifg=#9ccfdd gui=italic ctermfg=152 cterm=NONE
|
||||
hi cssIdentifier guifg=#3fc493 gui=italic ctermfg=115 cterm=NONE
|
||||
|
||||
" Special for Markdown
|
||||
hi link markdownUrl htmlLink
|
||||
hi markdownCode guibg=#3a3a3a guifg=#a7bee4 gui=BOLD ctermbg=237 ctermfg=152 cterm=BOLD
|
||||
hi markdownCodeBlock guifg=#c5b1e4 ctermfg=182
|
||||
hi markdownLinkText guifg=#0087ff ctermfg=33
|
||||
|
||||
hi markdownH1 guifg=#00af87 guibg=NONE gui=BOLD,ITALIC,UNDERLINE ctermfg=36 ctermbg=NONE cterm=BOLD
|
||||
hi markdownH2 guifg=#22aba4 guibg=NONE gui=BOLD,UNDERLINE ctermfg=38 ctermbg=NONE cterm=BOLD
|
||||
hi markdownH3 guifg=#00d7af guibg=NONE gui=ITALIC,UNDERLINE ctermfg=43 ctermbg=NONE cterm=BOLD
|
||||
|
||||
hi markdownBold guifg=#878700 guibg=NONE gui=BOLD ctermfg=100 ctermbg=NONE cterm=BOLD
|
||||
hi markdownItalic guifg=#af8700 guibg=NONE gui=ITALIC ctermfg=130 ctermbg=NONE cterm=NONE
|
||||
|
||||
hi markdownOrderedListMarker guifg=#5fff00 gui=BOLD ctermfg=82 cterm=BOLD
|
||||
hi markdownListMarker guifg=#ffff00 gui=BOLD ctermfg=226 cterm=BOLD
|
||||
|
||||
hi markdownBlockQuote guifg=#00ffff gui=BOLD ctermfg=14 cterm=BOLD
|
||||
|
||||
" Special for Javascript
|
||||
hi JavaScriptStrings guifg=#26b3ac guibg=NONE gui=ITALIC ctermfg=45 ctermbg=NONE cterm=NONE
|
||||
hi link javaScriptNumber Number
|
||||
|
||||
" Special for Python
|
||||
"hi link pythonEscape Keyword
|
||||
hi pythonBuiltin guifg=#50bf95 guibg=NONE gui=ITALIC ctermfg=42 cterm=UNDERLINE
|
||||
|
||||
|
||||
" Special for CSharp
|
||||
hi link csXmlTag Keyword
|
||||
|
||||
" Special for PHP
|
||||
hi phpDefine guifg=#ffc795 gui=BOLD ctermfg=209 cterm=BOLD
|
||||
hi phpStringSingle guifg=#e8e8d3 guibg=NONE gui=NONE ctermfg=250 ctermbg=NONE cterm=NONE
|
|
@ -0,0 +1,212 @@
|
|||
" ir_black color scheme
|
||||
" More at: http://blog.infinitered.com/entries/show/8
|
||||
|
||||
|
||||
" ********************************************************************************
|
||||
" Standard colors used in all ir_black themes:
|
||||
" Note, x:x:x are RGB values
|
||||
"
|
||||
" normal: #f6f3e8
|
||||
"
|
||||
" string: #A8FF60 168:255:96
|
||||
" string inner (punc, code, etc): #00A0A0 0:160:160
|
||||
" number: #FF73FD 255:115:253
|
||||
" comments: #7C7C7C 124:124:124
|
||||
" keywords: #96CBFE 150:203:254
|
||||
" operators: white
|
||||
" class: #FFFFB6 255:255:182
|
||||
" method declaration name: #FFD2A7 255:210:167
|
||||
" regular expression: #E9C062 233:192:98
|
||||
" regexp alternate: #FF8000 255:128:0
|
||||
" regexp alternate 2: #B18A3D 177:138:61
|
||||
" variable: #C6C5FE 198:197:254
|
||||
"
|
||||
" Misc colors:
|
||||
" red color (used for whatever): #FF6C60 255:108:96
|
||||
" light red: #FFB6B0 255:182:176
|
||||
"
|
||||
" brown: #E18964 good for special
|
||||
"
|
||||
" lightpurpleish: #FFCCFF
|
||||
"
|
||||
" Interface colors:
|
||||
" background color: black
|
||||
" cursor (where underscore is used): #FFA560 255:165:96
|
||||
" cursor (where block is used): white
|
||||
" visual selection: #1D1E2C
|
||||
" current line: #151515 21:21:21
|
||||
" search selection: #07281C 7:40:28
|
||||
" line number: #3D3D3D 61:61:61
|
||||
|
||||
|
||||
" ********************************************************************************
|
||||
" The following are the preferred 16 colors for your terminal
|
||||
" Colors Bright Colors
|
||||
" Black #4E4E4E #7C7C7C
|
||||
" Red #FF6C60 #FFB6B0
|
||||
" Green #A8FF60 #CEFFAB
|
||||
" Yellow #FFFFB6 #FFFFCB
|
||||
" Blue #96CBFE #FFFFCB
|
||||
" Magenta #FF73FD #FF9CFE
|
||||
" Cyan #C6C5FE #DFDFFE
|
||||
" White #EEEEEE #FFFFFF
|
||||
|
||||
|
||||
" ********************************************************************************
|
||||
set background=dark
|
||||
hi clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let colors_name = "ir_black"
|
||||
|
||||
|
||||
"hi Example guifg=NONE guibg=NONE gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
|
||||
" General colors
|
||||
hi Normal guifg=#f6f3e8 guibg=black gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi NonText guifg=#070707 guibg=black gui=NONE ctermfg=black ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Cursor guifg=black guibg=white gui=NONE ctermfg=black ctermbg=white cterm=reverse
|
||||
hi LineNr guifg=#3D3D3D guibg=black gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
|
||||
|
||||
hi VertSplit guifg=#202020 guibg=#202020 gui=NONE ctermfg=darkgray ctermbg=darkgray cterm=NONE
|
||||
hi StatusLine guifg=#CCCCCC guibg=#202020 gui=italic ctermfg=white ctermbg=darkgray cterm=NONE
|
||||
hi StatusLineNC guifg=black guibg=#202020 gui=NONE ctermfg=blue ctermbg=darkgray cterm=NONE
|
||||
|
||||
hi Folded guifg=#a0a8b0 guibg=#384048 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Title guifg=#f6f3e8 guibg=NONE gui=bold ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Visual guifg=NONE guibg=#262D51 gui=NONE ctermfg=NONE ctermbg=darkgray cterm=NONE
|
||||
|
||||
hi SpecialKey guifg=#808080 guibg=#343434 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
|
||||
hi WildMenu guifg=green guibg=yellow gui=NONE ctermfg=black ctermbg=yellow cterm=NONE
|
||||
hi PmenuSbar guifg=black guibg=white gui=NONE ctermfg=black ctermbg=white cterm=NONE
|
||||
"hi Ignore guifg=gray guibg=black gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Error guifg=NONE guibg=NONE gui=undercurl ctermfg=white ctermbg=red cterm=NONE guisp=#FF6C60 " undercurl color
|
||||
hi ErrorMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=white ctermbg=red cterm=NONE
|
||||
hi WarningMsg guifg=white guibg=#FF6C60 gui=BOLD ctermfg=white ctermbg=red cterm=NONE
|
||||
|
||||
" Message displayed in lower left, such as --INSERT--
|
||||
hi ModeMsg guifg=black guibg=#C6C5FE gui=BOLD ctermfg=black ctermbg=cyan cterm=BOLD
|
||||
|
||||
if version >= 700 " Vim 7.x specific colors
|
||||
hi CursorLine guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD
|
||||
hi CursorColumn guifg=NONE guibg=#121212 gui=NONE ctermfg=NONE ctermbg=NONE cterm=BOLD
|
||||
hi MatchParen guifg=#f6f3e8 guibg=#857b6f gui=BOLD ctermfg=white ctermbg=darkgray cterm=NONE
|
||||
hi Pmenu guifg=#f6f3e8 guibg=#444444 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi PmenuSel guifg=#000000 guibg=#cae682 gui=NONE ctermfg=NONE ctermbg=NONE cterm=NONE
|
||||
hi Search guifg=NONE guibg=NONE gui=underline ctermfg=NONE ctermbg=NONE cterm=underline
|
||||
endif
|
||||
|
||||
" Syntax highlighting
|
||||
hi Comment guifg=#7C7C7C guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
|
||||
hi String guifg=#A8FF60 guibg=NONE gui=NONE ctermfg=green ctermbg=NONE cterm=NONE
|
||||
hi Number guifg=#FF73FD guibg=NONE gui=NONE ctermfg=magenta ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Keyword guifg=#96CBFE guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
|
||||
hi PreProc guifg=#96CBFE guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
|
||||
hi Conditional guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE " if else end
|
||||
|
||||
hi Todo guifg=#8f8f8f guibg=NONE gui=NONE ctermfg=red ctermbg=NONE cterm=NONE
|
||||
hi Constant guifg=#99CC99 guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Identifier guifg=#C6C5FE guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
|
||||
hi Function guifg=#FFD2A7 guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
|
||||
hi Type guifg=#FFFFB6 guibg=NONE gui=NONE ctermfg=yellow ctermbg=NONE cterm=NONE
|
||||
hi Statement guifg=#6699CC guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE
|
||||
|
||||
hi Special guifg=#E18964 guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE
|
||||
hi Delimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
|
||||
hi Operator guifg=white guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE
|
||||
|
||||
hi link Character Constant
|
||||
hi link Boolean Constant
|
||||
hi link Float Number
|
||||
hi link Repeat Statement
|
||||
hi link Label Statement
|
||||
hi link Exception Statement
|
||||
hi link Include PreProc
|
||||
hi link Define PreProc
|
||||
hi link Macro PreProc
|
||||
hi link PreCondit PreProc
|
||||
hi link StorageClass Type
|
||||
hi link Structure Type
|
||||
hi link Typedef Type
|
||||
hi link Tag Special
|
||||
hi link SpecialChar Special
|
||||
hi link SpecialComment Special
|
||||
hi link Debug Special
|
||||
|
||||
|
||||
" Special for Ruby
|
||||
hi rubyRegexp guifg=#B18A3D guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
|
||||
hi rubyRegexpDelimiter guifg=#FF8000 guibg=NONE gui=NONE ctermfg=brown ctermbg=NONE cterm=NONE
|
||||
hi rubyEscape guifg=white guibg=NONE gui=NONE ctermfg=cyan ctermbg=NONE cterm=NONE
|
||||
hi rubyInterpolationDelimiter guifg=#00A0A0 guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE
|
||||
hi rubyControl guifg=#6699CC guibg=NONE gui=NONE ctermfg=blue ctermbg=NONE cterm=NONE "and break, etc
|
||||
"hi rubyGlobalVariable guifg=#FFCCFF guibg=NONE gui=NONE ctermfg=lightblue ctermbg=NONE cterm=NONE "yield
|
||||
hi rubyStringDelimiter guifg=#336633 guibg=NONE gui=NONE ctermfg=lightgreen ctermbg=NONE cterm=NONE
|
||||
"rubyInclude
|
||||
"rubySharpBang
|
||||
"rubyAccess
|
||||
"rubyPredefinedVariable
|
||||
"rubyBoolean
|
||||
"rubyClassVariable
|
||||
"rubyBeginEnd
|
||||
"rubyRepeatModifier
|
||||
"hi link rubyArrayDelimiter Special " [ , , ]
|
||||
"rubyCurlyBlock { , , }
|
||||
|
||||
hi link rubyClass Keyword
|
||||
hi link rubyModule Keyword
|
||||
hi link rubyKeyword Keyword
|
||||
hi link rubyOperator Operator
|
||||
hi link rubyIdentifier Identifier
|
||||
hi link rubyInstanceVariable Identifier
|
||||
hi link rubyGlobalVariable Identifier
|
||||
hi link rubyClassVariable Identifier
|
||||
hi link rubyConstant Type
|
||||
|
||||
|
||||
" Special for Java
|
||||
" hi link javaClassDecl Type
|
||||
hi link javaScopeDecl Identifier
|
||||
hi link javaCommentTitle javaDocSeeTag
|
||||
hi link javaDocTags javaDocSeeTag
|
||||
hi link javaDocParam javaDocSeeTag
|
||||
hi link javaDocSeeTagParam javaDocSeeTag
|
||||
|
||||
hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
|
||||
hi javaDocSeeTag guifg=#CCCCCC guibg=NONE gui=NONE ctermfg=darkgray ctermbg=NONE cterm=NONE
|
||||
"hi javaClassDecl guifg=#CCFFCC guibg=NONE gui=NONE ctermfg=white ctermbg=NONE cterm=NONE
|
||||
|
||||
|
||||
" Special for XML
|
||||
hi link xmlTag Keyword
|
||||
hi link xmlTagName Conditional
|
||||
hi link xmlEndTag Identifier
|
||||
|
||||
|
||||
" Special for HTML
|
||||
hi link htmlTag Keyword
|
||||
hi link htmlTagName Conditional
|
||||
hi link htmlEndTag Identifier
|
||||
|
||||
|
||||
" Special for Javascript
|
||||
hi link javaScriptNumber Number
|
||||
|
||||
|
||||
" Special for Python
|
||||
"hi link pythonEscape Keyword
|
||||
|
||||
|
||||
" Special for CSharp
|
||||
hi link csXmlTag Keyword
|
||||
|
||||
|
||||
" Special for PHP
|
|
@ -0,0 +1,164 @@
|
|||
" Vim color file
|
||||
" Author: Viet Phan
|
||||
" Colorscheme Name: monokai pro
|
||||
" Inspired by https://www.monokai.pro/
|
||||
|
||||
set background=dark
|
||||
highlight clear
|
||||
|
||||
if exists("syntax_on")
|
||||
syntax reset
|
||||
endif
|
||||
|
||||
let g:colors_name = "monokai_pro"
|
||||
|
||||
" Default group
|
||||
hi Cursor ctermfg=16 ctermbg=231 cterm=NONE guifg=#2d2a2e guibg=#fcfcfa gui=NONE
|
||||
hi SignColumn ctermfg=NONE ctermbg=237 cterm=NONE guibg=#3a3a3a guifg=NONE guisp=NONE gui=NONE
|
||||
hi Visual ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#403e41 gui=NONE
|
||||
hi CursorLine ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#423f42 gui=NONE
|
||||
hi CursorColumn ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#423f42 gui=NONE
|
||||
hi ColorColumn ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#423f42 gui=NONE
|
||||
hi LineNr ctermfg=246 ctermbg=59 cterm=NONE guifg=#959394 guibg=#423f42 gui=NONE
|
||||
hi VertSplit ctermfg=59 ctermbg=59 cterm=NONE guifg=#696769 guibg=#696769 gui=NONE
|
||||
hi MatchParen ctermfg=204 ctermbg=NONE cterm=underline guifg=#ff6188 guibg=NONE gui=underline
|
||||
hi StatusLine ctermfg=231 ctermbg=59 cterm=bold guifg=#fcfcfa guibg=#696769 gui=bold
|
||||
hi StatusLineNC ctermfg=231 ctermbg=59 cterm=NONE guifg=#fcfcfa guibg=#696769 gui=NONE
|
||||
hi Pmenu ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi PmenuSel ctermfg=NONE ctermbg=59 cterm=NONE guifg=NONE guibg=#403e41 gui=NONE
|
||||
hi IncSearch ctermfg=16 ctermbg=221 cterm=NONE guifg=#2d2a2e guibg=#ffd866 gui=NONE
|
||||
hi Search ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
|
||||
hi Directory ctermfg=209 ctermbg=NONE cterm=NONE guifg=#fc9867 guibg=NONE gui=NONE
|
||||
hi Folded ctermfg=59 ctermbg=16 cterm=NONE guifg=#727072 guibg=#2d2a2e gui=NONE
|
||||
hi Normal ctermfg=231 ctermbg=16 cterm=NONE guifg=#fcfcfa guibg=#2d2a2e gui=NONE
|
||||
hi Boolean ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi Character ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi Comment ctermfg=59 ctermbg=NONE cterm=NONE guifg=#727072 guibg=NONE gui=italic
|
||||
hi Conditional ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi Constant ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi Define ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi DiffAdd ctermfg=231 ctermbg=64 cterm=bold guifg=#fcfcfa guibg=#47840e gui=bold
|
||||
hi DiffDelete ctermfg=88 ctermbg=NONE cterm=NONE guifg=#8c0809 guibg=NONE gui=NONE
|
||||
hi DiffChange ctermfg=231 ctermbg=23 cterm=NONE guifg=#fcfcfa guibg=#273a5b gui=NONE
|
||||
hi DiffText ctermfg=231 ctermbg=24 cterm=bold guifg=#fcfcfa guibg=#204a87 gui=bold
|
||||
hi ErrorMsg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi WarningMsg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi Float ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi Function ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi Identifier ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=italic
|
||||
hi Keyword ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi Label ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi NonText ctermfg=240 ctermbg=59 cterm=NONE guifg=#5b595c guibg=#373538 gui=NONE
|
||||
hi Number ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi Special ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi Operator ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi PreProc ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi SpecialKey ctermfg=240 ctermbg=59 cterm=NONE guifg=#5b595c guibg=#423f42 gui=NONE
|
||||
hi Statement ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi StorageClass ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=italic
|
||||
hi String ctermfg=221 ctermbg=NONE cterm=NONE guifg=#ffd866 guibg=NONE gui=NONE
|
||||
hi Tag ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi Title ctermfg=231 ctermbg=NONE cterm=bold guifg=#fcfcfa guibg=NONE gui=bold
|
||||
hi Todo ctermfg=231 ctermbg=NONE cterm=inverse,bold guifg=#fcfcfa guibg=NONE gui=inverse,bold,italic
|
||||
hi Type ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=italic
|
||||
hi Underlined ctermfg=NONE ctermbg=NONE cterm=underline guifg=NONE guibg=NONE gui=underline
|
||||
|
||||
" Color for custom group
|
||||
" hi EndColons ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
" hi link Braces EndColons
|
||||
" hi link Parens EndColons
|
||||
" hi link Brackets EndColons
|
||||
" hi link Arrow EndColons
|
||||
|
||||
" Custom group
|
||||
" syn match EndColons /[;,]/
|
||||
" syn match Braces /[\[\]]/
|
||||
" syn match Parens /[()]/
|
||||
" syn match Brackets /[{}]/
|
||||
" syn match Arrow /->/
|
||||
|
||||
|
||||
" Ruby
|
||||
hi rubyClass ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi rubyFunction ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi rubyInterpolationDelimiter ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi rubySymbol ctermfg=209 ctermbg=NONE cterm=NONE guifg=#fc9867 guibg=NONE gui=NONE
|
||||
hi rubyConstant ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=NONE
|
||||
hi rubyStringDelimiter ctermfg=221 ctermbg=NONE cterm=NONE guifg=#ffd866 guibg=NONE gui=NONE
|
||||
hi rubyBlockParameter ctermfg=209 ctermbg=NONE cterm=NONE guifg=#fc9867 guibg=NONE gui=italic
|
||||
hi rubyInstanceVariable ctermfg=209 ctermbg=NONE cterm=NONE guifg=#fc9867 guibg=NONE gui=italic
|
||||
hi rubyInclude ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi rubyGlobalVariable ctermfg=231 ctermbg=NONE cterm=NONE guifg=#fcfcfa guibg=NONE gui=NONE
|
||||
hi rubyRegexp ctermfg=221 ctermbg=NONE cterm=NONE guifg=#ffd866 guibg=NONE gui=NONE
|
||||
hi rubyRegexpDelimiter ctermfg=221 ctermbg=NONE cterm=NONE guifg=#ffd866 guibg=NONE gui=NONE
|
||||
hi rubyEscape ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi rubyControl ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi rubyClassVariable ctermfg=231 ctermbg=NONE cterm=NONE guifg=#fcfcfa guibg=NONE gui=NONE
|
||||
hi rubyOperator ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi rubyException ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi rubyKeywordAsMethod ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi rubyPseudoVariable ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=italic
|
||||
hi rubyRailsUserClass ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=NONE
|
||||
hi rubyRailsARAssociationMethod ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi rubyRailsARMethod ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi rubyRailsRenderMethod ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi rubyRailsMethod ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi erubyDelimiter ctermfg=209 ctermbg=NONE cterm=NONE guifg=#fc9867 guibg=NONE gui=NONE
|
||||
hi erubyComment ctermfg=59 ctermbg=NONE cterm=NONE guifg=#727072 guibg=NONE gui=italic
|
||||
hi erubyRailsMethod ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
|
||||
" HTML
|
||||
hi htmlTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlEndTag ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlTagName ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlArg ctermfg=NONE ctermbg=NONE cterm=NONE guifg=NONE guibg=NONE gui=NONE
|
||||
hi htmlSpecialChar ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
|
||||
|
||||
" XML
|
||||
hi XmlTagName ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi XmlTag ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi XmlEndTag ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
|
||||
" YAML
|
||||
hi yamlKey ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi yamlAnchor ctermfg=231 ctermbg=NONE cterm=NONE guifg=#fcfcfa guibg=NONE gui=NONE
|
||||
hi yamlAlias ctermfg=231 ctermbg=NONE cterm=NONE guifg=#fcfcfa guibg=NONE gui=NONE
|
||||
hi yamlDocumentHeader ctermfg=221 ctermbg=NONE cterm=NONE guifg=#ffd866 guibg=NONE gui=NONE
|
||||
|
||||
" CSS
|
||||
hi cssURL ctermfg=209 ctermbg=NONE cterm=NONE guifg=#fc9867 guibg=NONE gui=italic
|
||||
hi cssFunctionName ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi cssColor ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi cssPseudoClassId ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=italic
|
||||
hi cssClassName ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi cssValueLength ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi cssCommonAttr ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=NONE
|
||||
hi cssBraces ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi cssUnitDecorators ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
|
||||
" js
|
||||
hi javaScriptFunction ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=italic
|
||||
hi javaScriptRailsFunction ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi javaScriptBraces ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsFuncCall ctermfg=150 ctermbg=NONE cterm=NONE guifg=#a9dc76 guibg=NONE gui=NONE
|
||||
hi jsFunction ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=NONE
|
||||
hi jsFuncArgs ctermfg=209 ctermbg=NONE cterm=NONE guifg=#fc9867 guibg=NONE gui=italic
|
||||
hi jsObjectKey ctermfg=209 ctermbg=NONE cterm=NONE guifg=#fc9867 guibg=NONE gui=italic
|
||||
hi jsThis ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
hi jsGlobalObjects ctermfg=116 ctermbg=NONE cterm=NONE guifg=#78dce8 guibg=NONE gui=NONE
|
||||
hi jsFuncBraces ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsFuncParens ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsBraces ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsParens ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsIfElseBraces ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsRepeatBraces ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsObjectBraces ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsBrackets ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsModuleBraces ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsNoise ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsObjectSeparator ctermfg=246 ctermbg=NONE cterm=NONE guifg=#939293 guibg=NONE gui=NONE
|
||||
hi jsLabel ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi jsArrowFunction ctermfg=204 ctermbg=NONE cterm=NONE guifg=#ff6188 guibg=NONE gui=NONE
|
||||
hi jsUndefined ctermfg=147 ctermbg=NONE cterm=NONE guifg=#ab9df2 guibg=NONE gui=NONE
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
73
vimrc
73
vimrc
|
@ -34,7 +34,6 @@ Plugin 'tobyS/vmustache.git'
|
|||
Plugin 'sjl/gundo.vim.git'
|
||||
Plugin 'godlygeek/tabular.git'
|
||||
Plugin 'tpope/vim-fugitive.git'
|
||||
Plugin 'airblade/vim-gitgutter.git'
|
||||
Plugin 'groenewege/vim-less.git'
|
||||
Plugin 'arnaud-lb/vim-php-namespace.git'
|
||||
Plugin 'tpope/vim-surround.git'
|
||||
|
@ -61,12 +60,29 @@ Plugin 'evandotpro/nerdtree-chmod'
|
|||
Plugin 'shawncplus/phpcomplete.vim'
|
||||
Plugin 'bronson/vim-trailing-whitespace'
|
||||
Plugin 'jacoborus/tender'
|
||||
Plugin 'vexxor/phpdoc.vim'
|
||||
" Plugin 'vexxor/phpdoc.vim'
|
||||
Plugin 'Rican7/php-doc-modded'
|
||||
Plugin 'mzlogin/vim-markdown-toc'
|
||||
Plugin 'rosenfeld/conque-term'
|
||||
Plugin 'joonty/vdebug'
|
||||
" Plugin 'joonty/vdebug'
|
||||
Plugin 'isRuslan/vim-es6'
|
||||
Plugin 'suan/vim-instant-markdown'
|
||||
Plugin 'dracula/vim'
|
||||
Plugin 'sniphpets/sniphpets-doctrine'
|
||||
Plugin 'sniphpets/sniphpets'
|
||||
Plugin 'jaxbot/semantic-highlight.vim'
|
||||
Plugin 'thaerkh/vim-indentguides'
|
||||
Plugin 'PotatoesMaster/i3-vim-syntax'
|
||||
Plugin 'fatih/vim-go'
|
||||
Plugin 'mhinz/vim-signify'
|
||||
Plugin 'andrewradev/splitjoin.vim'
|
||||
Plugin 'wahidrahim/resize-font'
|
||||
Plugin 'skywind3000/asyncrun.vim'
|
||||
Plugin 'valloric/listtoggle'
|
||||
Plugin 'c9s/phpunit.vim'
|
||||
Plugin 'terryma/vim-multiple-cursors'
|
||||
Plugin 'dkarter/bullets.vim'
|
||||
Plugin 'connorholyday/vim-snazzy'
|
||||
|
||||
call vundle#end()
|
||||
|
||||
|
@ -77,7 +93,9 @@ call vundle#end()
|
|||
syntax on
|
||||
|
||||
if has('gui_running')
|
||||
colorscheme tender
|
||||
" colorscheme tender
|
||||
" colorscheme dracula
|
||||
colorscheme snazzy
|
||||
else
|
||||
colorscheme Tomorrow-Night-Bright
|
||||
endif
|
||||
|
@ -97,6 +115,13 @@ set completeopt-=preview
|
|||
" PLUGINS CONFIGURATION
|
||||
"""""""""""""""""""""""""""
|
||||
|
||||
" SEMANTIC "
|
||||
""""""""""""
|
||||
|
||||
if has('gui_running')
|
||||
let g:semanticEnableFileTypes = { 'javascript': 'js', 'vim': 'vim', 'php': 'php'}
|
||||
endif
|
||||
|
||||
" PHP-CS-FIXER "
|
||||
""""""""""""""""
|
||||
|
||||
|
@ -118,7 +143,10 @@ let g:NERDTreeIndicatorMapCustom = {
|
|||
|
||||
" Markdown preview "
|
||||
""""""""""""""""""""
|
||||
|
||||
let g:vim_markdown_auto_insert_bullets = 1
|
||||
let g:vim_markdown_follow_anchor = 1
|
||||
let g:vim_markdown_autowrite = 0
|
||||
let g:vim_markdown_conceal = 0
|
||||
let g:instant_markdown_autostart = 0
|
||||
|
||||
" COLORIZER "
|
||||
|
@ -138,6 +166,7 @@ let g:UltiSnipsJumpForwardTrigger="<c-b>"
|
|||
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
|
||||
let g:UltiSnipsEditSplit="vertical"
|
||||
|
||||
|
||||
" AIRLINE "
|
||||
"""""""""""
|
||||
|
||||
|
@ -200,6 +229,15 @@ command! Sfservices CtrlPSymfonyServices
|
|||
command! Sfservicesdefinition CtrlPSymfonyServiceDefinition
|
||||
command! Sfforms CtrlPSymfonyForms
|
||||
|
||||
" PHP-CS-FIXER "
|
||||
""""""""""""""""
|
||||
|
||||
let g:php_cs_fixer_php_path = "/usr/bin/php7.1"
|
||||
|
||||
" CTAGS "
|
||||
"""""""""
|
||||
|
||||
command! CT AsyncRun ctags **/*.php
|
||||
|
||||
" EMMET "
|
||||
"""""""""
|
||||
|
@ -361,6 +399,7 @@ noremap <F11> :call PhpDoc()<CR>
|
|||
|
||||
" set keywordprg=pman
|
||||
let mapleader = "_"
|
||||
|
||||
map <F1> :!indentation %<CR>
|
||||
map <F2> :call PhpCsFixerFixFile()<CR>
|
||||
map <F8> :!phpmd % text /usr/share/phpmd/psr2.xml \| cut -d: -f2-<CR>
|
||||
|
@ -368,13 +407,16 @@ map <c-B> :!php -l %<CR>
|
|||
map <c-s> :w<CR>
|
||||
map <F6> :call PhpInsertUse()<CR>
|
||||
|
||||
vmap <leader>cc :s/_\([a-z]\)/\U\1/g<cr>
|
||||
vmap <leader>sc :s/\([A-Z]\)/_\L\1/g<cr>
|
||||
vmap <leader>cc :s/\%V_\([a-z]\)/\U\1/g<cr>
|
||||
vmap <leader>sc :s/\%V\([A-Z]\)/_\L\1/g<cr>
|
||||
vmap <leader>lc <leader>sc<cr>
|
||||
nmap <leader>cc viw<leader>cc
|
||||
nmap <leader>sc viw<leader>sc
|
||||
nmap <leader>lc viw<leader>sc
|
||||
|
||||
nmap <leader>cc vaw<leader>cc
|
||||
nmap <leader>sc vaw<leader>sc
|
||||
nmap <leader>lc vaw<leader>sc
|
||||
nmap <F7> ins<tab><esc>o
|
||||
nmap <c-Down> :ResizeFontSmaller<CR>
|
||||
nmap <c-Up> :ResizeFontBigger<CR>
|
||||
|
||||
inoremap <silent> <Bar> <Bar><Esc>:call <SID>align()<CR>a
|
||||
|
||||
|
@ -396,6 +438,7 @@ endfunction
|
|||
set mouse=a
|
||||
set autoindent
|
||||
set nu
|
||||
set rnu
|
||||
set showmatch
|
||||
set tabstop=4
|
||||
set shiftwidth=4
|
||||
|
@ -408,6 +451,7 @@ set fdc=2
|
|||
set splitbelow
|
||||
set splitright
|
||||
set hlsearch
|
||||
set modeline
|
||||
" set guifont=Consolas\ 13
|
||||
set guifont=Fantasque\ Sans\ Mono\ 14
|
||||
|
||||
|
@ -415,11 +459,14 @@ autocmd FileType php setlocal expandtab
|
|||
autocmd FileType javascript setlocal expandtab
|
||||
autocmd FileType xml setlocal expandtab
|
||||
autocmd FileType css setlocal expandtab
|
||||
autocmd FileType scss setlocal expandtab
|
||||
autocmd FileType go setlocal expandtab
|
||||
autocmd FileType coffee setlocal expandtab
|
||||
autocmd FileType ts setlocal expandtab
|
||||
autocmd FileType html setlocal expandtab
|
||||
autocmd FileType twig setlocal expandtab
|
||||
autocmd FileType json setlocal expandtab
|
||||
autocmd FileType python setlocal noexpandtab
|
||||
|
||||
autocmd FileType css setlocal omnifunc=csscomplete#CompleteCSS
|
||||
autocmd FileType html,markdown setlocal omnifunc=htmlcomplete#CompleteTags
|
||||
|
@ -428,5 +475,7 @@ autocmd FileType php setlocal omnifunc=phpcomplete#CompletePHP
|
|||
autocmd FileType python setlocal omnifunc=pythoncomplete#Complete
|
||||
autocmd FileType xml setlocal omnifunc=xmlcomplete#CompleteTags
|
||||
|
||||
au BufNewFile,BufRead *.yaml,*.yml setfiletype yaml
|
||||
au BufRead,BufNewFile *.twig setfiletype twig
|
||||
au BufRead,BufNewFile *.yaml,*.yml setfiletype yaml
|
||||
au BufRead,BufNewFile *.vue setfiletype html
|
||||
au BufRead,BufNewFile *.html.twig,*.twig setfiletype twig
|
||||
au BufRead,BufNewFile *.js setfiletype js
|
||||
|
|
Loading…
Reference in New Issue