this post was submitted on
113 points (85% like it)
135 up votes 22 down votes
all 199 comments

[–]vyshane 20 points21 points ago*

sorry, this has been archived and can no longer be voted on

I do a fair bit of coding on the move. I tend to use vertical splits (3 to 4 per tab). Since screen real estate is precious on an 11" MacBook Air, I have the following in my .vimrc:

" Always show line numbers, but only in current window.
set number
:au WinEnter * :setlocal number
:au WinLeave * :setlocal nonumber

" Automatically resize vertical splits.
:au WinEnter * :set winfixheight
:au WinEnter * :wincmd =

Whenever I switch to a different vertical split, the windows resize so that the current split is maximised. The other splits are automatically resized to be smaller.

[–]xtagon 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Off topic, but...on line 10 of CWebView.rb, what's going on with the colon syntax? Is that some new 1.9 feature?

[–]vyshane 3 points4 points ago

sorry, this has been archived and can no longer be voted on

It's the MacRuby syntax for keyed arguments. For compatibility with Cocoa, MacRuby follows the Objective-C style of sending messages.

[–]bjeanes 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Thanks for sharing. The only showing line numbers for current window is brilliant. Stolen!

[–]ptrin 1 point2 points ago*

sorry, this has been archived and can no longer be voted on

Very cool, I always find myself forgetting which pane my cursor is in so I can see how adding line numbers only to the active window would help me with that.

Edit: I did the same with the cursorline as well which makes it even more visible.

[–]xtagon 1 point2 points ago

sorry, this has been archived and can no longer be voted on

That's gorgeous. May I ask what colorschemes you're using?

[–]vyshane 4 points5 points ago

sorry, this has been archived and can no longer be voted on

Thanks :-)

I'm calling the light colour scheme cleanroom. It's a cleaner (less colours) version of my vylight colour scheme. I haven't released cleanroom yet, but if there's interest I could clean it up and upload it to vim.org.

The dark colour scheme is vydark.

[–]xtagon 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Thanks, those are fantastic. And yeah, I'd be interested in cleanroom.

[–]vyshane 2 points3 points ago

sorry, this has been archived and can no longer be voted on

There you go: Cleanroom on vim.org

[–]markbao 0 points1 point ago

Thank you! Take some pride in knowing that I see vim in the way you created it now.

[–]randomwebdev 16 points17 points ago

sorry, this has been archived and can no longer be voted on

[–]BluSyn 2 points3 points ago

sorry, this has been archived and can no longer be voted on

This is brilliant! How?

[–]mattde 3 points4 points ago

sorry, this has been archived and can no longer be voted on

This is how I achieve it (taken from the vim wiki I think)

" Column scroll-binding on <leader>sb

noremap <silent> <leader>sb :<C-u>let @z=&so<CR>:set so=0 noscb<CR>:bo vs<CR>Ljzt:setl scb<CR><C-w>p:setl scb<CR>:let &so=@z<CR>

[–]ogtfo 2 points3 points ago

sorry, this has been archived and can no longer be voted on

It's really cool.

but if a line wraps, the columns desync.

[–]deepcube[S] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I didn't understand at first what was happening. But now...this changes everything

[–]cruzin 1 point2 points ago

sorry, this has been archived and can no longer be voted on

This is great! Thanks for sharing.

[–]BluSyn 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Couldn't figure out how to get this to split vertically... do you happen to know?

[–]mattde 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Change vs to sp.

[–]lurker_mike 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Mind sharing your .vimrc?

[–]randomwebdev 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Well, if there's anything interesting I've already made them into plugins.

My vimrc now is just a single set runtimepath=... line and a few :runtime's.

[–]lurker_mike 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Do you have your plugins online anywhere for perusal? You have some interesting things going on in those screenshots, and I'm interested in learning a thing or two and maybe even borrowing some ideas. :)

[–]randomwebdev 1 point2 points ago

sorry, this has been archived and can no longer be voted on

The screenshot is of ctrlp.vim.

[–]lurker_mike 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Nice, thanks for the link!

I also noticed you have some indentation markers displayed in the screenshot, specifically the "|" characters marking indentations. Is that something homegrown or part of vim folding that I need to read up on?

[–]randomwebdev 2 points3 points ago

sorry, this has been archived and can no longer be voted on

It's part of vim:

set list
set listchars=tab:¦\ 

[–]bjeanes 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Yeah but this will only work if you are using hard tabs.

Another option is IndentGuides.vim which will work for both, and can alternate (configurable) colors for each tab level.

