geekhack

geekhack Community => Other Geeky Stuff => Topic started by: codymaust on Mon, 07 January 2013, 21:04:42

Title: Calling all Vim/Vi users/fans
Post by: codymaust on Mon, 07 January 2013, 21:04:42
Just curious, how many GH'ers are vim/vi fans?? It seems to me that a passion for keyboard and the power of vim go hand in hand.

With vim/gVim as my personal editor of choice, the vimium chrome extension, and the VsVim VisualStudio extension for work, I have almost all of the bases covered.
GH just needs to implement vim keymapping to the post editor :P


Also, to facilitate more interesting discussion, what colorscheme/font do you prefer in a non-terminal setting? I'm a big fan of Solarized (Dark) and Anonymous Pro (11pt)

Title: Re: Calling all Vim/Vi users/fans
Post by: sth on Mon, 07 January 2013, 21:09:13
i use vi. i wouldn't say i'm a fan as much as i am more experienced with it than other text editors, and it comes bundled more often than any other editor. i use kate if i'm mostly working in a DE otherwise vim does the job on terminal/simple WM type environments.
the low contrast of solarized sort of messes with my eyes for some reason, whether it's light or dark. i like white or amber/yellow on black. liberation mono does an okay job. terminus is cool too but i don't remember how 'different' certain glyphs are ( for example O/0, l/I/|).
Title: Re: Calling all Vim/Vi users/fans
Post by: reverkiller on Mon, 07 January 2013, 21:27:13
I tend to use Sublime 2 with Vintage (standard vim key bindings) enabled. I'm not really sure why, but I saw a lot of people recommend it so I decided to try it and I like the intuitive multidocument interface.
Title: Re: Calling all Vim/Vi users/fans
Post by: nullstring on Mon, 07 January 2013, 21:30:12
gvim/vim fan here as well.

I use the exact same configuration in gvim as I do with vim.
ie. my gvim looks and feels exactly like the standard vim does when open in a terminal emulator.

Solarized looks nice though. Perhaps I should try something new.
Title: Re: Calling all Vim/Vi users/fans
Post by: codymaust on Mon, 07 January 2013, 21:39:17
the low contrast of solarized sort of messes with my eyes for some reason, whether it's light or dark. i like white or amber/yellow on black. liberation mono does an okay job. terminus is cool too but i don't remember how 'different' certain glyphs are ( for example O/0, l/I/|).
Now that you mention it, I really don't like how low the contrast is for commented code.. I was using desert in gVim for a while before that which I liked.

It's nice to have the same scheme across the board though, and I found an excellent solarized scheme for VS.

I use the exact same configuration in gvim as I do with vim.
ie. my gvim looks and feels exactly like the standard vim does when open in a terminal emulator.

Solarized looks nice though. Perhaps I should try something new.
I really like the simplicity of white on black, I just  have a hard time looking at it for long periods of time.
Title: Re: Calling all Vim/Vi users/fans
Post by: nullstring on Mon, 07 January 2013, 21:52:37
I tend to use Sublime 2 with Vintage (standard vim key bindings) enabled. I'm not really sure why, but I saw a lot of people recommend it so I decided to try it and I like the intuitive multidocument interface.

Whoa, this looks interesting.
The "project" interface looks like it might be a good middleground between eclipse and gvim.
There are a few things that I can hopefully reconfigure, but the configuration model looks like extensible, so I am hopeful it will support it.

EDIT: Does sublime text have an IRC channel?
Title: Re: Calling all Vim/Vi users/fans
Post by: nullstring on Mon, 07 January 2013, 21:56:20
Looks like there are a few things that don't work out of the box:
md  d'd doesn't work for instance.

HMMM
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Mon, 07 January 2013, 22:12:09
I am elvis fan (another vi clone).  Because it has better indentation control and something else that eludes me for the moment.

I usually use PuTTY to access various GNU/Linux boxen, and a solarized-like colour theme works well for me.

