Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nvim/lua/keymappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ wk.add({
{ '<leader>fgr', '<cmd>Telescope gh run<cr>', desc = '[TELESCOPE] GitHub view workflow runs' },
{
'<leader>fgs',
"<cmd>lua require('telescope.builtin').git_status(require('telescope.themes').get_dropdown({layout_config={width=0.75}}))<cr>",
"<cmd>lua require('telescope.builtin').git_status(require('telescope.themes').get_dropdown({layout_strategy='vertical', layout_config={width=0.75, height=0.95}}))<cr>",
desc = '[TELESCOPE] Git status',
},
{ '<leader>fh', "<cmd>lua require('telescope.builtin').help_tags()<cr>", desc = '[TELESCOPE] Help tags' },
Expand Down
2 changes: 2 additions & 0 deletions nvim/lua/plugins/configs/telescope.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down
10 changes: 7 additions & 3 deletions shell/functions
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion shell/zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down