From 4df6d210a2eca6bffa6d0f560bf578c20640c5bc Mon Sep 17 00:00:00 2001 From: codepuncher Date: Mon, 21 Jul 2025 10:31:09 +0100 Subject: [PATCH 1/4] feat(nvim): telescope layout changes --- nvim/lua/plugins/configs/telescope.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nvim/lua/plugins/configs/telescope.lua b/nvim/lua/plugins/configs/telescope.lua index d113de0..1b9554d 100644 --- a/nvim/lua/plugins/configs/telescope.lua +++ b/nvim/lua/plugins/configs/telescope.lua @@ -42,9 +42,11 @@ telescope.setup({ pickers = { live_grep = { theme = 'dropdown', + layout_strategy = 'horizontal', layout_config = { prompt_position = 'bottom', width = 0.75, + height = 0.95, }, }, git_branches = { From 9cff33e030242e131de1f9448211bbffb68eb3d0 Mon Sep 17 00:00:00 2001 From: codepuncher Date: Mon, 21 Jul 2025 10:31:36 +0100 Subject: [PATCH 2/4] fix(zsh): correctly define editor as nvim --- shell/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/zshrc b/shell/zshrc index 482f480..fe10ed9 100644 --- a/shell/zshrc +++ b/shell/zshrc @@ -196,7 +196,7 @@ bindkey -M vicmd 'j' history-substring-search-down # Misc export WORDCHARS=${WORDCHARS/\//} -export EDITOR=nvim +export EDITOR="$(which nvim)" setopt HIST_IGNORE_SPACE # Because WSL does not have From 0315f66beb65299471c4cb8c957b10e14edc4b95 Mon Sep 17 00:00:00 2001 From: codepuncher Date: Mon, 21 Jul 2025 10:31:52 +0100 Subject: [PATCH 3/4] fix(setup): broke neovim installer --- shell/functions | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/shell/functions b/shell/functions index 22a20fa..2679d5f 100644 --- a/shell/functions +++ b/shell/functions @@ -198,12 +198,16 @@ install_mailpit() { } install_neovim() { - curl -LO https://github.com/neovim/neovim/releases/latest/download/nvim-linux64.tar.gz + set -x + local DIRNAME='nvim-linux-x86_64' + local FILENAME="${DIRNAME}.tar.gz" + curl -LO "https://github.com/neovim/neovim/releases/latest/download/${FILENAME}" -o "/tmp/${FILENAME}" rm ~/.local/bin/nvim sudo rm -rf /opt/nvim sudo rm -rf /opt/neovim - sudo tar -C /opt -xzf nvim-linux64.tar.gz - ln -s /opt/nvim-linux64/bin/nvim ~/.local/bin/nvim + sudo tar -C /opt -xzf "${FILENAME}" + ln -s "/opt/${DIRNAME}/bin/nvim" ~/.local/bin/nvim + set +x } gh_get_latest_tag() { From 740b6432f9c0fa1551d4957fdb36b80276241ead Mon Sep 17 00:00:00 2001 From: codepuncher Date: Mon, 21 Jul 2025 10:33:29 +0100 Subject: [PATCH 4/4] feat(nvim): telescope layout changes --- nvim/lua/keymappings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/lua/keymappings.lua b/nvim/lua/keymappings.lua index 9da801f..fb88cc8 100644 --- a/nvim/lua/keymappings.lua +++ b/nvim/lua/keymappings.lua @@ -118,7 +118,7 @@ wk.add({ { 'fgr', 'Telescope gh run', desc = '[TELESCOPE] GitHub view workflow runs' }, { 'fgs', - "lua require('telescope.builtin').git_status(require('telescope.themes').get_dropdown({layout_config={width=0.75}}))", + "lua require('telescope.builtin').git_status(require('telescope.themes').get_dropdown({layout_strategy='vertical', layout_config={width=0.75, height=0.95}}))", desc = '[TELESCOPE] Git status', }, { 'fh', "lua require('telescope.builtin').help_tags()", desc = '[TELESCOPE] Help tags' },