mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 20:25:38 +00:00
more comfort on keys
This commit is contained in:
parent
15a1665d0a
commit
0489401afd
@ -29,7 +29,9 @@ function obj:init()
|
|||||||
local newModifiers = event:getFlags()
|
local newModifiers = event:getFlags()
|
||||||
if not self.lastModifiers['ctrl'] then
|
if not self.lastModifiers['ctrl'] then
|
||||||
if newModifiers['ctrl'] then
|
if newModifiers['ctrl'] then
|
||||||
if newModifiers['shift'] then
|
if (newModifiers['shift'] and newModifiers['cmd']) then
|
||||||
|
;
|
||||||
|
elseif newModifiers['shift'] then
|
||||||
hs.eventtap.keyStroke({'shift'}, 'escape', 0)
|
hs.eventtap.keyStroke({'shift'}, 'escape', 0)
|
||||||
else
|
else
|
||||||
hs.eventtap.keyStroke(newModifiers, 'escape', 0)
|
hs.eventtap.keyStroke(newModifiers, 'escape', 0)
|
||||||
|
@ -224,7 +224,7 @@ vim.api.nvim_exec([[
|
|||||||
]], false)
|
]], false)
|
||||||
|
|
||||||
-- Auto-pairs
|
-- Auto-pairs
|
||||||
vim.g.AutoPairsFlyMode = 1
|
vim.g.AutoPairsFlyMode = 0
|
||||||
|
|
||||||
-- Netrw
|
-- Netrw
|
||||||
vim.g.netrw_liststyle = 3 -- Change style to 'tree' view
|
vim.g.netrw_liststyle = 3 -- Change style to 'tree' view
|
||||||
|
Loading…
Reference in New Issue
Block a user