Skip to content

Commit

Permalink
feat: load plugins for man.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
mike325 committed Aug 24, 2024
1 parent 72d9d80 commit 9dd6392
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion shell/alias/alias.csh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if ( `where nvim` != "" ) then
alias cim "nvim"
alias im "nvim"

setenv MANPAGER 'nvim --noplugin --cmd "let g:minimal=v:true" -c "Man!"'
setenv MANPAGER 'nvim --cmd "let g:minimal=v:true" +Man!'
else
setenv EDITOR "vim"

Expand Down
10 changes: 5 additions & 5 deletions shell/alias/alias.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ if hash nvim 2>/dev/null; then
alias im="nvim"

# shellcheck disable=SC2016
export MANPAGER='nvim --noplugin --cmd "let g:minimal=v:true" +Man!'
export MANPAGER='nvim --cmd "let g:minimal=v:true" +Man!'

else
export EDITOR="vim"
Expand Down Expand Up @@ -725,7 +725,7 @@ function bk() {
for key in "$@"; do
case "$key" in
-h | --help)
cat<<EOF
cat <<EOF
Function to go back any number of dirs
Usage:
Expand Down Expand Up @@ -762,7 +762,7 @@ function mkcd() {
for key in "$@"; do
case "$key" in
-h | --help)
cat<<EOF
cat <<EOF
Create a dir an move to it
Usage:
Expand Down Expand Up @@ -832,7 +832,7 @@ function replace_base() {
case "$key" in
-h | --help)

cat<<EOF
cat <<EOF
Function to look for the nearest ancestor with the full given path
Usage:
Expand Down Expand Up @@ -886,7 +886,7 @@ function change_base() {
for key in "$@"; do
case "$key" in
-h | --help)
cat<<EOF
cat <<EOF
Function to look for the nearest ancestor of given dir
Usage:
Expand Down

0 comments on commit 9dd6392

Please sign in to comment.