[–]Lokaltog 8 points9 points ago

sorry, this has been archived and can no longer be voted on

Ok, so here's my vim. I've opened a Kohana (PHP framework) file for illustration purposes.

http://i.imgur.com/0o2ma.png

My configs are available at my GitHub repo: https://github.com/Lokaltog (vim config in 'sync', colorscheme in 'vim-distinguished').

[–]ikean 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Looks nice, I'm a bit confused by it though, so I'm going to ask some potentially naive questions. Are those 3 vsplits on one huge monitor? If so, how are they managed (initialization when you start vim, etc)? Also what are the arrows at the bottom (>>), some kind of linux terminal multiplexer, vim plugin?

[–]Lokaltog 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Yup, 3 vsplits on a 30" Dell monitor. I usually open new files in splits using NERDTree, but this time I just split the same file into 3 splits to avoid a 2000px black area to the right of the code when taking the screenshot.

The arrow stuff on the bottom is a custom vim statusbar I've created. You can check it out on GitHub (it's called vim-superstatus). Please note that it's currently an unsupported work in progress.

[–]coffeesounds 16 points17 points ago

sorry, this has been archived and can no longer be voted on

Why not :-)

[–]toupeira 5 points6 points ago

sorry, this has been archived and can no longer be voted on

That tmux config looks sweet! Is it online somewhere?

[–]coffeesounds 6 points7 points ago

sorry, this has been archived and can no longer be voted on

Sure, here you go.

[–]toupeira 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Thanks!

[–]ogtfo 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Thanks a lot, I'm gonna steal a few of those lines!

[–]deepcube[S] 2 points3 points ago

sorry, this has been archived and can no longer be voted on

