What are your favorite vim plugins?
>>62030222
Doesn't all that take a while to load?
>>62030256
no not really, bruh.
>>62030275
Are they lazy loaded?
>>62030578
i dont even fucking know mang. I am just using this https://github.com/timss/vimconf with changed colors and some extra plugins. I am a total noob when it comes down to vim. it loads pretty fast and just works for me
>>62030578
>>62030749
edit: oh apperently it doesnt use lazy loading since it is still in the todo.
someyhing something I like emacs more
>>62030177
As soon as you get to the point of plugings, you should realise emacs is better. Go install Evil mode and delete dis.
>>62030857
>emacs is better
It isn't.
>>62030177
lot of tpope plugins, as expected
vim-repeat vim-surround vim-commentary
some semi handy text objects i use a few times a month
kana/vim-textobj-user kana/vimtext-obj-entire jceb/vim-textobj-uri glts/vim-textobj-comment
undo tree
sjl/gundo.vim
syntastic but less slow
neomake/neomake
less bloated powerline with git info
bling/vim-airline and airblade/vim-gitgutter
diffs when files mismatch
chrisbra/Recover.vim
easy aligning
junegunn/vim-easy-align
very comfy tmux intergration with running build commands in split with one bind
jebaum/vim-tmuxify
the only tex plugin that worked without problems on my system
lervag/vimtex
theres some others but I use them so little I might delete them now after noticing they're still there, could also go with a plugin that does commenting out words easily (vim-commentary only does lines from my experience)
>>62030947
looked over a few, tommcdo/vim-exchange is a nice thing to have and scrooloose/nerdtree comes in handy too
Vim auto indents to two tabs. How can I fix this?
>>62030999
by using google
I want org-mode for vim FUCK
>>62030177
taglist is the best thing ever, working with ctags is all you need to explore a large code base
Maybe this is a good place to ask:
Does anyone use or know of a plugin that automatically detect indentation of a file and set the indentation in the editor to match?
Plugin to comment / decomment selected lines or words so it works the same way regardless of language?
Updating of current file like if you do a got pull and the file gets updated or shows that there is a situation I need to deal with?
>>62031060
Google yields no relevant results, senpai.
>>62030999
No it doesn't, it just has an 8 column tab width as default. Look up the tab width setting.
>>62031241
what font is that?
>>62031353
vim-sleuth? i'd probably just use editorconfig (or a //vim comment line)
>>62031834
Thanks. I fixed it withset shiftwidth = 4
here's my vimrc, it's basically perfect
https://pastebin.com/0Spk0kAr
>>62032077
gruvbox is great, isn't it?
>>62030177
nerdtree
syntastic
surround
endwise
emmet
What color scheme do you use?
Getting tired of space-vim-dark
>>62032108
yeah, I used to use vividchalk, which I still really like but gruvbox is a bit easier on the eyes
>>62032127
if you like syntastic and you're using vim 8 you should check out ALE
>>62031093
Isn't vim organizer the same thing?
>>62031093
There is an org mode for vim though
>>62032338
What is it?
>>62032329
Not exactly
>>62031664
git gud
This is all I have currently. Looking at syntastic recetly.
>>62033777
Use ale linter instead
>>62030177
Nothing masterrace:set compatible
is all you need
>>62030222
May I recommend Raimondi/delimitMate as an alternative to somini/vim-autoclose, fám? It's more up to date.
>>62030177
vim uninstaller
How do I fix the fucking colors on vim's background? The term emulator supports 256 colors and my color scheme works for syntax, it just shits itself for the background color and I can't seem to fix it.
It's not an issue with the color scheme since it does it with monokai and solarized too.
Sublime Text Editor!
>>62035565
:highlight Normal ctermfg=Grey ctermbg=Black
>>62036057
Doesn't work m8, it just disables the color scheme altogether.
>>62030177
vim-sneak, if you rebind the stupid defaults (i use '-')
vim-renamer fucking genius, I have a bash alias for 'vim -c Ren' because it's so useful.
goyo.vim great for writing.
vim-table-mode good for markdown
>>62034009
>>62032323
Ale looks really nice, will try it..
>>62032317
I like Molokai
>>62030177
Stock vim with only one line in .vimrcset num
>>62037674
set number
set relativenumber
Is here any reason to use vim if I just write HTML/CSS/PHP/JS all day
>>62036124
>goyo.vim great for writing.
You mean like, prose writing?
I've thought about trying that, but wouldnt this require jumping through a few hoops to get two easily toggleable 'modes' set-up and running on vim, one for writing and one for programming?
seems like a bit of a pain
>>62035565
Someone help I'm still on it and it's driving me fucking insane
I checked every question pertaining to this on SO and nothing worked
>>62039736
There's always reason to use vim if you spend a lot of time editing text. Modal editing is tried, true and superior. Vim also has tons of really nice features for HTML/markup languages in general if you hunt around for plugins and snippets, as well as out-of-the-box support for markup tag text objects.
The real question is, are you willing to learn it? Are you dissatisfied with your current text editor? Do you have a little bit of time and patience to burn? It's your choice.
>>62030177
programming text editor in 2017 require plugin for autocomplete and running programs/debuggin right from editor
kek
Python.
>>62039738
if you're writing punching in :Goyo 72 or something is not hard, making it toggable is not much harder.
I've whittled everything I need down to just these. I honestly could do without the completion plugin. However it is nice to be able to just pull up documentation for python/go without having to leave vim.
I use rodjek/vim-puppet at work though, makes working with large puppet modules easier.
>>62035565
>>62039764
What's your TERM set to? Are you using tmux?
I know with tmux I needed a combination of crap in my conf to get it to cooperate.
>>62039736
Use what works for you. That's the whole point. If you don't want to use vim then don't.
>>62032317
https://github.com/w0ng/vim-hybrid
I've used this and gruvbox for quite awhile, I always end up going back to hybrid though.
>>62041639
tmux is usually what fucks things up for me
>>62030177
>should-be-installed-by-default-tier:
vim-surround
vim-orgmode
vim-airline
>muh-comfy-editor-tier:
vim-colors-solarized
syntastic
>>62041671
Yeah, I had to add this and launch tmux as tmux -2 before I finally got everything to cooperate.set -g default-terminal 'screen-256color'
set -ga terminal-overrides ',screen-256color:Tc'
>he hasnt seen the wonders of EVIL yet
What are your vim startup times? What plugins are hurting your startup times the most?
320ms total here
Weirdly enough my colorscheme took 51ms to load, longer than any plugin.
usevim --startuptime vim.logto get a profiler log
>>62030177
>using vim as more than a txt editor
how pretentious can you fags get
>>62041740
>>62041593
here
44ms
>>62041782
Boy, you can use Emacs as a fucking window manager. We can have a few plugins.
>>62041740
123ms on Neovim here. My biggest hit is 'opening buffers'. How many plugins do you have? I've got like nine.
>>62041839
>How many plugins do you have?
8, and they're mostly lazy loaded and don't really impact startup. Mine only takes a long time because I'm on an old computer. Takes 72ms on a better computer.
>>62041946
Jeez, how old?
>>62041996
7 year old laptop with a Core2Duo. I mostly just use it is a dumb terminal for accessing remote servers
I don't fucking understand why do you guys argue so much about vim/emacs
I tried out both and they still look old as shit and impractical compared to notepad++
They can't even compare to it desu
>>62043331
This is bait.