From 68f4148abdacb2dd896329749dfe8dfa299c123d Mon Sep 17 00:00:00 2001 From: Minijackson Date: Thu, 13 Jun 2024 17:25:24 +0200 Subject: common/nixvim: set Telescope undo action in telescope mappings --- common/nixvim.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) (limited to 'common') diff --git a/common/nixvim.nix b/common/nixvim.nix index 3962ec2..02e6943 100644 --- a/common/nixvim.nix +++ b/common/nixvim.nix @@ -105,15 +105,6 @@ in }; in [ - { - key = "fu"; - action.__raw = "require('telescope').extensions.undo.undo"; - options = { - silent = true; - desc = "Telescope undo"; - }; - } - { key = "-"; action.__raw = "require('oil').open"; @@ -494,6 +485,11 @@ in options.desc = "Telescope treesitter"; }; + "fu" = { + action = "undo"; + options.desc = "Telescope undo"; + }; + "fw" = { action = "git_status"; options.desc = "Telescope git status"; -- cgit v1.2.3