what are the {> etc. symbols on the side? and which two sidebars are you using?

Also, love the tmux statusline. I just started using tmux a few days ago (using it as part of my front end for an irc client) and must now configure accordingly!

[–]coffeesounds 1 point2 points ago*

sorry, this has been archived and can no longer be voted on

what are the {> etc. symbols on the side?

I'm using showMarks.

and which two sidebars are you using?

Left: NERDtree, Right: TagBar

Also, love the tmux statusline. I just started using tmux a few days ago (using it as part of my front end for an irc client) and must now configure accordingly!

Here's my tmux config

edit: formatting

[–]ciferkey 2 points3 points ago

sorry, this has been archived and can no longer be voted on

A gundam fan!

[–]BrokeRegistration 1 point2 points ago*

sorry, this has been archived and can no longer be voted on

How'd you get the triangles that indicate a directory in NERDTree? It looks so much cleaner than the default.

EDIT: Also, what's the theme and font?

[–]coffeesounds 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Theme: molokai - slightly modified by puresock Font is monaco

As for NERDTree - just use these settings

[–]ikean 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Do you ever run into this issue with NERDTree I just now posted in /r/vim? http://www.reddit.com/r/vim/comments/m4cjp/i_have_this_issue_i_keep_running_into_with/

[–]coffeesounds 1 point2 points ago

sorry, this has been archived and can no longer be voted on

No, I never had that problem - mainly because I rarely use :bd. Additionally thanks to plugins like CommandT/CtrlP I'm not using NERDTree that often either

[–]JackLeo 13 points14 points ago*

sorry, this has been archived and can no longer be voted on

Here's mine http://i.imgur.com/5CAg8.png

Vim config is here http://hg.jackleo.info/vim-configs/src

Oh Also here is my plugin list: pathogen, compview, nerdcommenter, pyflakes-vim, snipmate, TabBar, DrawIt, nerdtree, pytest, supertab, tasklist, Gundo, pep8, searchfold, syntastic, vcscommand

[–]deepcube[S] 13 points14 points ago

sorry, this has been archived and can no longer be voted on

gundo!?!?!? I had no idea!!! I didn't even know it kept the tree. I have often wished it did but, but, but, AAAHHH!!!

thank you!!

[–]JackLeo 4 points5 points ago

sorry, this has been archived and can no longer be voted on

Yes Vim stores changes as tree, yet it's really hard to navigate it so Gundo is awesome for that.

[–]reggna 2 points3 points ago

sorry, this has been archived and can no longer be voted on

And thank you for pointing Gundo out, I probably would have missed it otherwise. :)

[–]kmwhite 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Gundo? Badass... Saving this comment for research!

[–]tehmatticus 1 point2 points ago

sorry, this has been archived and can no longer be voted on

What font is this?

[–]JackLeo 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Ubuntu Mono 13 size

[–]fmoralesc 11 points12 points ago

sorry, this has been archived and can no longer be voted on

[–]Tiomaidh 5 points6 points ago

sorry, this has been archived and can no longer be voted on

How do you replace in with ∈, != with ≠, and so forth?

[–]fmoralesc 8 points9 points ago

sorry, this has been archived and can no longer be voted on

[–]agentdero 6 points7 points ago

sorry, this has been archived and can no longer be voted on

cute! :D

[–]deepcube[S] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I must now ask you the same question.

Fancy tree sidebar stuff!!! What is this black magic!?!?

also, what's going on down below!?

[–]fmoralesc 2 points3 points ago

sorry, this has been archived and can no longer be voted on

The sidebar is tagbar. I use Voom most of the time, though.

The thingy below is my own note taking plugin, vim-pad. It's supposed to work like notational velocity.

[–]deepcube[S] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

awesometacularific!! although, is there a tagbar like plugin that uses cscope instead? (currently searching)

also, I've wanted something like vim-pad for so long, but have just gotten good at instead convincing myself that I just don't need to take notes

[–]fmoralesc 1 point2 points ago

sorry, this has been archived and can no longer be voted on

No idea about cscope.

I have to remind myself to take notes too. Having written the plugin myself, I can't forget so easily.

[–]deepcube[S] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

There's a definite possibility I'm just being a blockhead, but I can't get most of vim-pad to work :-(

<Shift><Escape> and <Control><Escape> don't work, and once I do list my notes, hitting enter on one doesn't open it, escape doesn't close it, etc.

My guess is there's something I'm very obviously doing wrong, but I can't seem to figure it out :-/

[–]fmoralesc 2 points3 points ago*

sorry, this has been archived and can no longer be voted on

(continuation) Now that I think of it, I'll make it so the plugin adjusts the mappings depending on whether vim is running with a GUI or from the terminal.

EDIT: done.

[–]fmoralesc 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Are you using it from the terminal? Those mappings don't work there. Have you tired mapping the functions to something else?

[–]metamatic 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Ctrl-Esc is also grabbed by KDE, FYI.

[–]fmoralesc 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Thanks for the info. I'm working on making changing the mappings more pleasant.

[–]deepcube[S] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Like I said, extremely obvious. I'm gonna go facepalm now

[–]skazhy 0 points1 point ago

sorry, this has been archived and can no longer be voted on

What desktop environment / theme is that? Looks really cool!

[–]fmoralesc 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I'm using:

  • DE: GNOME 3 + small-things theme, a personal mashup of Adwaita and Zukitwo
  • GTK: Zukitwo
  • Metacity: Drakfire dream
  • Vim colorscheme: molokai

[–]holizz 5 points6 points ago

sorry, this has been archived and can no longer be voted on

http://i.imgur.com/NnxIY.png

Am I the only one who doesn't use any plugins or create a complex window layout?

[–][deleted] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

The only plugin is use is perl-support, and it's mainly just for perltidy.

[–][deleted] 10 points11 points ago

sorry, this has been archived and can no longer be voted on

[–]deepcube[S] 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Fancy tree sidebar stuff!!! What is this black magic!?!?

[–][deleted] 9 points10 points ago

sorry, this has been archived and can no longer be voted on

[–]cyberdouche 4 points5 points ago

sorry, this has been archived and can no longer be voted on

What's the theme? Looks great.

[–][deleted] 2 points3 points ago

sorry, this has been archived and can no longer be voted on

It's nothing in particular, just a bunch of colours I've gradually cobbled together over the years:

set background=dark

hi Boolean      ctermfg=LightGreen guifg=#55FF4D
hi Character    ctermfg=LightGreen guifg=#55FF4D
hi Comment      ctermfg=Yellow     guifg=#FFFF54
hi Conditional  ctermfg=LightGreen guifg=#55FF4D
hi Constant     ctermfg=Cyan       guifg=#55FFFF
hi CursorColumn guibg=#2A2A2A
hi CursorLine   guibg=#2A2A2A
hi Define       ctermfg=LightGreen guifg=#55FF4D
hi Directory    ctermfg=LightGreen guifg=#55FF4D
hi DiffAdd      ctermbg=Green      guibg=#004200 guifg=White
hi DiffChange   ctermbg=Blue       guibg=#000083 guifg=White
hi DiffDelete   ctermbg=Red        guibg=#810000 guifg=White
hi DiffText     guibg=#817000      guifg=White
hi Delimiter    ctermfg=LightGreen guifg=#55FF4D
hi Float        ctermfg=LightGreen guifg=#55FF4D
hi Folded       guibg=#444444      guifg=White
hi FoldColumn   guibg=#222222      guifg=#CCCCCC
hi Function     ctermfg=Cyan       guifg=#55FFFF
hi Identifier   ctermfg=Cyan       guifg=#55FFFF
hi Include      ctermfg=Cyan       guifg=#55FFFF
hi LineNr       ctermfg=Gray  guifg=#777777 guibg=#222222
hi MatchParen   ctermfg=White      ctermbg=Red
hi NonText      ctermfg=Black      guifg=#222222
hi Normal       ctermfg=White guibg=#222222 guifg=White
hi Number       ctermfg=LightGreen guifg=#55FF4D
hi Operator     ctermfg=LightGreen guifg=#55FF4D
hi Parent       ctermfg=LightGreen guifg=#55FF4D
hi Region       ctermfg=Cyan       guifg=#55FFFF
hi SignColumn   guibg=#222222
hi Special      ctermfg=Cyan       guifg=#55FFFF
hi Statement    ctermfg=LightGreen guifg=#55FF4D
hi StatusLine   guifg=#333333      guibg=#CCCCCC
hi StatusLineNC guibg=#999999      guifg=#333333
hi String       ctermfg=Red        guifg=#FF5555
hi Structure    ctermfg=LightGreen guifg=#55FF4D
hi Todo         guibg=#222222      guifg=#FFFFFF
hi Title        ctermfg=Cyan       guifg=#55FFFF
hi Type         ctermfg=LightGreen guifg=#55FF4D
hi VertSplit    ctermbg=White      ctermfg=White guibg=#333333 guifg=#333333
hi Visual       guibg=#555555
hi vimHiGroup   ctermfg=Cyan
hi vimOption    ctermfg=Cyan

hi cssValueAngle     guifg=#55FFFF
hi cssValueFrequency guifg=#55FFFF
hi cssValueInteger   guifg=#55FFFF
hi cssValueLength    guifg=#55FFFF
hi cssValueNumber    guifg=#55FFFF
hi cssValueTime      guifg=#55FFFF
hi cssTextAttr       guifg=#55FFFF
hi cssCommonAttr     guifg=#55FFFF
hi cssRenderAttr     guifg=#55FFFF
hi cssColor          guifg=#55FFFF
hi cssColorAttr      guifg=#55FFFF
hi cssRenderProp     guifg=#55FFFF
hi cssBoxAttr        guifg=#55FFFF
hi cssFontAttr       guifg=#55FFFF
hi cssUIAttr         guifg=#55FFFF
hi cssPseudoClass    guifg=#FF80FF

hi javascriptBraces     guifg=#55FF4D
hi javascriptValue      guifg=#55FF4D
hi javascriptFunction   guifg=#55FF4D
hi javascriptIdentifier guifg=#55FF4D
hi javascriptParens     guifg=#55FF4D

hi phpMethodsVar  ctermfg=Cyan guifg=#55FFFF
hi phpRegion      ctermfg=Cyan guifg=#55FFFF
hi phpVarSelector ctermfg=Cyan guifg=#55FFFF

hi vimGroup        guifg=#55FFFF
hi vimHiCtermColor guifg=#55FFFF
hi vimHiGroup      guifg=#55FFFF

hi link htmlLink none

[–]knarkmacka 1 point2 points ago*

sorry, this has been archived and can no longer be voted on

I had a few vims open...

The colorscheme is Neverland.

Additional syntax hilight rules for perl and vim are used.

The filelistings in two of the vims is actually a filemanager. It's called vidir and it presents you with a list of files in vim - use regular vimfu on the lines to rename/delete/move/etc the files.

Also in use is vimpager for reading documentation and manpages.

My vim configuration

[–]n3xg3n 6 points7 points ago

sorry, this has been archived and can no longer be voted on

Sure, here you go. Nothing special really...

[–]TotempaaltJ 4 points5 points ago

sorry, this has been archived and can no longer be voted on

Please tell me what beautiful theme this is?

[–]n3xg3n 5 points6 points ago

sorry, this has been archived and can no longer be voted on

zenburn. I should warn you, once you start using it, you try to make everything in your life zenburn.

[–]mkartic 2 points3 points ago

sorry, this has been archived and can no longer be voted on

my awesome wm theme is set to zenburn too. :)

