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/"
<!--more-->
vi ~/.inputrc set editing-mode vi
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