Coder Social home page Coder Social logo

macvim's Introduction

Installation:

Download and install Iterm2.

Now if you are going for the full setup from scratch, then start by installing Tmux and Vifm first. Download and Install MacVim if you're using Mac.

git clone --depth=1 https://github.com/amix/vimrc.git ~/.vim_runtime
sh ~/.vim_runtime/install_awesome_vimrc.sh

git clone https://github.com/dipta10/MacVim.git ~/.vim

Remove files:

rm ~/.vimrc
rm ~/.bashrc
rm ~/.bash_profile

Create symblinks:

ln -s ~/.vim/.vimrc ~/.vimrc
ln -s ~/.vim/.bashrc ~/.bashrc
ln -s ~/.vim/.bash_profile ~/.bash_profile
ln -s ~/.vim/.ycm_extra_conf.py ~/.ycm_extra_conf.py
ln -s ~/.vim/.zsh ~/.zsh
ln -s ~/.vim/.zshrc ~/.zshrc

If you're using submodule:

git submodule init
git submodule update

Install Vundle

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim

Copy the .vim_runtime folder into root ~ folder.

Now inside Vim:

:PluginInstall

Now You might end up with and error. You'll have to install YouCompleteMe. (Assuming You've brew already installed)

brew install cmake
cd ~/.vim/bundle/YouCompleteMe
./install.py --clang-completer
./install.py --java-completer
./install.py --all

Source the bashrc file:

source ~/.bashrc

Install Zsh.

brew install zsh
$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
source ~/.zshrc

Tmux

First install Tmux.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
brew install tmux

Kill all the session (if any):

pkill -f tmux

Now just clone the repository

git clone https://github.com/dipta10/MacTmuxSettings.git ~/.tmux

Remove all the files inside the plugins directory. Now install tpm.

Create Symblink:

ln -s ~/.tmux/.tmux.conf ~/.tmux.conf
git clone https://github.com/tmux-plugins/tpm ~/.tmux/plugins/tpm
tmux source ~/.tmux.conf

Now, hit prefix + I to fetch all the plugins and source it. Try prefix + U if it doesn't work. In my case prefix is ctrl + a. Create Symblink:

Vifm

Install Vifm.

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null 2> /dev/null
brew install vifm

Clone the repo.

git clone https://github.com/dipta10/macVifmSettings.git ~/.config/vifm

If you're not able to clone because of the folder ~/.config/vifm being non-empty, just copy and replace the colors folder and vifmrc file.

bits/stdc++.h

cd /usr/local/include
mkdir include
cd include
vim stdc++.h

Copy this content. Comment out line no 55.

PowerLine font:

Download fonts and install Ubuntu PowerPowerlineFont. Preference -> Profile -> text -> Change Font -> Select Ubuntu Powerline.

macvim's People

Contributors

dipta10 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.