Changed PS1 and harpoon keymap

This commit is contained in:
Nicola Belluti 2024-11-02 14:19:01 +01:00
parent 799b7e2791
commit e77dbcdb02
2 changed files with 4 additions and 5 deletions

View File

@ -9,10 +9,9 @@ return {
vim.keymap.set("n", "<leader>ha", function() harpoon:list():add() end)
vim.keymap.set("n", "<leader>hh", function() harpoon.ui:toggle_quick_menu(harpoon:list()) end)
vim.keymap.set("n", "<leader>1", function() harpoon:list():select(1) end)
vim.keymap.set("n", "<leader>2", function() harpoon:list():select(2) end)
vim.keymap.set("n", "<leader>3", function() harpoon:list():select(3) end)
vim.keymap.set("n", "<leader>4", function() harpoon:list():select(4) end)
for i = 1, 9 do
vim.keymap.set("n", "<leader>" .. tostring(i), function() harpoon:list():select(i) end)
end
vim.keymap.set("n", "<C-S-P>", function() harpoon:list():prev() end)
vim.keymap.set("n", "<C-S-N>", function() harpoon:list():next() end)

View File

@ -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"