[–]TotempaaltJ 2 points3 points ago

sorry, this has been archived and can no longer be voted on

I found it not long after I asked. You're right. I've changed my gnome-terminal colour palette already.

[–]root45 6 points7 points ago

sorry, this has been archived and can no longer be voted on

Here's mine.

Everyone else's is black.

[–]n3xg3n 15 points16 points ago

sorry, this has been archived and can no longer be voted on

How have your eyes not yet melted?

[–]root45 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Heh, not sure if you're joking. I tried white on black for a while, but I find this more "normal" I guess. Most of what I read is black on white. Books, magazines, reddit, etc. Although, I could go for more of a grey look. Perhaps I'll try that.

[–]deepcube[S] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

note to self, W closes tab, not delete last word...

the single most important thing I figured out with respect to dark backgrounds, is that the foreground should be a light grey, not white

[–]mattde 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Ooh, what's that sidebar?

[–]root45 1 point2 points ago

sorry, this has been archived and can no longer be voted on

That's Tag List.

[–]remiprev 9 points10 points ago

sorry, this has been archived and can no longer be voted on

This is what my MacVim window looks like most of the time. I’m not a heavy multi-window user, nor a filesystem-in-the-sidebar fan :) I share my vimfiles here if you’re interested.

http://i.imgur.com/UgsJ4.png

