removed some unused plugins
This commit is contained in:
parent
0a37abcc6b
commit
e4604d3a08
@ -1,67 +0,0 @@
|
|||||||
return {
|
|
||||||
'aaronhallaert/advanced-git-search.nvim',
|
|
||||||
config = function()
|
|
||||||
require('telescope').load_extension('advanced_git_search')
|
|
||||||
vim.api.nvim_create_user_command(
|
|
||||||
'DiffCommitLine',
|
|
||||||
'lua require("telescope").extensions.advanced_git_search.diff_commit_line()',
|
|
||||||
{ range = true }
|
|
||||||
)
|
|
||||||
end,
|
|
||||||
dependencies = {
|
|
||||||
'nvim-telescope/telescope.nvim',
|
|
||||||
-- to show diff splits and open commits in browser
|
|
||||||
'tpope/vim-fugitive',
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
'<leader>hb',
|
|
||||||
function()
|
|
||||||
require('telescope').extensions.advanced_git_search.diff_branch_file()
|
|
||||||
end,
|
|
||||||
desc = 'Diff file against branch'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'<leader>hl',
|
|
||||||
':DiffCommitLine<cr>gv',
|
|
||||||
desc = 'Diff current line againt previous commits',
|
|
||||||
mode = { 'x', 'n' },
|
|
||||||
noremap = true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'<leader>hf',
|
|
||||||
function()
|
|
||||||
require('telescope').extensions.advanced_git_search.diff_commit_file()
|
|
||||||
end,
|
|
||||||
desc = 'Diff current file against previous commits'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'<leader>ha',
|
|
||||||
function()
|
|
||||||
require('telescope').extensions.advanced_git_search.search_log_content()
|
|
||||||
end,
|
|
||||||
desc = 'Search git log'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'<leader>hs',
|
|
||||||
function()
|
|
||||||
require('telescope').extensions.advanced_git_search.search_log_content_file()
|
|
||||||
end,
|
|
||||||
desc = 'Search git log that changed current file'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'<leader>hr',
|
|
||||||
function()
|
|
||||||
require('telescope').extensions.advanced_git_search.checkout_reflog()
|
|
||||||
end,
|
|
||||||
desc = 'Search all reflog entries'
|
|
||||||
},
|
|
||||||
{
|
|
||||||
'<leader>hh',
|
|
||||||
function()
|
|
||||||
require('telescope').extensions.advanced_git_search.show_custom_functions()
|
|
||||||
end,
|
|
||||||
desc = 'Shwo all git telecope functions'
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,18 +0,0 @@
|
|||||||
return {
|
|
||||||
'AckslD/nvim-neoclip.lua',
|
|
||||||
dependencies = {
|
|
||||||
{ 'kkharji/sqlite.lua', module = 'sqlite' },
|
|
||||||
-- { 'nvim-telescope/telescope.nvim' },
|
|
||||||
},
|
|
||||||
config = true,
|
|
||||||
keys = {
|
|
||||||
{
|
|
||||||
'[',
|
|
||||||
function()
|
|
||||||
require('telescope').extensions.neoclip.default({ initial_mode = 'normal' })
|
|
||||||
end,
|
|
||||||
desc = 'NeoClip'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
event = 'VeryLazy'
|
|
||||||
}
|
|
@ -1,26 +0,0 @@
|
|||||||
return {
|
|
||||||
'mickael-menu/zk-nvim',
|
|
||||||
config = function()
|
|
||||||
require('zk').setup({
|
|
||||||
picker = 'telescope',
|
|
||||||
-- config = {
|
|
||||||
-- on_attach = require('plugins.lspconfig').on_attach
|
|
||||||
-- }
|
|
||||||
lsp = {
|
|
||||||
-- `config` is passed to `vim.lsp.start_client(config)`
|
|
||||||
config = {
|
|
||||||
cmd = { 'zk', 'lsp' },
|
|
||||||
name = 'zk',
|
|
||||||
-- on_attach = ...
|
|
||||||
-- etc, see `:h vim.lsp.start_client()`
|
|
||||||
},
|
|
||||||
|
|
||||||
-- automatically attach buffers in a zk notebook that match the given filetypes
|
|
||||||
auto_attach = {
|
|
||||||
enabled = true,
|
|
||||||
filetypes = { 'markdown' },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
})
|
|
||||||
end
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user