summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2025-12-09 20:29:40 +0100
committerMarc Vertes <mvertes@free.fr>2025-12-09 20:29:40 +0100
commit60ca87b386ca6adf29f8bb70cdeb78b9a1f33d44 (patch)
treeabae3ec074e685785805e2563ed4c474783268bf
parent56b857e62331273223d17c949f8908093199ffaf (diff)
update
-rw-r--r--.bashrc4
-rw-r--r--.vimrc8
2 files changed, 6 insertions, 6 deletions
diff --git a/.bashrc b/.bashrc
index e420ffd..928452d 100644
--- a/.bashrc
+++ b/.bashrc
@@ -6,7 +6,7 @@
export CDPATH=.:..
export PAGER=less
export EDITOR=vim
-export MANPAGER='vim +MANPAGER --not-a-term -'
+# export MANPAGER='vim +MANPAGER --not-a-term -'
export HISTIGNORE='sudo id:uname:date:exit:df:ll:ls:ps:pwd:tc:top:history'
export HISTCONTROL=ignoreboth:erasedups # no start space and duplicate entries
export HISTSIZE=100000 # big big history
@@ -52,7 +52,7 @@ d() { date +%F; }
p() { [ -f "$1" -a ! -x "$1" ] && less "$1" || "$@" 2>&1 | less; }
export -f d p
-[ "$OS" = alpine ] && export MANPAGER='vim +MANPAGER --not-a-term'
+# [ "$OS" = alpine ] && export MANPAGER='vim +MANPAGER --not-a-term'
export LESS=iXFRx4
# export SHELLCHECK_OPTS='-S warning'
diff --git a/.vimrc b/.vimrc
index 93c3247..9b00087 100644
--- a/.vimrc
+++ b/.vimrc
@@ -126,11 +126,11 @@ noremap <leader><leader> :call CloseOnLast()<cr>
" vim-go settings
" let g:go_gopls_enabled = 0
let g:go_gopls_enabled = 1
-let g:go_def_mode = 'godef'
+" let g:go_def_mode = 'godef'
" let g:go_referrers_mode = 'godef'
-let g:go_fmt_command = 'goimports'
-let g:go_imports_mode = 'goimports'
-let g:go_rename_command = 'gorename'
+" let g:go_fmt_command = 'goimports'
+" let g:go_imports_mode = 'goimports'
+" let g:go_rename_command = 'gorename'
" " vim-lsp settings
" let g:lsp_diagnostics_enabled = 0