commit 0f89ae21e748bd21a2077096a3eca45a94941956
parent 0cba58af6af65a9a0cdefd6a86efdacc89be9384
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 14 Jun 2019 22:19:41 +0200
Add rudimentary system clipboard integration
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua
@@ -56,6 +56,8 @@ vis.events.subscribe(vis.events.INIT, function()
vis:map(vis.modes.NORMAL, leader..'o', ':fzf true<Enter>')
vis:map(vis.modes.NORMAL, leader..'<Tab>', ':fzfmru<Enter>')
vis:map(vis.modes.NORMAL, leader..'r', ':< scholarref ')
+ vis:map(vis.modes.NORMAL, leader..'p', ':< xclip -o<Enter>')
+ vis:map(vis.modes.VISUAL, leader..'y', ':> xclip<Enter>')
vis:map(vis.modes.NORMAL, leader..'C', ':e ~/.config/vis/visrc.lua<Enter>')
vis:map(vis.modes.NORMAL, leader..'T', ':e ~/doc/todo.md<Enter>')
vis:map(vis.modes.NORMAL, leader..'B', ':e "$BIB"<Enter>')