My vimrc file "~/.vimrc" for Linux
Due to some reasons, Plugins are not working in Ubuntu 20. So the plugins are loaded here using Vundle
Vundle is short for Vim bundle and is a Vim plugin manager.
You can follow this guide
--------OR--------
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Copy the contents of config.vim
file into your ~/.vimrc
file. Save and quit.
Launch vim
and run :PluginInstall
Exactly same procedure but instaed of copying contents, just make a soft link.
sudo -s
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
ln -s /home/ajinzrathod/.vimrc ~/.vimrc
Launch vim
and run :PluginInstall
- Install vimx:
sudo dnf install -y vim-X11
- Add
set clipboard=unnamedplus
to your .vimrc
set clipboard=unnamedplus
Add alias vim=vimx
and alias vi=vimx
to your .bashrc or .zshrc. This is important because vim binary isn’t built with +clipboard support.
To use mouse set set mouse=a
in your .vimrc
dconf write /org/gnome/desktop/input-sources/xkb-options "['caps:swapescape']"
OR
View this