9 votes

How can I get a navigable (editable?) buffer with vim's `messages`?

Try this: :put = execute('messages') Explanation: :put {register} puts the contents of the register at the cursor location (like p in normal mode) execute('messages') is a vimscript function that ...
NaotoTanaka's user avatar
8 votes

How can I get a navigable (editable?) buffer with vim's `messages`?

Try this: :redir > messages.txt :messages :redir END :e messages.txt You can suppress output to the display while still capturing the messages output by changing :messages to :silent messages.
Heptite's user avatar
  • 19.9k
7 votes
Accepted

Vim slow at rendering the buffer with LaTeX syntax highlighting

The problem is, vim's regular expression engine is really slow, and I guess latex is pretty demanding on regex. I was able to get vim a bit faster by doing: :syn clear texSectionFold :syn clear ...
Edd Barrett's user avatar
5 votes
Accepted

How can I get a navigable (editable?) buffer with vim's `messages`?

The answer by Heptite is a good way to do this using built-ins. If you're okay with using a plugin, my bufferize plugin automates the process a bit. Lets you just do: :Bufferize messages In order to ...
Andrew Radev's user avatar
4 votes
Accepted

Vim airline plugin orange arrow bug

That is no error, but the expected behaviour, because the last section is empty. If you don't want that behaviour, see the help for the skip_empty variable.
Christian Brabandt's user avatar
3 votes

Vim script Gundo isn't working properly

To get it working these days (with python3 support) you need to add the following variable to your .vimrc: let g:gundo_prefer_python3 = 1 Otherwise you'll run into errors like: "E117: Unknown ...
Pierz's user avatar
  • 1,989
3 votes

Vim: How to synchronize NERDTree with current opened tab file path?

Check this cool plugin vim-nerdtree-sync
Nafaa Boutefer's user avatar
2 votes
Accepted

Vim Airline - how to disable tabline filename?

let g:airline#extensions#tabline#show_splits = 0 In your .vimrc and restart vim. Wasn't fixed 'til 2016-02-22.
Walf's user avatar
  • 450
2 votes
Accepted

Plugins configuration file for Vim

You can separate settings for plugins in several files, and include them in .vimrc For example: " My Plugin settings { if filereadable(expand('~/.vim/my.plugin.settings.vim')) source ~/.vim/my....
Iryston's user avatar
  • 136
2 votes

How do I set the alternate search path for a.vim?

You can try vim-projectionist This plugin provides more general uses. Add some useful tips for this plugin: It cannot work like a.vim before you do some step below You can add a .projections.json ...
SenZhang's user avatar
2 votes

undefined global 'vim' in lua-language-server - coc.nvim

All coc-lua needs is a "Lua.diagnostics.globals": ["vim"] in your coc-settings.json.
Martin Braun's user avatar
2 votes

undefined global 'vim' in lua-language-server - coc.nvim

Install coc-sumneko-lua. Add the following line to your coc-setting.json. "sumneko-lua.enableNvimLuaDev": true,
Bachelar Hu's user avatar
2 votes

undefined global 'vim' in lua-language-server - coc.nvim

Follow the process from URL: https://github.com/sumneko/lua-language-server/wiki/Build-and-Run, to install lua-language-server manually. Startup neovim, enter command: :CocConfig。 Edit the file: coc-...
AlanJui's user avatar
  • 21
1 vote

undefined global 'vim' in lua-language-server - coc.nvim

actually lua lsp itself has clearly explains what to do in the docs here. You install coc-lua by running :CocInstall coc-lua open coc-settings by running :CocConfig as stated in the linked docs above ...
nikoss's user avatar
  • 111
1 vote
Accepted

TagList vim plugin is not working

Let's start by removing all the comment noise from your vimrc: set nocompatible " be iMproved, required filetype off " required set rtp+=~/.vim/bundle/Vundle....
romainl's user avatar
  • 22.9k
1 vote

How do I resolve a keybinding conflict with coc for vim?

The tab key mapping in vimwiki was conflicting with my coc.nvim autocomplete too, add this in your init.vim au filetype vimwiki silent! iunmap <buffer> <Tab>
user1268420's user avatar
1 vote

ALE not working despite passing correct flags to the enabled linters

A long shot: however is clangd in your path? Certainly Onivim (a neovim GUI) on Ubuntu failed to lint C due to the peculiarities of clangd installation. This was fixed with a symlink: sudo update-...
Concrete_Buddha's user avatar
1 vote
Accepted

Mapping snippets for Vim

Though the recommendation is to use :noremap, because it makes the mapping immune to remapping and recursion, here this is hurting you. In order to execute unimpaired's ]<Space> mapping, you ...
Ingo Karkat's user avatar
  • 23.1k
1 vote
Accepted

Vim no longer calls <Plug> in insert mode?

Sorry I figured out the problem. We simply shouldn't use noremap configuration when dealing with <Plug>. Changing the map back to imap would work.
hzh's user avatar
  • 332
1 vote
Accepted

vim-tagbar doesn't jump to method definitions, at least for ruby

This is because ripper-tags's default output doesn't contain line number information, I opened a pull request to fix it: https://github.com/tmm1/ripper-tags/pull/65. You could try it by: Clone my ...
Larry Lv's user avatar
  • 126
1 vote
Accepted

"Curved" Powerline/Airline status on Vim

You have to set: let g:airline_powerline_fonts = 1 let g:Powerline_symbols = 'fancy' Maybe you want as well use different symbols instead the triangles. let g:airline_left_sep = '»' ...
cee's user avatar
  • 410
1 vote

Plugins configuration file for Vim

If Pathogen is not registering plugins before $HOME/.vim (which is extremely unlikely), you could simply drop your configuration file into $HOME/.vim/plugin/. That's all. No need to test anything (*), ...
Luc Hermitte's user avatar
  • 1,883
1 vote
Accepted

How do I disable semicolon warning?

From the JSHint documentation Command-line Interface > Specifying Linting Options: The jshint executable is capable of applying linting options specified in an external JSON-formatted file. Such ...
Ƭᴇcʜιᴇ007's user avatar
1 vote

Vim slow at rendering the buffer with LaTeX syntax highlighting

Partial Solution for Thinkapd X230T per se Problem Identification As @Edd has suggested, use :syntime on and syntime report to identify the most time-consuming syntax-highlighting "group/region/...
llinfeng's user avatar
  • 1,281
1 vote

Vim slow at rendering the buffer with LaTeX syntax highlighting

You have used vim -u NONE filename.tex when opening the file to disable your .vimrc and other scripts from loading for the session, and this has fixed the problem. The conclusion is that something ...
harrymc's user avatar
  • 482k
1 vote

Vim: How to synchronize NERDTree with current opened tab file path?

I apply both solutions from Change current directory using NERDTree: use cd to set the NERDTree working directory to the current directory and C to set the NERDTree root node to the current directory
Casper Gerritsen's user avatar

Only top scored, non community-wiki answers of a minimum length are eligible