commit 0cba58af6af65a9a0cdefd6a86efdacc89be9384
parent 25c72faa7cc74d604354f39ea71ebeb1a511ca85
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 14 Jun 2019 21:01:26 +0200
Condense commands
Diffstat:
1 file changed, 0 insertions(+), 7 deletions(-)
diff --git a/.config/vis/visrc.lua b/.config/vis/visrc.lua
@@ -50,19 +50,12 @@ vis.events.subscribe(vis.events.INIT, function()
vis:map(vis.modes.NORMAL, leader..'l', ':set show-newline!<Enter>')
vis:map(vis.modes.NORMAL, leader..'m', ':!make<Enter>')
vis:map(vis.modes.NORMAL, '<F7>', ':!sent $vis_filepath &<Enter>')
-
vis:map(vis.modes.NORMAL, '<Tab><Tab>', '<vis-window-next>')
vis:map(vis.modes.NORMAL, leader..'<Tab>', ':prev<Enter>')
-
- -- fuzzy open
vis:map(vis.modes.NORMAL, leader..'e', ':fzf<Enter>')
vis:map(vis.modes.NORMAL, leader..'o', ':fzf true<Enter>')
-
- -- fuzzy open recent file
vis:map(vis.modes.NORMAL, leader..'<Tab>', ':fzfmru<Enter>')
vis:map(vis.modes.NORMAL, leader..'r', ':< scholarref ')
-
- -- mappings to often used files
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>')