Live data from Hacker News

Vim plugins I use

prakashdanish.github.io

11–20 of 93 posts

Re: Vim plugins I use

#11
> vim-gitgutter

I'm not a vim user (yet), but this feature is built into Atom and I've come to find it indispensable. I'm a bit of a commit diff freak (I like it neat and tidy), and once i've finished messing around on some branch I want to gradually converge to some simple differences, a git diff type gutter is really helpful in visualising ("watch git.." can come close but nothing is as good as in editor integration).

Re: Vim plugins I use

#12
post #10

How is the plugin management in vim? I use emacs and it’s a pain to setup. You need to modify a config file (.emacs) in order to add plugin lists (melpa). You then browse the list through a shortcut (M-x list-packages) and you only see names, no description or ways to look for something specific. Once you installed your plugins there are no real way to access a manual or learn them. Often you will need to modify conf…

If you want to browse packages vim awesome site is wonderful. https://vimawesome.com/

Re: Vim plugins I use

#13
post #6

It's simple but tpope/vim-surround is another favorite. Pope pope pope pope.

This plugin should have been implemented in vim proper. Many vim binding plugins for other editors do, e.g intellij vim bindings.

Re: Vim plugins I use

#14
post #2

Here are some I find invaluable: * FZF. Perhaps the best fuzzy finder for Vim https://github.com/junegunn/fzf/ * ALE. Asynchronous Linting Engine, totally awesome. https://github.com/w0rp/ale * Polyglot. A "best of" language pack. https://github.com/sheerun/vim-polyglot * Plug. IMHO the best plugin manager going https://github.com/junegunn/vim-plug . * Fugitive. The best git wrapper there is https://github.com/tpope/…

While I appreciate your comment, we can already guess that you believe the packages you have chosen to be “the best” at their job. Without further narration (and I’ve only singled you out due to being the topmost comment), comment sections like this have a tendency to become a dumping ground for vimrc snippets.

Could you expand on why? Personally I’d be particularly interested on your thoughts about vim-plug, as I use pathogen currently and I seems to do everything I need.

Re: Vim plugins I use

#15
post #2

Here are some I find invaluable: * FZF. Perhaps the best fuzzy finder for Vim https://github.com/junegunn/fzf/ * ALE. Asynchronous Linting Engine, totally awesome. https://github.com/w0rp/ale * Polyglot. A "best of" language pack. https://github.com/sheerun/vim-polyglot * Plug. IMHO the best plugin manager going https://github.com/junegunn/vim-plug . * Fugitive. The best git wrapper there is https://github.com/tpope/…

Those were my favourite neovim plugins as well. Oni is still a bit rough around the edges, and rendering is a little bit slow at times, at least on my machine.

I now use doom-emacs [1] and haven't looked back.

[1] https://github.com/hlissner/doom-emacs

Re: Vim plugins I use

#16
post #14
post #2

Here are some I find invaluable: * FZF. Perhaps the best fuzzy finder for Vim https://github.com/junegunn/fzf/ * ALE. Asynchronous Linting Engine, totally awesome. https://github.com/w0rp/ale * Polyglot. A "best of" language pack. https://github.com/sheerun/vim-polyglot * Plug. IMHO the best plugin manager going https://github.com/junegunn/vim-plug . * Fugitive. The best git wrapper there is https://github.com/tpope/…

While I appreciate your comment, we can already guess that you believe the packages you have chosen to be “the best” at their job. Without further narration (and I’ve only singled you out due to being the topmost comment), comment sections like this have a tendency to become a dumping ground for vimrc snippets. Could you expand on why? Personally I’d be particularly interested on your thoughts about vim-plug, as I us…

- You can update all the plugins with PlugUpdate; furthermore, they are updated in parallel.

- You can lazy load plugins

- You can execute commands after a plugin update (e.g. building the new binary for youcompleteme)

Those are the major points I think.

Re: Vim plugins I use

#17
post #10

How is the plugin management in vim? I use emacs and it’s a pain to setup. You need to modify a config file (.emacs) in order to add plugin lists (melpa). You then browse the list through a shortcut (M-x list-packages) and you only see names, no description or ways to look for something specific. Once you installed your plugins there are no real way to access a manual or learn them. Often you will need to modify conf…

