Skip to content

Jason-Young-AI/My-RC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Resource Configuration File

This Repository maintains the .*rc file that I daliy use.

vim

  1. Install Vundle:
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
  1. Backup the .vimrc file (if there exists .vimrc file):
mv ~/.vimrc ~/.vimrc-backup
  1. Clone My-RC:
git clone https://github.com/Jason-Young-AI/My-RC.git
  1. Create symbolic link to .vimrc and Templates folder in My-RC:
ln -s ~/My-RC/vim/.vimrc ~/.vimrc
ln -s ~/My-RC/vim/Templates ~/.vim/Templates
  1. Find line 120 and 121 in .vimrc, substituting in your full name and email address:
L120: let g:email = '[email protected]'
L121: let g:username = 'your full name'
  1. Run vim, then install the plugins that listed in .vimrc:
vim
:PluginInstall

NOTE:

The plugins can be installed across any platforms:

Plugin Function
morhetz/gruvbox Color scheme for Vim.
aperezdc/vim-template Allowing you to have a set of templates for certain file types.
scrooloose/nerdcommenter Commenting codes.
preservim/nerdtree Tree explorer.
Xuyuanp/nerdtree-git-plugin NERDTree showing git status.
bling/vim-bufferline Show the list of buffers in the command bar.
vim-airline/vim-airline Status/Tabline for vim that's light as air.
vim-airline/vim-airline-themes A collection of themes for vim-airline.
godlygeek/tabular Text filtering and alignment.
plasticboy/vim-markdown Markdown Vim Mode.
lervag/vimtex Filetype plugin for LaTeX files.
tpope/vim-fugitive A Git wrapper.
vim-scripts/c.vim Filetype plugin for C/C++.
jmcantrell/vim-virtualenv Anything done with :python or :!python will behave like you would expect for the chosen virtualenv.
Raimondi/delimitMate Providing automatic closing of quotes, parenthesis, brackets, etc.

The plugins can only be installed on PC:

Plugin Function
previm/previm Realtime preview in browser by Vim.
tyru/open-browser.vim Open URI with your favorite browser from your most favorite editor.
tyru/open-browser-github.vim Opens GitHub URL of current file, etc. from Vim. Also supports GitHub Enterprise.

The plugins that are better to be installed manually:

Plugin Function
ycm-core/YouCompleteMe Code-completion engine.

Optional plugins:

Plugin Function
Igorjan94/codeforces.vim Vim plugin for CodeForces.

You may need to install Prepatched fonts for powerline (vim-airline) style.

zsh

  1. Install ohmyzsh:

Oh My Zsh is installed by running one of the following commands in your terminal. You can install this via the command-line with either curl, wget or another similar tool.

Method Command
curl sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
wget sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
fetch sh -c "$(fetch -o - https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  1. Backup the .zshrc and .zlogout file (if there exists .zsh and .zlogout file):
mv ~/.zshrc ~/.zshrc-backup
mv ~/.zlogout ~/.zlogout-backup
  1. Clone My-RC:
git clone https://github.com/Jason-Young-AI/My-RC.git
  1. Create symbolic link to .zshrc and .zlogout in My-RC:
ln -s ~/My-RC/zsh/.zshrc ~/.zshrc
ln -s ~/My-RC/zsh/.zlogout ~/.zlogout

About

This repository maintains my .vimrc file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published