danielmochdotcom

Nikola site for www.danielmoch.com
git clone git://git.danielmoch.com/danielmochdotcom.git
Log | Files | Refs

commit 5765fb55123a1b9c2e5a9a8d33b33176e430ffb7
parent f89a3e098dab68a5b94f99d6cadf2eceaaf31e8b
Author: Daniel Moch <daniel@danielmoch.com>
Date:   Sun,  2 Dec 2018 14:11:12 -0500

Fix tags post

Diffstat:
Mposts/2018/12/you-should-be-using-tags-in-vim.rst | 22+++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)

diff --git a/posts/2018/12/you-should-be-using-tags-in-vim.rst b/posts/2018/12/you-should-be-using-tags-in-vim.rst @@ -4,12 +4,18 @@ .. category: technology .. type: text -*Note, this is a crosspost of an entry I wrote in the vimways.org_ -advent calendar this you. If you're interested in Vim, I recommend you -pop on over there and read the other articles too.* +.. raw:: html - I love you; you complete me. - - Dr. Evil + <em>Note: This is a crosspost of an entry I wrote in this year's <a + href="http://vimways.org">vimways.org</a> advent calendar. If you're + interested in Vim, I recommend you pop on over there and read the + other articles too.</em> + +.. epigraph:: + + I love you; you complete me. + + - Dr. Evil I first came to Vim by recommendation. I was looking for a good Python IDE (at the time I was new to the language) and one recommendation was @@ -21,6 +27,8 @@ didn't have enough curiosity at the time to use it any differently from completion, indentation, and all the things that made me appreciate the IDE's I used in college. How naive I was! +.. TEASER_END + So how was I directed to achieve powerful programming completions in Vim? By the use of a plugin called YouCompleteMe. My experience with it was okay, at least to start with. It took a while to install and get @@ -46,7 +54,7 @@ Completion in Vim Completion in Vim is powerful, but not necessarily straightforward. Read `:h ins-completion`_ and you'll see what I mean: -.. code:: txt +.. code:: Completion can be done for: @@ -74,7 +82,7 @@ The first thing one should do when trying to learn Vim's completion system is to disable any completion plugins and learn these keymaps. Getting comfortable with them will also help you learn and remember where Vim can pull completion information from. You should also read `:h -'completefunc'`_ and `:h 'complete'` for more information on +'completefunc'`_ and `:h 'complete'`_ for more information on user-defined completion and the ``complete`` option. Now that we have a cursory understanding of completion in Vim, let's