I tried Sublime Text 2 on my quest for a cross-platform syntax-highlighting text editor, but more or less dropped it for a few reasons, including the clunky configuration (call me lazy, but it seems half way between a GUI config editor and a flat text file).  Also find/replace works weird and less flexible, IMHO, compared to a few other editors I have been using.
Title: Re: Calling all Vim/Vi users/fans
Post by: hashbaz on Mon, 07 January 2013, 22:39:11
I've tried various other editors, including emacs, but I always come back to vim.  vi command emulation in other editors has always been missing something or other that I use constantly.

My font is Consolas, and I have a script that chooses a random colorscheme at every invocation.  Solarized is too washed out for me.  asmdev2 and candycode spring to mind as schemes I like a lot.

Here's a question for the rest of you: do you open many vim instances as you move from file to file, or do have one vim with lots of buffers open?
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Mon, 07 January 2013, 22:51:52
(Responding as an elvis user) depending on what I am doing, usually I just have one terminal window open to the server I am working on, in which case multiple buffers in one elvis instance.
Title: Re: Calling all Vim/Vi users/fans
Post by: i3oilermaker on Mon, 07 January 2013, 23:09:16
Coming soon:


[attach=1]
Title: Re: Calling all Vim/Vi users/fans
Post by: deepthawt on Mon, 07 January 2013, 23:09:54
I used 237 before I used 6, i like 6 better.  :cool:

Title: Re: Calling all Vim/Vi users/fans
Post by: i3oilermaker on Mon, 07 January 2013, 23:13:26
Glow in the Dark is hard to capture!


[attach=1]
Title: Re: Calling all Vim/Vi users/fans
Post by: codymaust on Tue, 08 January 2013, 00:05:12
I remember seeing those on some online shop a few months back.. Techkeys maybe? Looks good
Title: Re: Calling all Vim/Vi users/fans
Post by: i3oilermaker on Tue, 08 January 2013, 00:24:36
i3oilermaker == techkeys
Title: Re: Calling all Vim/Vi users/fans
Post by: daerid on Tue, 08 January 2013, 16:51:52
Coming soon:


(Attachment Link)

I already have 2 of those!

*EDIT*: Oops. I have 2 of the non glow-in-the-dark version. nice!

Here's a question for the rest of you: do you open many vim instances as you move from file to file, or do have one vim with lots of buffers open?

Multiple buffers, all the way. I've been tweaking my vim installation for the last 5 years. I'm absolutely lost on default vim installations :(
Title: Re: Calling all Vim/Vi users/fans
Post by: deepthawt on Tue, 08 January 2013, 21:17:02
no bites?
not even a nibble?
how about 994?
Title: Re: Calling all Vim/Vi users/fans
Post by: metalliqaz on Tue, 08 January 2013, 21:41:18
I love vim :)
Title: Re: Calling all Vim/Vi users/fans
Post by: nar on Tue, 08 January 2013, 23:31:30
I use vim, I actually have it set up with plugins to let me emulate Source Insight, even helped a bit with a plugin to duplicate the context window (Click on any keyword, a small buffer in the bottom automatically opens the definition and displays it).

Now if only they had those vim keycaps for Topre too.
Title: Re: Calling all Vim/Vi users/fans
Post by: sth on Wed, 09 January 2013, 01:00:48
I'm absolutely lost on default vim installations :(

one of the biggest reasons i USE vim is that i've learned 'defaults' and thus my minimal skills are somewhat portable. that alone has pretty much dissuaded me from customizing it for fear of getting lost :P
Title: Re: Calling all Vim/Vi users/fans
Post by: sth on Wed, 09 January 2013, 01:01:19
I use vim, I actually have it set up with plugins to let me emulate Source Insight, even helped a bit with a plugin to duplicate the context window (Click on any keyword, a small buffer in the bottom automatically opens the definition and displays it).

