#!/linuxSucks/Install Vim the ubiquitous text editor

May 17, 2020

Vim 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:

  1. persistent, multi-level undo tree
  2. extensive plugin system
  3. support for hundreds of programming languages and file formats
  4. powerful search and replace
  5. integrates with many tools

vim - darknesscode

Plugins

Plugin manager vim-plug

  1. nerdtree
  2. i3-vim-syntax
  3. vim-devicons
  4. vim-markdown
  5. html5
  6. php
  7. python-syntax
  8. vimwiki
  9. ultisnips
  10. 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:

  1. vim-plug
  2. vim-wiki
  3. 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

Home  Linux  Notes  Blog Spot