mirror of
https://github.com/jdhao/nvim-config.git
synced 2025-06-08 14:14:33 +02:00
Compare commits
No commits in common. "acb8b7fcf8cc323b1a5de5d5cdbde1b1fe6695ac" and "17acda10a0b32bc22a56c3a1995bbe48287b768d" have entirely different histories.
acb8b7fcf8
...
17acda10a0
@ -1,14 +0,0 @@
|
|||||||
local gitlinker = require('gitlinker')
|
|
||||||
|
|
||||||
gitlinker.setup({
|
|
||||||
mappings = nil,
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.keymap.set({ 'n', 'v' }, '<leader>gl', '', {
|
|
||||||
silent = true,
|
|
||||||
desc = "get git permlink",
|
|
||||||
callback = function()
|
|
||||||
local mode = string.lower(vim.fn.mode())
|
|
||||||
gitlinker.get_buf_range_url(mode)
|
|
||||||
end
|
|
||||||
})
|
|
||||||
@ -9,7 +9,7 @@ hop.setup({
|
|||||||
quit_key = "<Esc>",
|
quit_key = "<Esc>",
|
||||||
})
|
})
|
||||||
|
|
||||||
vim.keymap.set({ "n", "v", "o" }, "f", "", {
|
vim.keymap.set({ "n", "v" }, "f", "", {
|
||||||
silent = true,
|
silent = true,
|
||||||
noremap = true,
|
noremap = true,
|
||||||
callback = function()
|
callback = function()
|
||||||
|
|||||||
@ -213,7 +213,7 @@ packer.startup({
|
|||||||
|
|
||||||
-- Show the content of register in preview window
|
-- Show the content of register in preview window
|
||||||
-- Plug 'junegunn/vim-peekaboo'
|
-- Plug 'junegunn/vim-peekaboo'
|
||||||
use({ "nvim-zh/better-escape.vim", event = { "InsertEnter" } })
|
use({ "jdhao/better-escape.vim", event = { "InsertEnter" } })
|
||||||
|
|
||||||
if vim.g.is_mac then
|
if vim.g.is_mac then
|
||||||
use({ "lyokha/vim-xkbswitch", event = { "InsertEnter" } })
|
use({ "lyokha/vim-xkbswitch", event = { "InsertEnter" } })
|
||||||
@ -236,13 +236,6 @@ packer.startup({
|
|||||||
|
|
||||||
use({ "christoomey/vim-conflicted", requires = "tpope/vim-fugitive", cmd = {"Conflicted"}})
|
use({ "christoomey/vim-conflicted", requires = "tpope/vim-fugitive", cmd = {"Conflicted"}})
|
||||||
|
|
||||||
use {
|
|
||||||
'ruifm/gitlinker.nvim',
|
|
||||||
requires = 'nvim-lua/plenary.nvim',
|
|
||||||
event = "User InGitRepo",
|
|
||||||
config = [[require('config.git-linker')]]
|
|
||||||
}
|
|
||||||
|
|
||||||
use({ "kevinhwang91/nvim-bqf", ft = "qf", config = [[require('config.bqf')]] })
|
use({ "kevinhwang91/nvim-bqf", ft = "qf", config = [[require('config.bqf')]] })
|
||||||
|
|
||||||
-- Better git commit experience
|
-- Better git commit experience
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user