#!/linuxSucks/Install Vim the ubiquitous text editor
May 17, 2020Vim is a highly configurable text editor built to make creating and changing any kind of text very efficient. It is included as “vi” with most UNIX systems and with Apple OS X.
Vim is rock stable and is continuously being developed to become even better. Among its features are:
- persistent, multi-level undo tree
- extensive plugin system
- support for hundreds of programming languages and file formats
- powerful search and replace
- integrates with many tools
Plugins
Plugin manager vim-plug
- nerdtree
- i3-vim-syntax
- vim-devicons
- vim-markdown
- html5
- php
- python-syntax
- vimwiki
- ultisnips
- lightline
To install the plugins, open vim and run:
:PlugInstall
To update installed pluging run:
:PlugUpdate
To remove unlisted plugins run:
PlugClean
To upgrade vim-plug iself run:
:PlugUpgrade
Plugins included in this repo:
- vim-plug
- vim-wiki
- ultisnips
Keybindings
Some usful keybindings for this custom build:
Leader key = SpaceBar
| Key | Acction |
| :------- | :------------------ |
| Leader+n | NerdTree |
| Leader+f | Ranger File Manager |
| Leater+v | Split Horizontal |
| Leaver+h | Split Vertical |
| Ctrl+h | Change Split Left |
| Ctrl+j | Change Split Dwon |
| Ctrl+k | Change Split Up |
| Ctrl+l | Change Split Right |
| ii | Normal Mode |
| i | Insert Mode |
If you like to install this build, get the repo
git clone https://github.com/codedarkness/vim