Search vim help for subject under cursor
Just press K. If you have set a global ‘keywordprg’, you need to unset it (or set it to the special :help value) in ~/.vim/after/ftplugin/vim.vim: :setlocal keywordprg=:help
Just press K. If you have set a global ‘keywordprg’, you need to unset it (or set it to the special :help value) in ~/.vim/after/ftplugin/vim.vim: :setlocal keywordprg=:help
Try gggqG to apply the new text width to the whole buffer. gg means : go to the beginning of buffer gq means : reformat the text included in the motion G means : go to the end of the buffer (It will work if the format options are correctly set, as detailed in Zyx … Read more
I had a similar issue. I ran :TSUpdate in Neovim to update Treesitter plugin and the error message disapear after relaunching.
:hi NonText guifg=bg That command should set the color of non text characters to be the same as the background color.
This seem to be a regression on macOS Sierra. A solution that worked for me has been mentioned by Josh McGinnis https://github.com/tmux/tmux/issues/543: brew install reattach-to-user-namespace Ensure the following is set in .tmux.conf: set -g default-shell $SHELL set -g default-command “reattach-to-user-namespace -l ${SHELL}” In .vimrc or ~/.config/nvim/init.vim (for Neovim): set clipboard=unnamed Now all is well and … Read more
the config file for neovim is at ~/.config/nvim/init.vim. or if set $XDG_CONFIG_HOME/nvim/init.vim. you can get more info with :help nvim-config from your neovim instance.
Both VIm 8.0 and Neovim have their own built-in package manager. In VIm 8.0, create the following directories: ~/.vim/pack/*/start (where * may be any name e.g. ~/.vim/pack/jimmy/start): Clone your required plugin into the start directory just as you would if you were installing it for Pathogen. You need nothing more and no commands in your … Read more
I’ve found an even better solution for this: FZF It simply searches through everything in your project asynchronously using the :Ag command.