-
Notifications
You must be signed in to change notification settings - Fork 48
Setting Up Vim
This only applies to Windows Users.
You can get the recommended .vimrc file here
If you are a Mac User, you will most likely have Vim pre-installed.
If you wish to have MacVim Installed (similar functionality to gVim), please refer to here!
- To download the vim installer, go to the link here
- Follow the instructions in the installer.
- To check if you have vim installed, simple type
vim -version
on your terminal.
After downloading the .vimrc
file,
For Windows Users if you have followed the other guides closely in installing Vim, proceed to
C:\Users\[WIN_USERNAME]\AppData\Local\Packages\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc\LocalState\rootfs\home\[UBUNTU_USERNAME]
Alternatively, Win-Key + R
and type in %appdata%
(case insensitive), and navigate to the path above.
From there, copy the downloaded .vimrc
file and place it into the path (image below for reference).
For permissions denied after executing vim ~/.vimrc
(if you drag and drop the .vimrc
file from this repository),
Enter command sudo chmod 777 ~/.vimrc
to give excess full access (Read, Write and Execute).
If you encounter this error, E488: Trailing characters: nocompatible^M
due to the line endings of Windows and Ubuntu being different OR copying and pasting from the .vimrc
file in this repository into a self-created .vimrc
file in your Ubuntu system,
Proceed to perform these steps (in the Command Line):
-
vim ~/.vimrc
, press Enter to go into the Vim Editor -
:w! ++ff=unix
this command changes the file's (.vimrc) format tounix
.
Peer Learning
Codecrunch Contributions
Piazza Contributions
Wiki Contributions
Guides
Setting Up Checkstyle
Setting Up Java
Setting Up MacVim
Setting Up Sunfire
Setting Up Unix For Mac
Setting Up Unix For Windows
Setting Up Vim
Setting up SSH Config
CS2030 Contents
Lecture 1 SummaryCompile-run vs Run-time Summary
Quick Guide To Abstraction
Generics and Variance of Types
Comparable vs Comparator
Summary of completable future
CS2030S Notes
ELI5 Optional.map vs Optional.flatMap
PECS Example Code
Java Collection Framework (Iterator)
Generic
Generic Type Parameter and Generic Wildcard
Calculator
Lambda-Expression
Single Abstract Method (SAM)
Method Reference
Functional Interfaces 2
Simple Usage of Sandbox
Associative-but-not-commutative
Higher Order function
Functional Programming
Calculator With Functor
Eager Evaluation VS Lazy Evaluation
Simple Usage of Lazy Evaluation
Lazy Evaluation for LazyList
Lazy Evaluation for BinaryTree
Stream
Parallel Stream
Optional
Simple Usage of Stream
Asynchronous Programming
Notes on CompletableFuture
Notes on CompletableFuture 2
Simple Usage of CompletableFuture
Mind Map
Exception Handling
Links
CS2030 Java Style Guide
CS2030 Javadoc Specification
JDK 11 Download Link
JDK 11 API Docs
Codecrunch
Piazza Forum