[–]vladh 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Lovely! :D

[–]vladh 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Which theme is that?

[–]remiprev 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Tomorrow-Night by Chris Kempson.

[–]vladh 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Thank you! :)

[–]josemota 1 point2 points ago

sorry, this has been archived and can no longer be voted on

What are you using for the status bar info on the bottom? I've got nothing on the topic and would love to take advantage of it.

[–]remiprev 1 point2 points ago

sorry, this has been archived and can no longer be voted on

This is not a plugin or anything, this is just my custom configuration of the statusline option. You can see the exact lines in my configuration files. Hope that helps!

[–]Pewpewarrows 5 points6 points ago

sorry, this has been archived and can no longer be voted on

http://dl.dropbox.com/u/37823/Screenshots/1.png

I'm using Alloy's MacVim fork for the nice, native file browser. The theme is Molokai, with the Monaco font. If you want to check out the vimrc and plugins, they're all kept up to date here:

https://github.com/Pewpewarrows/dotfiles

[–]robbles 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Here's mine!

I wasn't coding on anything when I read this, so I opened up some random things I've been hacking at recently.

[–]andruf 1 point2 points ago

sorry, this has been archived and can no longer be voted on

whats that plugin on the right that shows your functions?

[–]robbles 1 point2 points ago

sorry, this has been archived and can no longer be voted on

TagList.

Normally I configure NerdTree and TagList to automatically close when I select something, so really they would never all be open at once like this.

Also, for completeness, that's Conque-Shell with IPython at the bottom.

[–]leenucks 2 points3 points ago

sorry, this has been archived and can no longer be voted on

[–]deepcube[S] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I see what you did there

[–]stevelosh 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Here's mine.

Normal: http://i.imgur.com/bJkSn.jpg

Resolving 3-way merge conflicts (about the ugliest it gets): http://i.imgur.com/EGSWx.png

[–]nostalgix 1 point2 points ago

sorry, this has been archived and can no longer be voted on

What's in the left window? ("5 days ago")

[–]stevelosh 1 point2 points ago

sorry, this has been archived and can no longer be voted on

[–]nostalgix 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Thanks. Looks useful.

[–]sztomi 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Are you the Steve Losh who wrote "Coming Home To Vim"?

[–]stevelosh 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Yep.

[–]sztomi 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Cool :) Thanks for that article, it's really good.

[–]sdellysse 2 points3 points ago

sorry, this has been archived and can no longer be voted on

[–]boarder4021 2 points3 points ago

sorry, this has been archived and can no longer be voted on

I like this thread.

screenshot - macvim in non-native fullscreen mode

config

i use a modified IR_Dark colorscheme and tir_black for 256 colors. yes, that's Zoidberg.

[–][deleted] 4 points5 points ago

sorry, this has been archived and can no longer be voted on

It makes me happy to see so many people looking after their eyes with nice dark, low-contrast color schemes.

[–]deepcube[S] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Yeah I've realized there are a lot of dark but not black backgrounds. Is this supposed to be easier on the eyes? I may have to try it.

[–]ogtfo 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Well here it is

the vimrc is here

[–]agentdero 1 point2 points ago

sorry, this has been archived and can no longer be voted on

You've convinced me to give the molokai theme another try

[–]ogtfo 1 point2 points ago

sorry, this has been archived and can no longer be voted on

The perl file opened isn't showing all molokai can do.

Here is another screenshot showing a lot more color. (tmux.conf has been updated with a lot of blattant theft from this thread!)

