diff options
author | Erlend Fagerheim <erlendf80@gmail.com> | 2016-12-26 00:33:11 +0100 |
---|---|---|
committer | Erlend Fagerheim <erlendf80@gmail.com> | 2016-12-26 00:33:11 +0100 |
commit | 3bf2b15eab7bfe94060446ec2fe60aea1923370f (patch) | |
tree | 1b22b97e848cdcfe5bfc1b9a48617b2a6b08fbe0 /cursors.lua | |
parent | 123eaa11502ab426cb9f217868b7b33b15680a3e (diff) | |
download | vis-cursors-3bf2b15eab7bfe94060446ec2fe60aea1923370f.tar.gz |
just use zz to center
Diffstat (limited to 'cursors.lua')
-rw-r--r-- | cursors.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cursors.lua b/cursors.lua index 3bf1e17..90bddcf 100644 --- a/cursors.lua +++ b/cursors.lua @@ -7,7 +7,7 @@ function set_cursor_pos(win) local pos = cursors[win.file.path] if pos == nil then return end win.cursor.pos = tonumber(pos) - vis:feedkeys("<window-redraw-center>") + vis:feedkeys("zz") end function file_exists(path) |