mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-09-10 19:56:24 +00:00
Convert keymappings to which-key
This commit is contained in:
19
.config/nvim/lua/functions.lua
Normal file
19
.config/nvim/lua/functions.lua
Normal file
@@ -0,0 +1,19 @@
|
||||
-- functions
|
||||
|
||||
local M = {}
|
||||
|
||||
function M.edit_dotfiles()
|
||||
require'telescope.builtin'.git_files {
|
||||
shorten_path = false,
|
||||
cwd = "~/.dotfiles",
|
||||
prompt = "~ dotfiles ~",
|
||||
height = 10,
|
||||
|
||||
layout_strategy = 'horizontal',
|
||||
layout_options = {
|
||||
preview_width = 0.75,
|
||||
},
|
||||
}
|
||||
end
|
||||
|
||||
return M
|
Reference in New Issue
Block a user