add fvim alias, setup nvim undofile

This commit is contained in:
Philipp 2024-06-19 00:18:02 +02:00
parent b938e9192a
commit 6f386d26a2
Signed by: Philipp
GPG key ID: 9EBD8439AFBAB750
3 changed files with 5 additions and 0 deletions

View file

@ -12,6 +12,7 @@ You will need atleast following packages for it to work
### Getting started
For stow to restore the old state you have to run following command.
`git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles`
`stow alacritty nvim plasma zsh`

View file

@ -42,3 +42,6 @@ set cursorline
" disable creating swap file
set noswapfile
" setup an undofile
set undofile

View file

@ -106,6 +106,7 @@ alias autoremove='paru -Rns $(pacman -Qdtq)'
alias autoclean='paru -Sc'
alias autoclean-all='paru -Scc'
alias kexec-load="sudo kexec -l /boot/vmlinuz-linux-zen --initrd=/boot/initramfs-linux-zen.img --reuse-cmdline"
alias fvim='nvim $(fzf --preview="cat {}")'
# Setup better history with fzf
source <(fzf --zsh)