[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

What plugins do you use, /g/?

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 52
Thread images: 9

File: vim.sh-600x600.png (124KB, 600x600px) Image search: [Google]
vim.sh-600x600.png
124KB, 600x600px
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.
>>
File: 1498671302490s.jpg (6KB, 241x250px) Image search: [Google]
1498671302490s.jpg
6KB, 241x250px
>>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 it
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;


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
>>
File: 1473438306334.webm (649KB, 472x560px) Image search: [Google]
1473438306334.webm
649KB, 472x560px
>>61342087
>>
sweet, just started on vim so the plugins you more experienced fags have will help me out.
>>
File: AAAA.jpg (20KB, 250x274px) Image search: [Google]
AAAA.jpg
20KB, 250x274px
>>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 find
vim-textobj-variable-segment
and
vim-textobj-methodcall
.
>>
>>61342476
Also
vim-exchange
>>
File: 4efcbcd93b471.jpg (47KB, 415x650px) Image search: [Google]
4efcbcd93b471.jpg
47KB, 415x650px
>>
>>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.
>>
File: vim_alphabet_chromosome.gif (2MB, 423x338px) Image search: [Google]
vim_alphabet_chromosome.gif
2MB, 423x338px
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.
>>
File: bart-simpson-11.gif (15KB, 500x500px) Image search: [Google]
bart-simpson-11.gif
15KB, 500x500px
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.
>>
>>61346842
qqn.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
Thread posts: 52
Thread images: 9


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.