The Emacs package list has a description field on the right, a shortcut for more info (?) and after it's installed you've got C-h m and often info pages (C-h i). What's wrong with that?

Vim has no unified plugin structure, there are several plugin manager packages (often installed via git clone). I personally use vim-plug[i] which is more on the minimal side, but there are others like pathogen or vundle. No real centralized plugin repository like melpa, I don't think one of the plugin managers I've used had some kind of common install-screen. You mostly enter the github address and execute the package update vimscript. I've seen more Emacs info packages than :help docs, but in most cases I'm browsing the githup README.md/.org anyways.

[1]: https://github.com/junegunn/vim-plug

Re: Vim plugins I use

#18
Here are all the ones I use. Out of this list, tkae a look at vim-sneak. It's very lightweight and quite cool.

  Plug 'mileszs/ack.vim',                        {'as': 'vim-ack'}
  Plug 'vim-airline/vim-airline',                {'as': 'vim-airline'}
  Plug 'slashmili/alchemist.vim',                {'as': 'vim-alchemist'}
  Plug 'ap/vim-css-color',                       {'as': 'vim-css-color'}
  Plug 'hail2u/vim-css3-syntax',                 {'as': 'vim-css3-syntax'}
  Plug 'ctrlpvim/ctrlp.vim',                     {'as': 'vim-ctrlp'}
  Plug 'ck3g/vim-change-hash-syntax',            {'as': 'vim-change-hash-syntax'}
  Plug 'Raimondi/delimitMate',                   {'as': 'vim-delimitmate'}
  Plug 'junegunn/vim-easy-align',                {'as': 'vim-easy-align'}
  Plug 'elixir-editors/vim-elixir',              {'as': 'vim-elixir'}
  Plug 'airblade/vim-gitgutter',                 {'as': 'vim-gitgutter'}
  Plug 'fatih/vim-go',                           {'as': 'vim-go'}
  Plug 'junegunn/goyo.vim',                      {'as': 'vim-goyo'}
  Plug 'othree/html5.vim',                       {'as': 'vim-html5'}
  Plug 'pangloss/vim-javascript',                {'as': 'vim-javascript'}
  Plug 'othree/javascript-libraries-syntax.vim', {'as': 'vim-javascript-libraries'}
  Plug 'tpope/vim-markdown',                     {'as': 'vim-markdown'}
  Plug 'tmhedberg/matchit',                      {'as': 'vim-matchit'}
  Plug 'scrooloose/nerdcommenter',               {'as': 'vim-nerd-commenter'}
  Plug 'scrooloose/nerdtree',                    {'as': 'vim-nerdtree'}
  Plug 'chr4/nginx.vim',                         {'as': 'vim-nginx'}
  Plug 'prettier/vim-prettier',                  {'as': 'vim-prettier'}
  Plug 'tpope/vim-rails',                        {'as': 'vim-rails'}
  Plug 'tpope/vim-repeat',                       {'as': 'vim-repeat'}
  Plug 'cakebaker/scss-syntax.vim',              {'as': 'vim-scss'}
  Plug 'justinmk/vim-sneak',                     {'as': 'vim-sneak'}
  Plug 'tpope/vim-surround',                     {'as': 'vim-surround'}
  Plug 'gasparch/tagbar',                        {'as': 'vim-tagbar'}
  Plug 'SirVer/ultisnips',                       {'as': 'vim-ultisnips'}
  Plug 'mbbill/undotree',                        {'as': 'vim-undo-tree'}
  Plug 'maxbrunsfeld/vim-yankstack',             {'as': 'vim-yankstack'}

Re: Vim plugins I use

#20
post #9

Missing the most important one: https://valloric.github.io/YouCompleteMe/ :)

I’ve moved from YouCompleteMe to Deoplete. While YCM is good, the plugin support for deoplete seems a bit more extended and easier to set up (ymmv). Maybe I just messed something up every time I tried to rework my vimrc with YCM though, it’s probably likely :D
Post reply on HN