1
0
mirror of https://github.com/amix/vimrc synced 2025-08-01 18:35:00 +08:00

Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive.

This commit is contained in:
amix
2013-11-16 19:45:48 +00:00
parent 351979d3e0
commit 86f4456be1
239 changed files with 14942 additions and 8068 deletions

View File

@ -1,5 +1,5 @@
snippet lang
{-# LANGUAGE ${1:OverloadedStrings} #-}
{-# LANGUAGE ${0:OverloadedStrings} #-}
snippet info
-- |
-- Module : ${1:Module.Namespace}
@ -10,26 +10,26 @@ snippet info
-- Stability : ${6:experimental}
-- Portability : ${7:unknown}
--
-- ${8:Description}
-- ${0:Description}
--
snippet import
import ${1:Data.Text}
import ${0:Data.Text}
snippet import2
import ${1:Data.Text} (${2:head})
import ${1:Data.Text} (${0:head})
snippet importq
import qualified ${1:Data.Text} as ${2:T}
import qualified ${1:Data.Text} as ${0:T}
snippet inst
instance ${1:Monoid} ${2:Type} where
${3}
${0}
snippet type
type ${1:Type} = ${2:Type}
type ${1:Type} = ${0:Type}
snippet data
data ${1:Type} = ${2:$1} ${3:Int}
data ${1:Type} = ${2:$1} ${0:Int}
snippet newtype
newtype ${1:Type} = ${2:$1} ${3:Int}
newtype ${1:Type} = ${2:$1} ${0:Int}
snippet class
class ${1:Class} a where
${2}
${0}
snippet module
module `substitute(substitute(expand('%:r'), '[/\\]','.','g'),'^\%(\l*\.\)\?','','')` (
) where
@ -37,46 +37,46 @@ snippet module
snippet const
${1:name} :: ${2:a}
$1 = ${3:undefined}
$1 = ${0:undefined}
snippet fn
${1:fn} :: ${2:a} -> ${3:a}
$1 ${4} = ${5:undefined}
$1 ${4} = ${0:undefined}
snippet fn2
${1:fn} :: ${2:a} -> ${3:a} -> ${4:a}
$1 ${5} = ${6:undefined}
$1 ${5} = ${0:undefined}
snippet ap
${1:map} ${2:fn} ${3:list}
${1:map} ${2:fn} ${0:list}
snippet do
do
snippet λ
\${1:x} -> ${2}
\${1:x} -> ${0}
snippet \
\${1:x} -> ${2}
\${1:x} -> ${0}
snippet <-
${1:a} <- ${2:m a}
${1:a} <- ${0:m a}
snippet ←
${1:a} <- ${2:m a}
${1:a} <- ${0:m a}
snippet ->
${1:m a} -> ${2:a}
${1:m a} -> ${0:a}
snippet →
${1:m a} -> ${2:a}
${1:m a} -> ${0:a}
snippet tup
(${1:a}, ${2:b})
(${1:a}, ${0:b})
snippet tup2
(${1:a}, ${2:b}, ${3:c})
(${1:a}, ${2:b}, ${0:c})
snippet tup3
(${1:a}, ${2:b}, ${3:c}, ${4:d})
(${1:a}, ${2:b}, ${3:c}, ${0:d})
snippet rec
${1:Record} { ${2:recFieldA} = ${3:undefined}
, ${4:recFieldB} = ${5:undefined}
, ${4:recFieldB} = ${0:undefined}
}
snippet case
case ${1:something} of
${2} -> ${3}
${2} -> ${0}
snippet let
let ${1} = ${2}
in ${3}
snippet where
where
${1:fn} = ${2:undefined}
${1:fn} = ${0:undefined}