[–]zurnjunk 4 points5 points ago

sorry, this has been archived and can no longer be voted on

[–]tyrmored 4 points5 points ago

sorry, this has been archived and can no longer be voted on

What are you writing? Looks interesting.

[–]zurnjunk 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I'm trying to make a modern clone of Rogue.

You can find info about my game over here.

I post updates here and on twitter @zurn_

[–]Tiomaidh 1 point2 points ago

sorry, this has been archived and can no longer be voted on

How do you have visual tabs and such?

[–]zurnjunk 2 points3 points ago

sorry, this has been archived and can no longer be voted on

[–]Tiomaidh 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Sorry, I meant, "How are your \t characters visible?"

[–]zurnjunk 6 points7 points ago

sorry, this has been archived and can no longer be voted on

I've got these lines in my .vimrc

:set listchars=tab:▸\ ,eol:¬

:set list

[–]Tiomaidh 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Thanks!

[–]marten 3 points4 points ago

sorry, this has been archived and can no longer be voted on

[–]mattde 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Isn't xmonad+terminator overkill?

[–]marten 1 point2 points ago

sorry, this has been archived and can no longer be voted on

It is, but since Ubuntu 11.10 my gnome-terminal refuses to hide its menubar at startup.

[–]JackLeo 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Looks good. Is that wombat theme?

[–]infcow 2 points3 points ago

sorry, this has been archived and can no longer be voted on

[–]Tiomaidh 4 points5 points ago

sorry, this has been archived and can no longer be voted on

[–]mattde 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Like this, but without scrollbars, as I've just noticed them and turned them off.

[–]lidstah 4 points5 points ago

sorry, this has been archived and can no longer be voted on

Well, seeing all these nice screenshots I'm a bit afraid of mine (colorscheme is a modified xoria256, to match my .Xresources colorscheme)

I've switched from xmonad to stumpwm recently (mainly because I really liked ratpoison back in the time, and also because I'm learning a bit about Common Lisp) - so I'm on my way to translate the (quite ugly) bash script I use for weather information in lisp, to use it as a stumpwm module - and also looking how this wm works (and why the f*** the cpu.lisp module only gimme stats for ONE cpu ><, but I think I know why…))

[–]X-Istence 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Alright, this bad boy is mine: http://i.imgur.com/LNsSG.png

Not a whole lot going on NERDtree on the left, and two splits. Lots of stuff going on in the background though (tab completion and the like), see https://github.com/bertjwregeer/dotfiles/

[–]jb55 1 point2 points ago

sorry, this has been archived and can no longer be voted on

[–]tmahmood 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Here's mine :)

Color Scheme is customized Putty by me

[–]cruzin 1 point2 points ago

sorry, this has been archived and can no longer be voted on

What is the lighter grey sidebar next to your line numbers?

[–]tmahmood 2 points3 points ago

sorry, this has been archived and can no longer be voted on

[–]cruzin 1 point2 points ago*

sorry, this has been archived and can no longer be voted on

Last question: I'm trying to change the color of the sidebar. I see you can change ShowMarksHLl, ShowMarksHLu, ShowMarksHLo and ShowMarksHLm, but nothing about changing the color of the bar itself.

EDIT: Nevermind. It's SignColumn. For example: hi SignColumn guibg=#111111

[–]thomasslick 1 point2 points ago

sorry, this has been archived and can no longer be voted on

can you like upload that somewhere, love that colorscheme

[–]tmahmood 2 points3 points ago

sorry, this has been archived and can no longer be voted on

here you go :)

not exactly like the screenshot anymore, as I made some changes to make it work well with python.

http://pastebin.com/YJETpen6

[–]brews 1 point2 points ago

sorry, this has been archived and can no longer be voted on

About 5 seconds ago.

Working on some homework in R.

[–]luckystarr 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Did you know of :vs ?

[–]brews 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Yup. I use it frequently with other languages. I have the terminal habit with R for whatever reason.

[–]rv77ax 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Old screenshot, but still the same.

[–]tyrmored 1 point2 points ago*

sorry, this has been archived and can no longer be voted on

[–]gfixler 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I'm just using Ubuntu defaults on 3 screens. Here's 3 vims open across the screens while editing a syntax file, and looking up how to do that. This was a good question, OP. I'm eager to use some of things people have posted. These folks are getting artsy with their vims.

[–]ruggednraw 1 point2 points ago*

sorry, this has been archived and can no longer be voted on

[–]arnar 1 point2 points ago

