diff --git a/home/private_dot_config/nvim/lua/plugins/harpoon.lua b/home/private_dot_config/nvim/lua/plugins/harpoon.lua index 800a669..a3936e3 100644 --- a/home/private_dot_config/nvim/lua/plugins/harpoon.lua +++ b/home/private_dot_config/nvim/lua/plugins/harpoon.lua @@ -9,10 +9,9 @@ return { vim.keymap.set("n", "ha", function() harpoon:list():add() end) vim.keymap.set("n", "hh", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end) - vim.keymap.set("n", "1", function() harpoon:list():select(1) end) - vim.keymap.set("n", "2", function() harpoon:list():select(2) end) - vim.keymap.set("n", "3", function() harpoon:list():select(3) end) - vim.keymap.set("n", "4", function() harpoon:list():select(4) end) + for i = 1, 9 do + vim.keymap.set("n", "" .. tostring(i), function() harpoon:list():select(i) end) + end vim.keymap.set("n", "", function() harpoon:list():prev() end) vim.keymap.set("n", "", function() harpoon:list():next() end) diff --git a/home/private_dot_config/zsh/dot_zshrc b/home/private_dot_config/zsh/dot_zshrc index d2453c4..3299e11 100644 --- a/home/private_dot_config/zsh/dot_zshrc +++ b/home/private_dot_config/zsh/dot_zshrc @@ -2,7 +2,7 @@ source "$ZDOTDIR/history.zsh" source "$ZDOTDIR/alias.zsh" source "$ZDOTDIR/plugins.zsh" -export PS1="%F{38}[%n@%m %F{45}%B%~%b%f%F{38}]%f$ " +export PS1="%F{45}%B%~%b%f $ " export TIMEFMT=$'real\t%E\nuser\t%U\nsys\t%S' export EDITOR="nvim" export ViSUAL_EDITOR="nvim"