Everyone has already thought about starting to use vim, but when start looking on web you see a lot of things and confusing tutorials, this repository contains my vim setup and a easy tutorial to follow and start using vim today :)
HOW TO USE IT
First of all, you need to install vim in your computer.
Linux based systems
I pretty recommend vim-gnome that you can easy install running this:
sudo apt-get update
sudo apt-get install vim-gnome
But you have many other options like these below:
sudo apt-get install jvim-canna
sudo apt-get install vim-athena
sudo apt-get install vim-gtk
sudo apt-get install vim-nox
sudo apt-get install vim-tiny
If you want, you can check the difference between each other here
You can download macvim here
Download vim for windows here
Installing this vimfiles
All that you need to do is clone this repository into yout home directory either as .vim (linux/mac) or vim files (Windows).
git clone firstname.lastname@example.org:OtavioHenrique/vimfiles.git
Now you should create a new .vimrc file in your home directory that loads the pre-configured one that comes bundled in this package. You can do it on Linux/Mac like this:
echo "source ~/.vim/.vimrc" > ~/.vimrc
On Windows you should create a _vimrc (underline instead of dot) and add the following line inside:
This way you can override the default configuration by adding your own inside this file.
You should also create a new .gvimrc file in your home directory. You can do it on Linux/Mac like this:
echo "source ~/.vim/.vimrc" > ~/.gvimrc
On Windows you should create a _gvimrc (underline instead of dot) and add the following line inside:
This way you can override the default GUI configuration by adding your own inside this file.
And after this, you may run the following line, to start git submodules (Plugins):
git submodule update --init --recursive
Getting Vim to work with the X11 clipboard can be a struggle if you want to run Vim in a terminal. In this case, you will have to check for X11 clipboard support. The GUI version of Vim always has clipboard support.
From the console, type:
vim --version | grep clipboard
If you see +clipboard or +xterm_clipboard, you are good to go. If it's -clipboard and -xterm_clipboard, you will need to look for a version of Vim that was compiled with clipboard support. On Debian and Ubuntu, to obtain clipboard support install the packages vim-gtk or vim-gnome (not vim-tiny). retired from vim wiki
So, if you want clipboard working inside vim with external clipboard you just need to install gvim and with that
.vimrc everything will work fine.
I recommend that you enter in each repository and read the documentation to learn more about how to use it :)
Fabio Akita with the original/complete repository of this project - https://github.com/akitaonrails/vimfiles