4 ms·
hmmm. i dont use any myself (i tried omnisharper and the java equivalent for more quickly finding syntax errors but quickly dropped them as they are unreliable)
by timwaagh 8y ago
hmmm. i dont use any myself (i tried omnisharper and the java equivalent for more quickly finding syntax errors but quickly dropped them as they are unreliable).
here are some plain vim alternatives:
1. goyo: i write markdown quite a bit. it is not necessary to have much for this except perhaps syntax highlighting. hiding the status line can likely be done with a few configuration directives.
2. gitgutter. for the described use case:
<ESC>:new<ENTER>:read !git diff
use the search :/ to go from one diff to the next
3. vim-surround
for a word: (<ESC>wa)
for a line: (<ESC>$a)
depends on the situation, but i'd need more to be sold to use this plugin.
4. vim-autoclose
as described here it might possibly be nice except if you have to write a smiley, an arrow, or similar. if you never need to i can see this being useful, but the effect is quite minimal, as going to the end of the current line is a matter of <ESC>$ and inserting a closing parenthesis after it is a matter of a) .
5. vim-commentary
visual block mode is sufficient for this usually.
java:
(<ctrl>+v)<ESC>$g$0i//<ESC>
6. the gruvbox color scheme looks pretty neat. however:
the built-in desert scheme works well on almost every machine and is included by default, so there is no real need to go to this amount of trouble. if you work regularly under a shared root account via ssh, i think it is wise to stay away from custom color schemes.
7. could be useful actually, i might try it. however find and grep and other external tools can be used from vim as well. the only gain by using this is that results appear as you type instead of after. marginal gains.
<ESC>:new<ENTER>:read !find -name 'bla'
8. i think the preinstalled netrw plugin is just fine for exploring. it can be configured to run in a treemode too with some configuration. and the advatage is that it will be available on your average shared server account as well, so it pays much more dividend to learn netrw over nerdtree.
9. sounds like a simple remapping. you could just use the default key <ctrl>+p . the nice thing is that this will be available on shared servers.
10. importing is pretty easy already. here is how i do it.
importing
<ESC>1giim<ctrl-p> whatever
dropping
<ESC>/import\ what*<ENTER>dd
- git-pull 8y ago> 6... the built-in desert scheme works well on almost every machine ... Agreed. For a bit of an optimization to that: - https://github.com/rainux/vim-desert-warm-256 https://github.com/rainux/vim-desert-warm-256 Not many stars on it, but works on a few machines without needing to have extra stuff installed.