Live data from Hacker News

Vim plugins and config walkthrough

boddy.im

11–20 of 24 posts

Re: Vim plugins and config walkthrough

#11

Earlier quoted context omitted.

If you like tabs, you can just use tabs inside vim instead of buffers

It kind of feels like sacrilege though :-)

I don't see why? You can of course create as many horizontal/vertical splits inside each tab as you like.

Re: Vim plugins and config walkthrough

#13

I really want to use/like Vim. Sounds like I'm going to say it not great, but actually this might be a call for help... I have used Vim for a couple years I think, maybe more now and learned enough to write my own vimrc file from scratch, understanding all the parts I'm adding, what they do and why and sync it via version control etc etc. I use it on every server I administer/whenever I use the terminal. I've added m…

There are many ways, depending on what you specifically need. For the most basic command that will probably work immediately, just start up vim with multiple files like so: vim -p file1 file2 This will open file1 and file2 in separate vim tabs. But vim tabs may not behave the way you would expect them to coming from other programs. You might prefer to just list all the buffers within one window instead. There are man…

I've steered away from using actual tabs as Vim uses them becauses I wanted to follow the buffer/window/tab mentality Vim follows. It's a logical setup.

I will take a look at these. I think that because I've got lightline installed I'll have to either integrate one of these or just go for one on it's own or something.

Re: Vim plugins and config walkthrough

#14

Earlier quoted context omitted.

It kind of feels like sacrilege though :-)

I don't see why? You can of course create as many horizontal/vertical splits inside each tab as you like.

Because buffers are files, and what I really want is a list of files indicated, so it seems overkill to set up completely seperate tabs.

Re: Vim plugins and config walkthrough

#15

I really want to use/like Vim. Sounds like I'm going to say it not great, but actually this might be a call for help... I have used Vim for a couple years I think, maybe more now and learned enough to write my own vimrc file from scratch, understanding all the parts I'm adding, what they do and why and sync it via version control etc etc. I use it on every server I administer/whenever I use the terminal. I've added m…

I used to use bufftabline, https://github.com/ap/vim-buftabline . I think something like it is what you're looking for? If it's not quite right for you the readme in the github repo mentions some other plugins that have similar capabilities. I really liked bufftabline when I used it. It was lightweight and did exactly what I wanted it to do, give me an immediate visual representation of the buffers I had open in a fa…

Actually, buftabline looks perfect. I'm not sure how I have overlooked this.

I really only need this as a crutch to get over the way I previously used graphical text editors. I know some people say go cold turkey and I have for a loooooong time but I need this representation.

I'm not sure it's even a 'bad' thing to do, seems quite handy to see what buffers are open without having to write a command. Plus I have a huge amount of screen real estate so I think this might work well.

Thanks.

Pl

Re: Vim plugins and config walkthrough

#16
Well, in every blogpost about a editor or IDE there's gotta be someone who starts a flamewar. It's my turn I guess. I am a diehard Vimmer. I use Vi bindings system-wide. I've been using Vim for many years. Yet one day I woke up and I realized - Emacs is better Vim than Vim. Vimmers, if you think I'm trolling, try Spacemacs for yourselves. I guarantee - you'd be amazed.

Re: Vim plugins and config walkthrough

#18

I really want to use/like Vim. Sounds like I'm going to say it not great, but actually this might be a call for help... I have used Vim for a couple years I think, maybe more now and learned enough to write my own vimrc file from scratch, understanding all the parts I'm adding, what they do and why and sync it via version control etc etc. I use it on every server I administer/whenever I use the terminal. I've added m…

Generally I use screen (tmux can also work), and make each screen be titled to the file it has vim opened to. It's not a tree, but representing my files as a tree seems counter-productive to me -- I don't care where my files are, just what they are.

Re: Vim plugins and config walkthrough

#19

Well, in every blogpost about a editor or IDE there's gotta be someone who starts a flamewar. It's my turn I guess. I am a diehard Vimmer. I use Vi bindings system-wide. I've been using Vim for many years. Yet one day I woke up and I realized - Emacs is better Vim than Vim. Vimmers, if you think I'm trolling, try Spacemacs for yourselves. I guarantee - you'd be amazed.

I'm sorry, but that's not objective. Some people may prefer emacs, others may prefer vim, others may prefer notepad++ or intellij. And by saying things like this or responding them, you're just feeding the fire. Just let people use what they want.
Post reply on HN