sorry, this has been archived and can no longer be voted on

My current one, but I'm always changing since I can't decide on colours/fonts/etc.

My config is on github.

[–]haukurph 1 point2 points ago

sorry, this has been archived and can no longer be voted on

http://i.imgur.com/4THay.png I prefer to use Vim in full screen. I use this colorscheme: http://ethanschoonover.com/solarized On the screenshot you can see both the light and dark versions.

[–]RichGuk 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Been meaning to try solarized out. Easy on the eyes.

[–]RandomNumberHere 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Peachpuff for life yo. I don't know how y'all can tolerate bright text on a black background. I like peachpuff because it reminds me of the old orange CRT dumb terminals... real easy on the eyes.

Can't show my real C code, so I pasted some Linux.

[–]MoneyWorthington 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Here's mine. Nothing special.

[–]RichGuk 1 point2 points ago

sorry, this has been archived and can no longer be voted on

So many nice themes! Go on then, here is mine and here is my vim config.

[–]talso 1 point2 points ago

sorry, this has been archived and can no longer be voted on

no crazy plugins at home. Just my color theme and free Envy Code font.

vimshot

[–]lakmeer 1 point2 points ago

sorry, this has been archived and can no longer be voted on

My setup, has some pretty custom highlighting: my macvim

Colorscheme is my own project called Technicolor, for web dev which highlights each of the different languages differently. Clockwise, HTML, PHP, JS, CSS. Git hub here: vim-technicolor. WORK IN PROGRESS, just a caveat, but any feedback would be brilliant.

Font is Anonymous Pro. Love this font. Sexy. Free.

[–]donri 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Began toying with my own colorscheme after I noticed how Solarized is bad for Haskell code and I was tired of all other great colorschemes. Here's how it currently looks.

[–]rbetts 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Nice - like beer, fish and chips: brown and tasty! Have a link to the colorscheme?

[–]donri 3 points4 points ago

sorry, this has been archived and can no longer be voted on

Not yet; it's not quite finished. I'll /r/vim it once I release. Deal?

[–][deleted] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

[–]Spleenter 1 point2 points ago

I'm a bit late to the party, but here's mine: img

[–]manelvf 2 points3 points ago

sorry, this has been archived and can no longer be voted on

All yours, baby...

http://imgur.com/bN9kD

[–]toadwarrior[!] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Is that some Flask code I see in one of your windows?

[–]manelvf 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Yeah... I'm coding a website based on Flask. And enjoying it.

[–]ZestyOne 2 points3 points ago*

sorry, this has been archived and can no longer be voted on

http://ecefx-dev.com/lol/vim.png

Color changes according to mode (green—normal/orange—insert)

[–]JackLeo 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Mine entire CursorLine changes color :D Some folks helped me for this one though - http://stackoverflow.com/questions/7614546/vim-cursorline-color-change-in-insert-mode

[–]tapesmith 1 point2 points ago

sorry, this has been archived and can no longer be voted on

What is your colorscheme?

[–]ZestyOne 1 point2 points ago

sorry, this has been archived and can no longer be voted on

slightly modified version of darkbone

[–][deleted] 3 points4 points ago

sorry, this has been archived and can no longer be voted on

[–]emm386 1 point2 points ago

sorry, this has been archived and can no longer be voted on

What colorscheme is that? Looks a lot like Busybee.

[–][deleted] 2 points3 points ago

sorry, this has been archived and can no longer be voted on

It is Mustang.

[–]simcaster 2 points3 points ago

sorry, this has been archived and can no longer be voted on

[–]mpkilla 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Mind posting your .vimrc ?

[–]deepcube[S] 4 points5 points ago

sorry, this has been archived and can no longer be voted on

https://bitbucket.org/emg/etc/src/f1df4aae6a99/vim

That is all my vim stuff. Enjoy!

[–]mpkilla 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Thanks! : )

[–]toupeira 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Well here's mine, and here's the configuration.

[–]BluSyn 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Love some of your shortcuts! I've yanked a bunch from your vimrc. Thanks for sharing! :)

[–]toupeira 1 point2 points ago

sorry, this has been archived and can no longer be voted on

You're welcome, I'm glad you find them as useful as I do :)

[–]JessieAMorris 1 point2 points ago

sorry, this has been archived and can no longer be voted on

http://imgur.com/1nicX

Very basic python file. I do like the red underlining for warnings. :-)

[–]tcrayford 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Mine: http://imgur.com/a/9mF9z

Yes, I really code like that (sub 40 line classes, sub 5 line methods, sub ms specs).

