mirror of
https://github.com/rydesun/dotfiles.git
synced 2025-12-26 22:55:00 +08:00
Update config: use neovim as pager
This commit is contained in:
parent
e51024ffc6
commit
bfbb464f1c
2 changed files with 3 additions and 1 deletions
|
|
@ -72,7 +72,8 @@ alias rmf='rm -rf' && compdef rmf='rm'
|
|||
alias ds='du -sh'
|
||||
mcd() { mkdir -p $1 && cd $1 }
|
||||
|
||||
alias -g LL='| less'
|
||||
# 使用neovim作为pager
|
||||
alias v='nvim -R -c "nnoremap q :exit<CR>"' && compdef v=nvim
|
||||
|
||||
alias pm='pacman'
|
||||
alias pmu='sudo pacman -Syu'
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ PATH DEFAULT=${PATH}:${GOPATH}/bin:@{HOME}/packages/node_modules/.bin
|
|||
# default
|
||||
EDITOR DEFAULT=nvim
|
||||
BROWSER DEFAULT=firefox-developer-edition
|
||||
MANPAGER DEFAULT="nvim -c 'set ft=man' -"
|
||||
|
||||
# xdg base directory
|
||||
XDG_CONFIG_HOME DEFAULT=@{HOME}.config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue