feat: bat & nvim

This commit is contained in:
Michel 2024-02-23 15:48:08 +01:00
parent b7c5907ba0
commit 831521dbc1
3 changed files with 6 additions and 5 deletions

View File

@ -94,7 +94,7 @@ git apply --stat --apply 2604.patch
## Debian Packages
```sh
apt install curl fd-find fzf ripgrep wget xdg-utils
apt install curl fd-find fzf grc ripgrep wget xdg-utils
dpkg-divert --divert /usr/bin/fd --rename /usr/bin/fdfind
dpkg-divert --divert /usr/share/man/man1/fd.1.gz --rename /usr/share/man/man1/fdfind.1.gz

View File

@ -1,8 +1,5 @@
# Documentation:
# https://github.com/jesseduffield/lazygit/blob/master/docs/Config.md
#
# To upgrade to latest binary:
# `go install github.com/jesseduffield/lazygit@latest`
customCommands:
@ -71,6 +68,9 @@ keybinding:
notARepository: 'skip'
os:
editPreset: 'nvim'
refresher:
refreshInterval: 30
fetchInterval: 3600

3
.zshrc
View File

@ -242,7 +242,7 @@ export NNN_BMS="d:~/Downloads"
export NNN_OPENER="${XDG_CONFIG_HOME:-$HOME/.config}/nnn/plugins/nuke"
export NNN_OPTS='ABeGo'
export NNN_ORDER="t:$HOME/Downloads"
export NNN_PLUG='b:-!bat --paging=always "$nnn"*;d:fzcd;m:mimelist;o:-!mimeopen --ask "$nnn"*;O:-!mimeopen "$nnn"*;U:umounttree;z:fzopen'
export NNN_PLUG=';:-!bat --paging=always "$nnn"*;d:fzcd;m:mimelist;o:-!mimeopen --ask "$nnn"*;O:-!mimeopen "$nnn"*;U:umounttree;z:fzopen'
if (( ${+commands[trash-put]} )); then
export NNN_TRASH=1
elif (( ${+commands[gio]} )); then
@ -430,6 +430,7 @@ export BROWSER=firefox
export EDITOR=vi
export LESS=-iFRS
export SYSTEMD_LESS='iFRSXMK'
export VISUAL=bat
# KeePassXC SSH Agent
[[ -v SSH_AUTH_SOCK ]] || export SSH_AUTH_SOCK=$(echo /tmp/ssh-*/agent.*(U))