Easy steps towards speedy technical writing with Neovim

01 July 2017

flickr photo by ExtremearQ shared under a Creative Commons (BY-NC-ND) license

Since, in my experience, writing technical research papers is a challenging task, I always try to use a writing environment that effectively supports my endeavors. If I am writing a paper in Neovim, then I now often use deoplete.nvim complete the words that I am writing in my paper.

Unlike other completion engines for Vim and Neovim, deoplete.nvim is flexible in its capability to perform completion from a wide variety of sources. In addition to being able to complete a word from a current buffer or a tags file, you can configure it to use tmux-complete.vim so that it will complete words that are evident in any of your terminals controlled by tmux. Finally, as a technical writer, you might want to have word completion from a dictionary, which you can enable by using neco-look.

There's one additional thing that you might want to configure if you are using Neovim and deoplete.nvim! If you are accustomed to using the <TAB> key to perform completion, then you might want to install supertab and the include the following code in your initialization file.

" Configure deoplete so that it uses tabs
let g:SuperTabDefaultCompletionType = "<C-n>"
inoremap <expr><TAB>  pumvisible() ? "\<C-n>" : "\<TAB>"

What tools do you use to ensure that you write in an efficient and effective fashion? I invite you to contact me with your own tips for speedy technical writing.

Enjoy this post? If so, please read, SEED Interview with Timothy Tsai, my most recent article.


Like my work? Support it!