Now if only they had those vim keycaps for Topre too.
no. no novelty keys for topre. baaaaaaaaaaaad.
Title: Re: Calling all Vim/Vi users/fans
Post by: daerid on Wed, 09 January 2013, 02:10:07
one of the biggest reasons i USE vim is that i've learned 'defaults' and thus my minimal skills are somewhat portable. that alone has pretty much dissuaded me from customizing it for fear of getting lost :P

Oh, I can get by on default vim, but it's painful after a few minutes.
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Wed, 09 January 2013, 03:48:19
I use vim, I actually have it set up with plugins to let me emulate Source Insight, even helped a bit with a plugin to duplicate the context window (Click on any keyword, a small buffer in the bottom automatically opens the definition and displays it).

Now if only they had those vim keycaps for Topre too.
no. no novelty keys for topre. baaaaaaaaaaaad.

Except for a CC or two ...
Title: Re: Calling all Vim/Vi users/fans
Post by: Amarok on Wed, 09 January 2013, 13:49:45
I like vim quite a bit. I mostly use it in Linux, but have been wanting to try the extension for visual studio in windows to see how I like it.
Title: Re: Calling all Vim/Vi users/fans
Post by: mztriz on Wed, 09 January 2013, 17:40:51
I've used quite a few text editors, but I always end up going back to Vim.  It has a wonderful plugin selection and is really easy to customize to my needs.
Title: Re: Calling all Vim/Vi users/fans
Post by: sth on Wed, 09 January 2013, 17:43:09
I use vim, I actually have it set up with plugins to let me emulate Source Insight, even helped a bit with a plugin to duplicate the context window (Click on any keyword, a small buffer in the bottom automatically opens the definition and displays it).

Now if only they had those vim keycaps for Topre too.
no. no novelty keys for topre. baaaaaaaaaaaad.

Except for a CC or two ...
i've got one click clack on my keyboard but it's not a skull, and it's almost exactly the same color as the rest of my keys :P
Title: Re: Calling all Vim/Vi users/fans
Post by: deepthawt on Wed, 09 January 2013, 18:12:45
I use vim whenever I have mass editing to do and bulk data manipulation.
other than that I visit *vi* less often and spend more time with ultraedit.
Title: Re: Calling all Vim/Vi users/fans
Post by: deegaf on Sat, 26 January 2013, 04:08:28
I tend to use Sublime 2 with Vintage (standard vim key bindings) enabled. I'm not really sure why, but I saw a lot of people recommend it so I decided to try it and I like the intuitive multidocument interface.


Oooh that's cool.  I use Sublime 2 more than I do vim because I'm a lot faster in it.   I use it with iTerm and split panes when I do fiddle with VIM.  I don't really know how to Tmux.   
Title: Re: Calling all Vim/Vi users/fans
Post by: tipo33 on Sat, 02 February 2013, 18:57:52
vim or gedit depending on the way I feel and what I need to do.
Title: Re: Calling all Vim/Vi users/fans
Post by: davkol on Sun, 03 February 2013, 07:09:35
Vim only for administration stuff in CLI, because I'm too lazy to configure it properly. Kate/Komodo/NetBeans/... otherwise. Sublime has always immediately crashed on my system.
Title: Re: Calling all Vim/Vi users/fans
Post by: gvfarns on Thu, 21 March 2013, 22:34:49
Vim is the ultimate.  I don't care for gvim, though.  Takes me out of my comfy terminal and it feels like it starts up too slowly.  Those milliseconds count!  If they didn't I'd be using xemacs in viper mode again, like I did when I was new to the world of text editors.
Title: Re: Calling all Vim/Vi users/fans
Post by: hashbaz on Fri, 22 March 2013, 02:45:15
I salute you, vim-brother!  I love gvim, personally.  It just feels snappier and has better colors.  Load time isn't really an issue for me as I tend to have one main editor instance open for weeks at a time.
Title: Re: Calling all Vim/Vi users/fans
Post by: iri on Sat, 23 March 2013, 14:15:19
i don't even have gvim installed.
Title: Re: Calling all Vim/Vi users/fans
Post by: lutherus on Sat, 23 March 2013, 14:49:39
VIM user from Croatia reporting for duty
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Thu, 24 September 2015, 20:40:18
http://www.norfolkwinters.com/vim-creep/?utm_campaign=Contact+SNS+For+More+Referrer&utm_medium=twitter&utm_source=snsanalytics
Title: Re: Calling all Vim/Vi users/fans
Post by: osi on Fri, 25 September 2015, 06:36:04
vim with https://github.com/amix/vimrc
Title: Re: Calling all Vim/Vi users/fans
Post by: daerid on Sat, 26 September 2015, 21:11:52
I've always said that the one thing keeping me in Vim (as opposed to another editor with vim bindings) is the lack of support for vim-surround.

