feat: replace gv-vim with vim-flog
parent
94c1a20cea
commit
f7118b8b8f
|
@ -33,6 +33,16 @@ let
|
||||||
};
|
};
|
||||||
meta.homepage = "https://github.com/Ttibsi/pre-commit.nvim";
|
meta.homepage = "https://github.com/Ttibsi/pre-commit.nvim";
|
||||||
};
|
};
|
||||||
|
vim-flog = pkgs.vimUtils.buildVimPlugin {
|
||||||
|
name = "vim-flog";
|
||||||
|
version = "2023-01-24";
|
||||||
|
src = pkgs.fetchgit {
|
||||||
|
url = "https://github.com/rbong/vim-flog";
|
||||||
|
rev = "baa0206f8d1685d1239d6c10f4b53869eb84c4a0";
|
||||||
|
sha256 = "y9o1b1HXg6jtYXgKya2wPsIETOWCo8qfN8QuRIq9rUI=";
|
||||||
|
};
|
||||||
|
meta.homepage = "https://github.com/rbong/vim-flog/";
|
||||||
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
@ -95,9 +105,8 @@ in
|
||||||
# git
|
# git
|
||||||
gitsigns-nvim
|
gitsigns-nvim
|
||||||
vim-fugitive
|
vim-fugitive
|
||||||
gv-vim
|
vim-flog
|
||||||
git-blame-nvim
|
git-blame-nvim
|
||||||
diffview-nvim
|
|
||||||
nvim-web-devicons # used by diffview-nvim
|
nvim-web-devicons # used by diffview-nvim
|
||||||
|
|
||||||
# snippets
|
# snippets
|
||||||
|
|
|
@ -17,7 +17,9 @@ nnoremap("<C-PageUp>", ":TablineBufferPrevious<CR>")
|
||||||
|
|
||||||
-- fugitive
|
-- fugitive
|
||||||
nnoremap("<leader>g", ":0Git<CR>")
|
nnoremap("<leader>g", ":0Git<CR>")
|
||||||
nnoremap("<leader>G", ":GV --all<CR>")
|
|
||||||
|
-- vim-flog
|
||||||
|
nnoremap("<leader>G", ":Flog -all -date=relative -open-cmd=new<CR>")
|
||||||
|
|
||||||
-- telescope
|
-- telescope
|
||||||
local telescope = require("telescope.builtin")
|
local telescope = require("telescope.builtin")
|
||||||
|
|
Loading…
Reference in New Issue