Skip to content

Neovim Notes

Jonathan Lau edited this page Apr 12, 2019 · 2 revisions

View Plugins

:scriptnames            : list all plugins, _vimrcs loaded (super)  
:verbose set history?   : reveals value of history and where set  
:function               : list functions  
:func SearchCompl       : List particular function

Key Notations

:help key-notations

Auto Reload from External Modification

set autoread
au FocusGained * :checktime

Deoplete + Vim-Multiple-Cursors

Q: Deoplete does not work with vim-multiple-cursors.

A: You must disable deoplete when using vim-multiple-cursors. >

       function g:Multiple_cursors_before()
         call deoplete#custom#buffer_option('auto_complete', v:false)
       endfunction
       function g:Multiple_cursors_after()
         call deoplete#custom#buffer_option('auto_complete', v:true)
       endfunction

function vs function!

:help user-functions
When a function by this name already exists and [!] is
not used an error message is given. When [!] is used,
an existing function is silently replaced. Unless it
is currently being executed, that is an error.

Clone this wiki locally