Earlier quoted context omitted.
If I want to put parens around a word I do, ciw() P (change word pulls it into the default register, insert the parens and then paste from the register back between the parens). You can use the same pattern for any selection you have visually highlighted, such is the wonderful power of vim.
Nice use of the buffer. Is there a nice hack to remove the parentheses around a word as well?
Vim 8.0 is coming
41–50 of 420 posts
Re: Vim 8.0 is coming
#42I have vim, neovim and emacs (and spacemacs) installed. Right now I'm trying to get into emacs a bit more. What's interesting to me, and the reason I try to keep up to date with the latest changes for all four editors, is that it's been now, what, 25 years (?) since emacs and vim started "competing" and they still are. I guess we could be saying the same in 10 years about firefox and chrome, but it still is amazing i…
I became an heavy Emacs user as I could not find the comfort of Borland IDEs in UNIX, as I started to use it. Since I moved away from C++ into Java and .NET land, never felt the need to use them any longer. And nowadays, with Qt Creator, Clion, xCode, AppCode and VS, I also don't feel the need of them when I need to go back to C++. It is very good to know the basics from plain Vi, because there are still commercial U…
Using a SmallTalk system was a somewhat different experience. Now that was integrated.
Re: Vim 8.0 is coming
#43I have vim, neovim and emacs (and spacemacs) installed. Right now I'm trying to get into emacs a bit more. What's interesting to me, and the reason I try to keep up to date with the latest changes for all four editors, is that it's been now, what, 25 years (?) since emacs and vim started "competing" and they still are. I guess we could be saying the same in 10 years about firefox and chrome, but it still is amazing i…
I became an heavy Emacs user as I could not find the comfort of Borland IDEs in UNIX, as I started to use it. Since I moved away from C++ into Java and .NET land, never felt the need to use them any longer. And nowadays, with Qt Creator, Clion, xCode, AppCode and VS, I also don't feel the need of them when I need to go back to C++. It is very good to know the basics from plain Vi, because there are still commercial U…
Re: Vim 8.0 is coming
#44Earlier quoted context omitted.
First of all, the key point of emacs is extensibility and customizability. So as new stuff comes up, e.g. new programming languages, debuggers, file formats, emacs can be extended without too much pain to work with them (and often, somebody has already done that for me). Secondly, working mainly as a sysadmin and only sometimes doing some development, I do far more with emacs than coding. I edit configuration files,…
I'm about to dive into org mode for the first time today. Do you have any tips for learning it? My plan was to open up the manual and start reading, but maybe you found an article or tutorial that helped kickstart your org mode knowledge, so I thought I'd ask. (Apologies if the question is a bit offtopic.)
Also remember org mode is as simple or as complex as you want it to be!
Re: Vim 8.0 is coming
#45I have vim, neovim and emacs (and spacemacs) installed. Right now I'm trying to get into emacs a bit more. What's interesting to me, and the reason I try to keep up to date with the latest changes for all four editors, is that it's been now, what, 25 years (?) since emacs and vim started "competing" and they still are. I guess we could be saying the same in 10 years about firefox and chrome, but it still is amazing i…
According to Wikipedia ( https://en.wikipedia.org/wiki/Vi and https://en.wikipedia.org/wiki/Emacs ) both vi and Emacs are from 1976. 40 years this year!
Amazing, I was 1 year old when both were started. How many other software package has such longevity? Unix and its various guises?
Re: Vim 8.0 is coming
#46Why is there just 1 contributor listed at https://github.com/vim/vim ?
It looks like the author takes patch submissions and applies them, rather than pull requests being merged. Detailed in: https://github.com/vim/vim/blob/master/CONTRIBUTING.md
Re: Vim 8.0 is coming
#47By the way, I have a question: what is the best learning material for intermediate/advanced Vim users? I know quite a lot of Vim features but apart from vimtutorial, I never learned them in any organized way - it was more of a bunch of tricks I found via googling. It would be nice if there was a book (preferably free) on this editor.
Look around you, what is going wrong in your community?
Maybe there is one problem that you might be able to solve in a single week.
Not wasting brain cycles with an ancient software that has really stupid limitations and will constantly distract you from your real work because you will have to "learn tricks" to use it will release so much brain power. Just use a simple editor like geany that just works out of the box like you would expect and go on solving real problems.
Younger programmers should understand: we old guys had to use vim, because there was nothing else in many cases, not because we found vim to be cool. The "cult" around that terrible piece of software was just a stupid joke, it was an evil prank to keep your co-workers distracted - while they were fighting with vim, the creative guys solved the real problems.
Real hackers do not waste their precious life time with vim, instead they solve real problems.
Re: Vim 8.0 is coming
#48Re: Vim 8.0 is coming
#49On the one hand, great to see such a huge release for Vim that brings so many features people have been begging for. Especially Async IO and JSON.
On the other hand, I hope Vim just become more stable and performant while not introducing new features. At the same time, I hope more development could go into NeoVim, and more people could start using it and writing plugins (not in Vimscript) for it. I want Vim to be my backup editor -- always there and reliable, and Neovim my working gear -- great features, joy to use, could have a few bugs that don't affect my workflow too much and are a natural result of fast-paced development.
I know this sounds really unfair to Vim devs. I'm sorry! I really appreciate the works you've done to make Vim amazing. But I feel for me, I just want to spend 95% of my time on one editor. Now I'm on the NeoVim boat, I feel like having completely switched my workflow to Atom from ST3, and just learned ST3 is going open source.
Re: Vim 8.0 is coming
#50Is there a way how I can copy blocks of code outside the vim window to another application without also copying the line numbers? Also is there one simple key combination to [un]comment a line or a selected block? I found out how to do many simple operations with this ancient tool, what can be really fun if you have nothing else funny in life (too many people have no other sources of fun, really) - but I am still not…
There are plugins for that. Check out vim-easyclip, and for comments theres vim-commentary(barebones) or nerdcommenter(loads of advanced features).