Compare commits

..

2 Commits

Author SHA1 Message Date
mandlm 7c628f076c
feat: add dressing-nvim to handle lsp renames 2023-01-25 10:44:25 +01:00
mandlm f7118b8b8f
feat: replace gv-vim with vim-flog 2023-01-25 10:43:54 +01:00
2 changed files with 17 additions and 3 deletions

View File

@ -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; [
@ -75,6 +85,9 @@ in
vim-bbye
ansible-vim
# ui
dressing-nvim
# session handling
project-nvim
auto-session
@ -95,9 +108,8 @@ in
# git
gitsigns-nvim
vim-fugitive
gv-vim
vim-flog
git-blame-nvim
diffview-nvim
nvim-web-devicons # used by diffview-nvim
# snippets

View File

@ -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")