Skip to content
Λlisue edited this page Sep 15, 2025 · 3 revisions

Use the following vimrc to create a minimal vimrc to reproduce issues. Use it like vim -u vimrc.min or nvim -u vimrc.min.

" vim -u vimrc.min
" nvim -u vimrc.min
if exists('+compatible') && &compatible
  set nocompatible
endif

" Disable Vim's native pack feature
set packpath=

" The target plugin directory
set runtimepath^=~/ogh/vim-denops/denops.vim

filetype plugin indent on
syntax on
"----------------------------------------------------------------

" Swap ; and : (my personal preference)
nnoremap ; :
nnoremap : ;

" Add Capture commmand to copy messages to clipboard
function! s:capture() abort
  cal setreg('+', execute('messages', ''))
  echo "Messages copied to clipboard"
endfunction
command! Capture call s:capture()

"----------------------------------------------------------------
echomsg "Custom minimal vimrc has loaded"

Note: you may encounter a netrw issue when using set packpath=.

Clone this wiki locally