mirror of
https://codeberg.org/leana8959/.files.git
synced 2025-12-06 06:39:14 +00:00
ref(nvim): formatted entire config
This commit is contained in:
parent
57db1d60e4
commit
d83c5c1ace
16 changed files with 280 additions and 280 deletions
|
|
@ -12,7 +12,7 @@ table.insert(vimgrep_arguments, "--hidden") -- search hidden
|
|||
table.insert(vimgrep_arguments, "--glob") -- ignore git
|
||||
table.insert(vimgrep_arguments, "!**/.git/*")
|
||||
|
||||
ts.setup({
|
||||
ts.setup {
|
||||
defaults = {
|
||||
vimgrep_arguments = vimgrep_arguments,
|
||||
mappings = {
|
||||
|
|
@ -24,24 +24,24 @@ ts.setup({
|
|||
pickers = {
|
||||
find_files = {
|
||||
find_command = { "rg", "--files", "--hidden", "--glob", "!**/.git/*" },
|
||||
}
|
||||
}
|
||||
})
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
-- Enable telescope fzf native, if installed
|
||||
pcall(require "telescope".load_extension, 'fzf')
|
||||
pcall(require "telescope".load_extension, "fzf")
|
||||
|
||||
|
||||
map('n', '<leader>?', builtin.oldfiles)
|
||||
map('n', '<leader>/',
|
||||
map("n", "<leader>?", builtin.oldfiles)
|
||||
map("n", "<leader>/",
|
||||
function()
|
||||
builtin.current_buffer_fuzzy_find(themes.get_dropdown { previewer = false })
|
||||
end
|
||||
)
|
||||
map('n', '<leader>sf', builtin.find_files)
|
||||
map('n', '<leader>gf', builtin.git_files)
|
||||
map('n', '<leader>sh', builtin.help_tags)
|
||||
map('n', '<leader>sw', builtin.grep_string)
|
||||
map('n', '<leader>sg', builtin.live_grep)
|
||||
map('n', '<leader>sd', builtin.diagnostics)
|
||||
map('n', '<leader>b', builtin.buffers)
|
||||
map("n", "<leader>sf", builtin.find_files)
|
||||
map("n", "<leader>gf", builtin.git_files)
|
||||
map("n", "<leader>sh", builtin.help_tags)
|
||||
map("n", "<leader>sw", builtin.grep_string)
|
||||
map("n", "<leader>sg", builtin.live_grep)
|
||||
map("n", "<leader>sd", builtin.diagnostics)
|
||||
map("n", "<leader>b", builtin.buffers)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue