From cb06dd38d03debd9bf239b7720c0f70834491215 Mon Sep 17 00:00:00 2001 From: Max Date: Sat, 21 May 2022 01:33:18 +0200 Subject: [PATCH] feat(nvim): add up arrow to access last search --- configs/nvim/ftplugin/TelescopePrompt.vim | 1 + configs/nvim/lua/configs/telescope.lua | 4 +++- configs/sway/config | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 configs/nvim/ftplugin/TelescopePrompt.vim diff --git a/configs/nvim/ftplugin/TelescopePrompt.vim b/configs/nvim/ftplugin/TelescopePrompt.vim new file mode 100644 index 0000000..ff662f1 --- /dev/null +++ b/configs/nvim/ftplugin/TelescopePrompt.vim @@ -0,0 +1 @@ +:imap :lua require'telescope.builtin'.resume{} diff --git a/configs/nvim/lua/configs/telescope.lua b/configs/nvim/lua/configs/telescope.lua index ce08221..cb017cb 100644 --- a/configs/nvim/lua/configs/telescope.lua +++ b/configs/nvim/lua/configs/telescope.lua @@ -15,7 +15,9 @@ local default = { "--with-filename", "--line-number", "--column", - "--smart-case" + "--smart-case", + "--ignore-file", + "workerMain.js" }, prompt_prefix = "  ", selection_caret = " ", diff --git a/configs/sway/config b/configs/sway/config index 42c0274..bc86c38 100644 --- a/configs/sway/config +++ b/configs/sway/config @@ -325,6 +325,7 @@ exec_always dunst # Handle Authentiction requests exec_always /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec_always clipman +exec_always /usr/lib/kdeconnectd # Dimms the screen exec_always wlsunset -l 39.47 -L -0.3821346 exec wl-paste -t text --watch clipman store --no-persist