include i3 and nvim configuration in the central repository, rather than keep them in their seperate respective ones.
This commit is contained in:
21
.config/nvim/lua/plugin/lf-nvim.lua
Normal file
21
.config/nvim/lua/plugin/lf-nvim.lua
Normal file
@@ -0,0 +1,21 @@
|
||||
---@module 'lazy'
|
||||
---@type LazySpec
|
||||
return { {
|
||||
'lmburns/lf.nvim',
|
||||
lazy = false,
|
||||
dependencies = { 'akinsho/toggleterm.nvim' },
|
||||
---@module 'lf'
|
||||
---@type Lf.Config
|
||||
opts = {
|
||||
direction = 'float',
|
||||
border = 'rounded',
|
||||
},
|
||||
config = function(_, opts)
|
||||
vim.g.lf_netrw = 1
|
||||
|
||||
local lf = require('lf')
|
||||
lf.setup(opts)
|
||||
|
||||
Map({ 'n' }, '<leader>o', lf.start, { desc = 'Shows the LF window' })
|
||||
end
|
||||
} }
|
||||
Reference in New Issue
Block a user