What plugins do you use, /g/?
>>61339930
adblock plus, steam inv helper and refresh buddy to give my youtube videos views that youtube took away and also tab buddy and ad block.
>>61339974
I meant Vim plugins, anon.
>>61339930
uBlock
>>61340038
>>61339930
Can you even write actual native plugins for vim?
>>61339974
lol
Neonwave color scheme
I'd copy and paste my list but then you'd find me.
I'll just name a few I would highly recommend:
press - to go to current file's directory, cg changes directory while in tree view (which are cleaner than nerdtree/whatever the other one is btw)
github.com/tpope/vim-vinegar
press gcc to comment current line in normal, gc a visual block (fucky with html, wants to use <!-- --> for everything even inside <style> and <script>...)
github.com/tpope/vim-commentary
automatically gofmt on save (can also do other things)
github.com/fatih/vim-go
vertically align by spaces = : , etc
e.g. ga=int a = 1;
float b = 2;
const char* str = "Hello.";
pretentious I know but it makes some code easier to look at
github.com/junegunn/vim-easy-align
>>61339930
emacs, it even includes vim.
>>61340452
>pretentious I know but it makes some code easier to look at
For untrained faggots. In reality, nobody gives a fuck.
>>61340477
This.
Best Vi experiance you'll ever get.
Too bad that there's nothing like Neovim for Emacs.
>>61340501
it's my personal preference sometimes
here's an example with itsf::View view = window.getView();
sf::Vector2f center = player.sprite.getPosition();
sf::Vector2f size = view.getSize();
float left = center.x - size.x/2.f;
float top = center.y - size.y/2.f;
float max_x = tilemap.width * tileset.width;
float max_y = tilemap.height * tileset.height;
if(left < 0) center.x = size.x/2.f;
if(left+size.x > max_x) center.x = max_x - size.x/2.f;
if(top < 0) center.y = size.y/2.f;
if(top+size.y > max_y) center.y = max_y - size.y/2.f;
and without:sf::View view = window.getView();
sf::Vector2f center = player.sprite.getPosition();
sf::Vector2f size = view.getSize();
float left = center.x - size.x/2.f;
float top = center.y - size.y/2.f;
float max_x = tilemap.width * tileset_width;
float max_y = tilemap.height * tileset_height;
if(left < 0) center.x = size.x/2.f;
if(left+size.x > max_x) center.x = max_x - size.x/2.f;
if(top < 0) center.y = size.y/2.f;
if(top+size.y > max_y) center.y = max_y - size.y/2.f;
I just find it easier to scan and the plugin makes it so easy to do it's not like I'm wasting time manually aligning shit (I also use = > and < a lot in visual mode and their normal mode counterparts == >> <<)
>>61340837
Fair enough.
Doesn't make a difference to me, though.
>>61339930
Can vim do this?
>>61339930
NERDTree before i realized vim has a file explorer
Vanilla always
>>61342087
sweet, just started on vim so the plugins you more experienced fags have will help me out.
>>61342236
D-does anyone really use vim like this? I never realized how slow I was. Takes me a second or so to use the right modifer to do what I want.
deoplete
deoplete-clang2
deoplete-ternjs
deoplete-jedi
deoplete-racer
Your life will never be the same after you findvim-textobj-variable-segmentandvim-textobj-methodcall.
>>61342476
Alsovim-exchange
>>61342236
What was that button that showed as a circle with an arrow in it?
YouCompleteMe for C++ autocomplete etc, it can use your cmake files to generate autocomplete data for your own files too
>>61340477
>>61340824
>non modal editing
No thanks.
>>61343862
Forever ignorant. Try again.
vim-surround (for working with parentheses/brackets/etc.)
restore_view (saves your cursor location and folds)
ctrlp (fuzzy file searcher)
>>61342236
Nice. Pic related is some more awesome vim magic.
>>61342236
Macros truly are amazing.
Stop using vim. https://neovim.io
>>61339974
>vim plugins
>adblock plus
>>61346260
is there anything about nvim that is better
>Vundle
Plugin manager.
>vim-sensible
Does something, I forget.
>nerdtree
File chooser.
>airline
Makes it look nicer or something.
>vim-multiple-cursors
Adds way to use multiple cursors, I use it to change the extensions on lots of files sometimes even though there's a built in way. Really slow if you have lots of cursors.
>vim-trailing-whitespace
Highlights whitespace at the end of lines, adds command to remove them.
>vim-gnupg
Editing of gpg encrypted files.
>>61343031
Escape
>>61342087
A patch added :terminal a while ago. Before that, there were terminal plugins.
Yes, we can do that.
Is it possible to do decent HTML with vim?
JS is fine.
>>61346543
Yeah. There are plugins like surround.vim to help and you can also just make maps to have common tags if you want.
>>61340837
Stop cramming shit into a single line.
> if(...)
Nevermind, you're retarded. All hope is lost.
>>61346379
>I use it to change the extensions
visual blocks, my dude
>>61342236
Macros are gay. I prefer spamming n.n.n.n.n.n.
>>61346842qqn.q5@q
>>61346315
Well, vim's plugins run synchronously. I had trouble when I began loading too many plugins. Haven't had any issues using nvim.
>>61339930
none because I only use vim for editing config files
>>61347460
I only use vim to edit vim's config files.
>>61347460
>>61348354
dirty plebs
>>61339930
ycm. No compilation errors are orgasmic.
>>61346260
I tried this. Didnt like it. gvim works much better for me I like gvim and could not find a neovim equivalent, tried nvim-qt but it sucks.
Used to use nerdtree and neocomplete but now all I need is muh Molokai theme. Wish slimv worked for me but I can never get that shit to run.
>>61346315
it runs noticeably faster
Plugin 'VundleVim/Vundle.vim'
Plugin 'airblade/vim-gitgutter'
Plugin 'tomasr/molokai'
Plugin 'tpope/vim-commentary'
Plugin 'tpope/vim-fugitive'
" Plugin 'tpope/vim-surround'
Plugin 'raimondi/delimitmate'
Plugin 'octol/vim-cpp-enhanced-highlight'
" Plugin 'ntpeters/vim-better-whitespace'
" Plugin 'scrooloose/nerdtree'
Plugin 'vim-airline/vim-airline'
Plugin 'vim-airline/vim-airline-themes'
Plugin 'ctrlpvim/ctrlp.vim'
Plugin 'simnalamburt/vim-mundo'
Plugin 'Rip-Rip/clang_complete'
"Plugin 'vim-syntastic/syntastic'
Plugin 'Shougo/deoplete.nvim'
" Plugin 'dbgx/lldb.nvim'
" Plugin 'huawenyu/neogdb.vim'
Leaving in plugins I've tried but later disabled (commented) in case they might be of interest. Running neovim.
Name 1 (one) good reason to use neobim