add zig stuff
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
local map = vim.api.nvim_set_keymap
|
||||
|
||||
require("telescope").load_extension("live_grep_args")
|
||||
|
||||
local tele = require('telescope.builtin')
|
||||
local tele_ext = require('telescope').extensions
|
||||
|
||||
local telemap = function(cmd, cb)
|
||||
map('n', cmd, '', {
|
||||
@@ -12,7 +15,7 @@ end
|
||||
|
||||
telemap('<Leader>ff', function() tele.find_files({ hidden = true, file_ignore_patterns = {'^.git'} }) end)
|
||||
|
||||
telemap('<Leader>fg', tele.live_grep)
|
||||
telemap('<Leader>fg', tele_ext.live_grep_args.live_grep_args)
|
||||
|
||||
telemap('<Leader>fb', tele.buffers)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user