`
christen
  • 浏览: 10913 次
  • 性别: Icon_minigender_1
  • 来自: 北京
最近访客 更多访客>>
社区版块
存档分类
最新评论

Scala and Vim support on Linux

 
阅读更多
来自:http://dhruba.name/2009/07/13/installing-java-scala-and-vim-support-on-linux/

安装JDK

$ chmod u+x jdk-6u14-linux-i586.bin
$ ./jdk-6u14-linux-i586.bin

$ mv jdk1.6.0_14/ /opt/

$ cd /opt/
$ ln -s jdk1.6.0_14/ java

export JAVA_HOME="/opt/java"
export PATH="${JAVA_HOME}/bin:${PATH}"

安装Scala

$ tar -xvzf scala-2.7.5.final.tgz

$ mv scala-2.7.5.final/ /opt/

$ cd /opt/
$ ln -s scala-2.7.5.final/ scala

export SCALA_HOME="/opt/scala"
export PATH="${SCALA_HOME}/bin:${JAVA_HOME}/bin:${PATH}"


VIM语法高亮

$ mkdir -pv ~/.vim/ftdetect
$ mkdir -pv ~/.vim/indent
$ mkdir -pv ~/.vim/syntax

$ wget --no-check-certificate https://lampsvn.epfl.ch/trac/scala/export/18260/scala-tool-support/trunk/src/vim/ftdetect/scala.vim -O ~/.vim/ftdetect/scala.vim
$ wget --no-check-certificate https://lampsvn.epfl.ch/trac/scala/export/18260/scala-tool-support/trunk/src/vim/indent/scala.vim -O ~/.vim/indent/scala.vim
$ wget --no-check-certificate https://lampsvn.epfl.ch/trac/scala/export/18260/scala-tool-support/trunk/src/vim/syntax/scala.vim -O ~/.vim/syntax/scala.vim



vim ~/.vimrc

set nocompatible
set nu
syntax on
filetype indent on
set ts=4
set expandtab
set autoindent
set ic
set hls
set lbr
colorscheme delek
分享到:
评论
2 楼 vincent_hv 2013-08-18  
解决问题了,膜拜
1 楼 lord_is_layuping 2012-02-18  
对我有用,终于可以高亮了

相关推荐

    Scala and Spark for Big Data Analytics.pdf

    aspects of its history, purposes, and how to install Scala on Windows, Linux, and Mac OS. After that, the Scala web framework will be discussed in brief. Then, we will provide a comparative analysis ...

    scala 2.11.12 window64 + linux版本

    scala2.11.12版本,包含win和linux安装包: winx64.msi+linux压缩包版本 官网搬运,亲测可用

    Scala and Spark for Big Data Analytics

    Spark, built on Scala, has gained a lot of recognition and is being used widely in productions. Thus, if you want to leverage the power of Scala and Spark to make sense of big data, this book is for ...

    Scala 2.12.0 (Linux)

    Scala 2.12.0 (Linux)

    scala-2.11.0-M8 for linux

    scala 2.11.0 M8 for linux。 Scala combines object-oriented and functional programming in one concise, high-level language. Scala's static types help avoid bugs in complex applications, and its JVM and...

    Scala and Spark for Big Data Analytics epub

    Scala and Spark for Big Data Analytics 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    Reactive.Programming.with.Scala.and.Akka.1783984341.epub

    Harness reactive programming to build scalable and fault-tolerant distributed systems using Scala and Akka About This Book Use the concepts of reactive programming to build distributed systems ...

    Scala and Spark for Big Data Analytics_Code 源码

    Scala and Spark for Big Data Analytics_Code 源码 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    Functional Programming Patterns in Scala and Clojure(Pragmatic,2013)

    This book introduces you, the experienced Java programmer, to Scala and Clojure: practical, production-quality languages that run on the JVM and interoperate with existing Java. By using both the ...

    scala-2.12.0linux.rar

    scala-2.12.0 linux版本 压缩成rar文件了,想用的话,先windows解压 然后在rz到Linux 用tar解压

    functional programming in scala and impatient.pdf

    functional programming in scala and scala for impatient pdf

    Reactive Programming with Scala and Akka mobi

    Reactive Programming with Scala and Akka 英文mobi 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    scala-sbt-scala编译工具

    Starts the Scala REPL with project classes and dependencies on the classpath Modularization supported with sub-projects External project support (list a git repository as a dependency!) Parallel task ...

    2018 Scala for Java Developers: A Practical Primer

    Master the fundamentals of Scala and understand its emphasis on functional programming that sets it apart from Java. This book will help you translate what you already know in Java to Scala to start ...

    testing in scala

    Testing in Scala also gives insight on how to integrate coverage tools, continuous integration, web acceptance frameworks, and Java testing frameworks that you already know and love.

    scala-2.12.1 for Linux

    Scala是一门多范式的编程语言,一种类似java的编程语言,设计初衷是实现可伸缩的语言 、并集成面向对象编程和函数式编程的各种特性。

    scala and spark for big data analytics

    scala and spark for big data analytics for data processing

    Hands-on Scala.js

    Scala.js的学习资料,来源于 http://lihaoyi.github.io/hands-on-scala-js/#Hands-onScala.js。为方便在电子书上阅读而整理。 删除了电子书上不能显示的示例。可以结合原文边学边练。

    Big Data Frameworks Scala and Spark Tutorial

    Big Data Frameworks Scala and Spark Tutorial

Global site tag (gtag.js) - Google Analytics