Skip to content
Nuno Nogueira edited this page Jun 16, 2024 · 18 revisions

Installation

  • sudo apt install vim vim-gtk3 vim-airline

Usage

vimrc

  • Create/copy global config file for vim: install -D /etc/vimrc ~/.vim/.vimrc
    Check HERE my configuration file

Configuration

  • Uncomment in ~/.vimrc or add if not:
let g:skip_defaults_vim = 1
syntax on
set background=dark
set showcmd
set incsearch
set hidden
set mouse=a
  • Add to ~/.vimrc:
set clipboard=unnamedplus   "enable clipboard
filetype plugin on          "enable syntax highlighting for many programming languages
"set number                 "column number
set relativenumber          "column relative numbers
set nu                      "show line number when relativenumber 
set hlsearch		    "search all document
set nowrap                  "no wraping text allowed 
set scrolloff=10	    "cursor stay away when scrolling
set termguicolors
set colorcolumn=80
set signcolumn=yes

vim airline

vim airline GitHub

Use a theme

Integrating with powerline fonts

Enable Smarter Tab (top tab bar)

awesome-vim

vim-plug

Clone this wiki locally