Skip to content
/ vimrc Public

Pathogen / Solarized Colorscheme / Syntax Highlighting / OverLength / etc.

Notifications You must be signed in to change notification settings

faeb187/vimrc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 

Repository files navigation

vimrc

my personal vim settings, feel free to use them too...

Installation

# backup current .vimrc
$ cd ~ && mv ~/.vimrc ~/.vimrc.bak

# install .vimrc from this repository
$ git clone https://github.com/faeb187/vimrc.git

# add a symbolic link to the .vimrc (update with ease)
$ ln -s vimrc/.vimrc .vimrc

In order to make this version running you need to install some dependencies (or comment out what you don't need, it's up to you)...

Pathogen

if you're not using pathogen yet, it's time to install it:

$ mkdir -p ~/.vim/autoload ~/.vim/bundle 
$ curl -LSso ~/.vim/autoload/pathogen.vim https://tpo.pe/pathogen.vim

Solarized Colorscheme

as you've installed pathogen, you can install the solarized scheme with it:

# clone the repository
$ cd ~/.vim/bundle && git clone https://github.com/altercation/vim-colors-solarized.git

# move the scheme into .vim/colors
$ mv vim-colors-solarized/colors ../.

not working yet? try:

# add this line into ~/.bashrc
export TERM="xterm-256color"

# close the file, then from terminal:
$ source ~/.bashrc

Syntax Highlighting

TypeScript

# requires pathogen
$ git clone https://github.com/leafgarland/typescript-vim.git ~/.vim/bundle/typescript-vim

Docker

# requires pathogen
$ git clone https://github.com/ekalinin/Dockerfile.vim.git ~/.vim/bundle/Dockerfile

Pug (Jade)

# requires pathogen
$ cd ~/.vim/bundle
$ git clone https://github.com/digitaltoad/vim-pug.git

Coffee

# requires pathogen
$ cd ~/.vim/bundle
$ git clone https://github.com/kchmck/vim-coffee-script.git

Stylus

# requires pathogen
$ cd ~/.vim/bundle
$ git clone https://github.com/wavded/vim-stylus.git

Prettier

cd ~/.vim/bundle
git clone https://github.com/prettier/vim-prettier

Screenshots

About

Pathogen / Solarized Colorscheme / Syntax Highlighting / OverLength / etc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published