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";
|
||||
};
|
||||
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
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
|
@ -95,9 +105,8 @@ in
|
|||
# git
|
||||
gitsigns-nvim
|
||||
vim-fugitive
|
||||
gv-vim
|
||||
vim-flog
|
||||
git-blame-nvim
|
||||
diffview-nvim
|
||||
nvim-web-devicons # used by diffview-nvim
|
||||
|
||||
# snippets
|
||||
|
|
|
@ -17,7 +17,9 @@ nnoremap("<C-PageUp>", ":TablineBufferPrevious<CR>")
|
|||
|
||||
-- fugitive
|
||||
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
|
||||
local telescope = require("telescope.builtin")
|
||||
|
|
Loading…
Reference in New Issue