Merge branch 'main' of git.clustercockpit.org:moebiusband/dotfiles

This commit is contained in:
Jan Eitzinger 2023-02-26 10:41:32 +01:00
commit b03926963f
2 changed files with 12 additions and 13 deletions

View File

@ -12,10 +12,10 @@ telescope.setup {
}, },
extensions = { extensions = {
fzf = { fzf = {
fuzzy = true, -- false will only do exact matching fuzzy = true, -- false will only do exact matching
override_generic_sorter = true, -- override the generic sorter override_generic_sorter = true, -- override the generic sorter
override_file_sorter = true, -- override the file sorter override_file_sorter = true, -- override the file sorter
case_mode = "smart_case", -- or "ignore_case" or "respect_case" case_mode = "smart_case", -- or "ignore_case" or "respect_case"
} }
} }
} }
@ -24,12 +24,11 @@ telescope.load_extension('fzf')
telescope.load_extension('file_browser') telescope.load_extension('file_browser')
local map = vim.keymap.set local map = vim.keymap.set
map('n',"<C-n>", "<cmd>Telescope file_browser<cr>") map('n', "<C-n>", "<cmd>Telescope file_browser<cr>")
map('n',"<C-t>", "<cmd>Telescope current_buffer_tags<cr>") map('n', "<C-t>", "<cmd>Telescope current_buffer_tags<cr>")
map('n',"<leader>e", "<cmd>Telescope find_files<cr>") map('n', "<leader>e", "<cmd>Telescope find_files<cr>")
map('n',"<leader>f", "<cmd>Telescope live_grep<cr>") map('n', "<leader>f", "<cmd>Telescope live_grep<cr>")
map('n',"<leader>g", "<cmd>Telescope grep_string<cr>") map('n', "<leader>b", "<cmd>Telescope buffers<cr>")
map('n',"<leader>b", "<cmd>Telescope buffers<cr>") map('n', "<leader>h", "<cmd>Telescope help_tags<cr>")
map('n',"<leader>h", "<cmd>Telescope help_tags<cr>") map('n', "z=", "<cmd>Telescope spell_suggest<cr>")
map('n',"z=", "<cmd>Telescope spell_suggest<cr>")

View File

@ -54,7 +54,7 @@ require "paq" {
"theHamsta/nvim-dap-virtual-text"; "theHamsta/nvim-dap-virtual-text";
"rcarriga/nvim-dap-ui"; "rcarriga/nvim-dap-ui";
"NvChad/nvim-colorizer.lua"; "norcalli/nvim-colorizer.lua";
"lewis6991/gitsigns.nvim"; "lewis6991/gitsigns.nvim";
"tpope/vim-fugitive"; "tpope/vim-fugitive";
"renerocksai/telekasten.nvim"; "renerocksai/telekasten.nvim";