Whelp, looks like I'm giving Atom a try, since it has vim bindings and a vim-surround plugin. Will report back after a bit.
Title: Re: Calling all Vim/Vi users/fans
Post by: njbair on Sat, 26 September 2015, 21:50:12
http://www.norfolkwinters.com/vim-creep/?utm_campaign=Contact+SNS+For+More+Referrer&utm_medium=twitter&utm_source=snsanalytics

That was really cool. I read along with the narration.
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Fri, 02 October 2015, 21:18:35
For the curious, here is what looks like a reasonable vim tutorial:

https://danielmiessler.com/study/vim/
Title: Re: Calling all Vim/Vi users/fans
Post by: njbair on Fri, 02 October 2015, 21:21:38
For the curious, here is what looks like a reasonable vim tutorial:

https://danielmiessler.com/study/vim/
I learned by using vimtutor, which ships with Vim on Debian.
Title: Re: Calling all Vim/Vi users/fans
Post by: Sangscienta on Thu, 15 October 2015, 08:13:41
I mostly use vi for work, when I need to edit configurations on linux machines. I'm still very fresh on it, and it still cramps my brain, but i'm improving slowly. Still, I prefer text editor, mainly notepad++ / Scite. But in time that may change.
Title: Re: Calling all Vim/Vi users/fans
Post by: iri on Thu, 15 October 2015, 08:19:52
vim is exactly the text editor.
Title: Re: Calling all Vim/Vi users/fans
Post by: tjcertified on Sat, 17 October 2015, 00:50:20
Vim user for about five years here. I just converted from using pathogen to Vundle, and I'm a big fan of almost any plugin that tpope writes. I haven't started writing any plugins, and probably won't for a long time, mostly because I have found everything I need in the plethora of existing plugins.

I will say that the 'Learning Vi/Vim' book, as well as the 'sed/awk' book by O'Reilly can really help with learning the editor, as well as regex, which can help quite a bit when searching in files with Vim.

I have never used ViEmu, but certainly enjoy VsVim for Visual Studio code editing.

Ever since I read http://stevelosh.com/blog/2010/09/coming-home-to-vim/ (http://stevelosh.com/blog/2010/09/coming-home-to-vim/), I have been using the 'molokai' color scheme, found at http://bitbucket.org/sjl/dotfiles/src/tip/vim/colors/molokai.vim (http://bitbucket.org/sjl/dotfiles/src/tip/vim/colors/molokai.vim)
Title: Re: Calling all Vim/Vi users/fans
Post by: Toggi3 on Sat, 17 October 2015, 04:49:02
Im a recent convert honestly, but after getting over the wall of pain getting used to vim i like it more every day.  I am building my own 60% keyboard with keycaps around vim.  Im also trying to gauge interest in another marketplace ic thread i created.  Shameless plus, sorry, but you guys might want to go check it out. :)
Title: Re: Calling all Vim/Vi users/fans
Post by: vimx on Fri, 27 November 2015, 11:10:24
I used to be an Emacs.  Now I'm a Vim, for more than ten years now.  Vim on, brothers and sisters!
Title: Re: Calling all Vim/Vi users/fans
Post by: KRKS on Fri, 27 November 2015, 14:36:21
For the curious, here is what looks like a reasonable vim tutorial:

