仓库源文站点原文


layout: post title: "Vim Tips" subtitle: "" description: "Vim Tips and tricks" date: 2018-02-09 11:00:00 author: "赵化冰" image: "/img/2018-02-09-vim-tips/matrix.jpg" published: true tags:

- Vim

URL: "/2018/02/09/vim-tips/"

categories: [ Tech ]

vim graphical cheat sheet

<!--more-->

Vim Jumps

Vim Navigations

Enable Vim mode in bash

vi ~/.inputrc set editing-mode vi

Enable system clipboard upport

See if system clipboard is supported:

$ vim --version | grep clipboard
-clipboard       +iconv           +path_extra      -toolbar
+eval            +mouse_dec       +startuptime     -xterm_clipboard

Rinstall vim as vim-gnome:

sudo apt-get install vim-gnome

Select what you want using the mouse - then type to copy to clipboard:

"+y

To paste to vim from clipboard type:

"+p

Others