k i'm finally learning C.
What are the essential vim plugins?
>>60114509
Shut the fuck up, how about that plugin?
>>60114516
s.. sorry
/kill/yourself.git
>>60114509
>vim
>plugins
What?
Just use a real IDE or some meme.js editor if you need plugins.
C/C++ (ms-vscode.cpptools)
>>60114509
also learning C.
when reading from pointers, do you guys copy its contents first and then access members via struct.member or are accessing members via struct->member?
t. student
Cvim makes vim better than any ide
>>60114777
Why do you want to copy the member (by accessing with ->) and not just use it with ->
>>60114788
you mean the chrome extension?
>>60114509
You don't really need one, just set filetype true and syntax true in your .vimrc and you are good to go
>>60114509
Vundle/Dein/whatever vim package manager
YouCompleteMe <--- you absolutely need this
VimSurround
Quick-scope
Vim airline
Pick a colorscheme to your liking.
>Vim
You are doing it wrong, just install the public domain MicroGnuEmacs and start coding right away, don't waste your time adding plugins to a shit editor.
>>60115884
This
mg(1) a best
What even is plugin?Never used them.
acme
>>60114743
When learning C, using a text editor only might actually be beneficial. It forces you to write everything, use a compiler and learn how to use it, create makefiles, use valgrind etc.
>>60114777
Your question is weird. If you gotint variable = 5;
int *p_var = &variable;
you can just do*variableto access the value. If you want to modify it, it's the same shit.
For a structure, if the members of the structure are variables and you do aStruct mystruct;
Struct *p_struct = &mystruct;
if the member is a simple int, just access it viap_struct->var;no need to copy or this kind of shit.
Best thing is to create a .c file, and try a lot of things and see by yourself what works and what doesn't.
YouCompleteMe
>>60115794
Never understood how to get youcompleteme to work
>>60114509
Just use Sublime.
>>60114509
If you can't figure that out you shouldn't use vim
if your learning a new language, why are you also choosing to learn the most unintuitive editor known to man at the same time
just use google drive notepad, it has a clipboard manager, find/replace, and syntax highlighting, all you really need
>>60118553
this
syntastic won't hurt neither
syntastic will save you a lot of time
git gutter if you're learning git too