add fvim alias, setup nvim undofile
This commit is contained in:
parent
b938e9192a
commit
6f386d26a2
3 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,7 @@ You will need atleast following packages for it to work
|
||||||
### Getting started
|
### Getting started
|
||||||
|
|
||||||
For stow to restore the old state you have to run following command.
|
For stow to restore the old state you have to run following command.
|
||||||
|
|
||||||
`git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles`
|
`git clone https://git.snrd.eu/Spaenny/dotfiles.git && cd dotfiles`
|
||||||
|
|
||||||
`stow alacritty nvim plasma zsh`
|
`stow alacritty nvim plasma zsh`
|
||||||
|
|
|
@ -42,3 +42,6 @@ set cursorline
|
||||||
|
|
||||||
" disable creating swap file
|
" disable creating swap file
|
||||||
set noswapfile
|
set noswapfile
|
||||||
|
|
||||||
|
" setup an undofile
|
||||||
|
set undofile
|
||||||
|
|
|
@ -106,6 +106,7 @@ alias autoremove='paru -Rns $(pacman -Qdtq)'
|
||||||
alias autoclean='paru -Sc'
|
alias autoclean='paru -Sc'
|
||||||
alias autoclean-all='paru -Scc'
|
alias autoclean-all='paru -Scc'
|
||||||
alias kexec-load="sudo kexec -l /boot/vmlinuz-linux-zen --initrd=/boot/initramfs-linux-zen.img --reuse-cmdline"
|
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
|
# Setup better history with fzf
|
||||||
source <(fzf --zsh)
|
source <(fzf --zsh)
|
||||||
|
|
Loading…
Reference in a new issue