https://danielmiessler.com/study/vim/

"Kana the Wizard" that has no 日本語 whatsoever, I call BS  ;D
Title: Re: Calling all Vim/Vi users/fans
Post by: pr0ximity on Fri, 27 November 2015, 14:53:41
vim macros + the `norm` command absolutely destroy repetitive text manipulation.
Title: Re: Calling all Vim/Vi users/fans
Post by: n__dles on Sat, 28 November 2015, 19:06:57
I used to be an Emacs.  Now I'm a Vim, for more than ten years now.  Vim on, brothers and sisters!
I use Emacs. I'm now seriously considering 'switching' to VI. By switching I mean using evil mode inside emacs (vi keystrokes). The chording is hurting my hands, and probably slowing my already slow typing down.

Both are great editors or they wouldn't have lasted 30+ years, they will likely be the only two editors that currently exist that will be relevant in another 30 years.
Title: Re: Calling all Vim/Vi users/fans
Post by: trenzafeeds on Sat, 28 November 2015, 21:25:49
I use Dvorak, and I've messed around with vim a couple of times. Unfortunately it's a lot less intuitive with the dvorak keyboard, but it seems like it could be just as effective.
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Thu, 07 December 2017, 16:03:25
https://github.com/arithran/vim-pizza
Title: Re: Calling all Vim/Vi users/fans
Post by: xtrafrood on Thu, 07 December 2017, 19:18:24
https://github.com/arithran/vim-pizza

$(^^)
Title: Re: Calling all Vim/Vi users/fans
Post by: OfTheWild on Thu, 07 December 2017, 19:21:08
I've always used Vim but only out of necessity - i'm not that good at remembering all the shortcuts. Back in the day when i was using a linux based system as my primary OS i had a print out shortcut card from Oreily i think.
Title: Re: Calling all Vim/Vi users/fans
Post by: JohanAR on Fri, 08 December 2017, 01:43:14
https://github.com/arithran/vim-pizza

TBH ordering pizza sounds more like something you'd use Emacs for
Title: Re: Calling all Vim/Vi users/fans
Post by: xtrafrood on Fri, 08 December 2017, 10:13:54
https://github.com/arithran/vim-pizza

TBH ordering pizza sounds more like something you'd use Emacs for

Quote from #geekhack IRC (after I read about vim-pizza and linked github page..)
Quote
2017-DEC-05 11:28:53 @_rubik  csmertx: thats amazing. I'm going to port that idea to emacs
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Sun, 10 December 2017, 19:58:43
https://github.com/arithran/vim-pizza

TBH ordering pizza sounds more like something you'd use Emacs for

Quote from #geekhack IRC (after I read about vim-pizza and linked github page..)
Quote
2017-DEC-05 11:28:53 @_rubik  csmertx: thats amazing. I'm going to port that idea to emacs

:))
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Mon, 20 August 2018, 19:15:20
Interesting article on the history of vim:

https://thenewstack.io/a-look-at-vim-a-text-editor-for-the-ages/
Title: Re: Calling all Vim/Vi users/fans
Post by: xtrafrood on Mon, 20 August 2018, 20:51:33
I just recently became somewhat acquainted with tabluar. Am now aligning all the things.
Title: Re: Calling all Vim/Vi users/fans
Post by: rowdy on Sat, 25 August 2018, 18:00:26
https://www.reddit.com/r/ProgrammerHumor/comments/99gaid/many_enter_few_exit/

And in case the picture has gone (it didn't show on the page for me) ...

[attachimg=1]
Title: Re: Calling all Vim/Vi users/fans
Post by: xtrafrood on Sat, 25 August 2018, 18:23:09
huehue