Nvim: luify config
This commit is contained in:
@@ -21,7 +21,7 @@ local peek = require('peek')
|
||||
|
||||
vim.api.nvim_create_user_command('PeekOpen', function()
|
||||
if not peek.is_open() and vim.bo[vim.api.nvim_get_current_buf()].filetype == 'markdown' then
|
||||
vim.fn.system('i3-msg split horizontal')
|
||||
--vim.fn.system('i3-msg split horizontal')
|
||||
peek.open()
|
||||
end
|
||||
end, {})
|
||||
@@ -29,6 +29,6 @@ end, {})
|
||||
vim.api.nvim_create_user_command('PeekClose', function()
|
||||
if peek.is_open() then
|
||||
peek.close()
|
||||
vim.fn.system('i3-msg move left')
|
||||
--vim.fn.system('i3-msg move left')
|
||||
end
|
||||
end, {})
|
||||
|
||||
Reference in New Issue
Block a user