window.lua

changeset 1
4d7540af8518
parent 0
98e4b0c9fcac
equal deleted inserted replaced
0:98e4b0c9fcac 1:4d7540af8518
210 return view 210 return view
211 end, 211 end,
212 212
213 -- Wrapper around the bind plugin's hit method 213 -- Wrapper around the bind plugin's hit method
214 hit = function (w, mods, key) 214 hit = function (w, mods, key)
215 local caught, newbuf = lousy.bind.hit(w.binds or {}, mods, key, w.buffer, w:is_mode("normal"), w) 215 local caught, newbuf = lousy.bind.hit(w.binds or {}, mods, key, w.buffer, false, w)
216 if w.win then 216 if w.win then
217 w.buffer = newbuf 217 w.buffer = newbuf
218 w:update_buf() 218 w:update_buf()
219 end 219 end
220 return caught 220 return caught

mercurial