I don't usually have this many splits open, but it happens occasionally.

Command T is awesome.

Font is Inconsolata-G, color theme is solarized.

[–]xtagon 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Here's mine. Pretty basic.

[–]arnar 1 point2 points ago

sorry, this has been archived and can no longer be voted on

What's that terminal and/or what is your prompt?

[–]xtagon 0 points1 point ago

sorry, this has been archived and can no longer be voted on

It's gnome-terminal. Here's my prompt (bash):

# Colors
C0='\[\033[0m\]'  # Reset
C1='\[\033[30m\]' # Black
C2='\[\033[31m\]' # Red
C3='\[\033[32m\]' # Green
C4='\[\033[33m\]' # Yellow
C5='\[\033[34m\]' # Blue
C6='\[\033[35m\]' # Purple
C7='\[\033[36m\]' # Cyan
C8='\[\033[37m\]' # White
CB='\[\033[1m\]'  # Bold

# Prompt
export PS1=$C1'╭── '$C8'\u@\h '$C5'\w '$C4'`__git_ps1 "%s"` '$C1'`git log -1 --pretty=format:"%ar" 2>/dev/null`\n'$C1'╰─▶ '$C0
export PS2="$C1\[\033[1A\]│ ▷\n╰─▶ $C0"

# Unset colors
unset C0 C1 C2 C3 C4 C5 C6 C7 CB

[–]BluSyn 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Here is mine.

Though, I admit I am in the middle of tweaking it based on some of the awesomeness in this thread. Thanks for all the insights everyone! :)

[–]lor4x 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I like to keep mine nice and simple! My plugins are:

  • Align
  • gundo.vim
  • nerdcommenter
  • nerdtree
  • OmniCppComplete
  • tagbar
  • vim-fugitive

and here are all my configs!

[–]minikomi 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Nothing fancy.. but I like it contrasty ;) http://imgur.com/CEY5P

[–]threading 2 points3 points ago

sorry, this has been archived and can no longer be voted on

Which font is that?

[–]minikomi 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Ubuntu sans mono.. At first I thought it looked kind of silly but I grew to like it a lot

[–]toadwarrior[!] 2 points3 points ago

sorry, this has been archived and can no longer be voted on

That is beautiful!

[–]deepcube[S] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Thanks!! I think most of them are. Where's yours!? ;-)

[–]toadwarrior[!] 1 point2 points ago

sorry, this has been archived and can no longer be voted on

My home mac isn't as impressive. It's a pretty standard MacVim with NerdTree so I was going to wait until I get to work but I'll post a home version and really should move all the tweaks I've made at work to my home version!

http://i.imgur.com/7hImU.png

[–]kaaskop42 4 points5 points ago

sorry, this has been archived and can no longer be voted on

 mv .vimrc .vim/vimrc
 ln -s .vim/vimrc .vimrc
 cd .vim
 git init

[–]JackLeo 1 point2 points ago

sorry, this has been archived and can no longer be voted on

Since I'm storing in a repo my home configs separately than vim what I did is:

$ mv .vimrc .vim/vimrc

and then just put to empty ~/.vimrc "so $HOME/.vim/vimrc"

In this case when I pull my home configs to empty computer I don't need to make any links to freshly pulled Vim or run any make commands or scripts. Also I use my vim repo as subrepo of home configs so I just need to clone home configs and thats it.

[–]deepcube[S] 0 points1 point ago

sorry, this has been archived and can no longer be voted on

you can also mess with the VIMINIT environment variable. My vimrc is in ~/etc/vim/vimrc but in my bash_profile I

export VIMINIT="${VIMINIT:-"source $HOME/etc/vim/vimrc"}"

and in my vimrc I had ~/etc/vim to the runtimepath

[–]press-any-key 1 point2 points ago

sorry, this has been archived and can no longer be voted on

I fall into the minimalist camp when it comes to Vim setups, but I've put a lot of subtle tweaking into my setup: here

The colorscheme is ir_black, although before that I was a huge fan of railscasts. I use NERDTree heavily, as well as VimRoom (for prose) and CtrlP as of late.

Configs: https://github.com/eric-wood/Vim-Config

[–]rodneyfool 0 points1 point ago

sorry, this has been archived and can no longer be voted on

Just found r/vim today: http://i.imgur.com/aXiTY.png

[–]evantravers 0 points1 point ago

sorry, this has been archived and can no longer be voted on

I'll play. I'm a big fan of solarized, and the dotfiles for my setup can all be found here.

theme and some ruby

my messy and soon to replaced desk