|
fidel sarcastro posted:And if you use numbers.vim you also get relative numbering in normal mode, and absolute in insert mode as a bonus. I get something similar with: code:
|
# ¿ Dec 12, 2013 14:28 |
|
|
# ¿ Apr 27, 2024 10:24 |
|
The Gay Bean posted:I have become addicted to Vim keys / modal editing for programming, and also completion for C++. The problem is, what I'm using for completion/semantic completion, YouCompleteMe, while it works well, makes Vim slow to a crawl after an unpredictable amount of time between 30 minutes and two hours. I have tried everything to resolve this and it appears to be a YCM issue that the developer is unwilling/unable to address. I ran into the same issue, and in the end I just stopped using YCM. I use ctags quite a bit for my auto-complete, although that doesn't help much with libraries. Instead, now I just read the documentation in Dash or Zeal, which is definitely not as efficient.
|
# ¿ Aug 13, 2014 04:40 |
|
LeftistMuslimObama posted:OK, so I figured out how to use vundle and make a vimrc, but it looks like clang_complete needs clang installed to work. How would I go about installing clang to my home directory? All the installation steps I can find assume I have full control of the machine. When you do the ./configure step you can pass it --prefix=~/some/homedir/path and when you do make install it will go there.
|
# ¿ Feb 20, 2015 19:52 |
|
LeftistMuslimObama posted:Cool. Are these the right steps: http://clang.llvm.org/get_started.html It's not a small thing and in the end may not work out if you have any time constraints where fussing with it gets in the way of actual work. In that case I'd suggest looking into tags with vim. That should be simple to set up and it'll give you completion of your own code and an easy way to bounce around in it.
|
# ¿ Feb 21, 2015 08:23 |
|
gVim is just a window wrapper around vim. The thing with vim in Windows is that there are a few default shortcuts that are different due to global Windows shortcuts (most notably ctrl+c and ctrl+v). :help explains the differences.
|
# ¿ Jun 22, 2015 04:34 |
|
Hughmoris posted:Thanks. I fired Vim up for the first time at work today, it's going to take some getting used to but I'm liking it so far. vimtutor is your friend
|
# ¿ Jun 23, 2015 00:45 |
|
|
# ¿ Apr 27, 2024 10:24 |
|
You could try something like what this guy does. https://www.youtube.com/watch?v=aHm36-na4-4&t=720s (start at 12m, watch for 4-5 minutes). Here's hit github with his plugins: https://github.com/thoughtstream/Damian-Conway-s-Vim-Setup
|
# ¿ Jun 24, 2015 13:09 |