You are not logged in.

#1 2010-01-25 17:40:49

rent0n
Member
From: Italy
Registered: 2009-10-29
Posts: 457
Website

[Help] Setup a Vim-like desktop environment

Hi

The funny thing is that I don't know absolutely how to work with Vim, but I want to learn it by building a "desktop environment" based on vim and (mostly) on terminal apps that behave like Vim.
And of course I need the help of the Arch community! big_smile

Well first of all I probably need a good tutorial (except vimtutor) to start learning vim behaivour and keybindings: Have you got any suggestions?

Then I need ideas about software: of course I prefer to use stable, maintained and lightweight software that is in the repos, or at least in the AUR.
Following is my list: I will add your suggestions and clarify my choices here.
Help me to build my Vim-like-environment! tongue

Login Manager: none
Window Manager: i3
Editor: vim (of course)
Terminal: urxvtd + urxvtc
File Manager: vifm
Image Viewer: feh
Pdf Viewer: apvlv
Browser: uzbl-tabbed
Email Client: mutt
IRC: weechat
IM: bitlbee
Music: ncmpcpp
Video: mplayer
Network: netcfg

Have your say!

Last edited by rent0n (2010-04-13 21:15:35)


rent0n@deviantART | rent0n@bitbucket | rent0n@identi.ca | LRU #337812
aspire: Acer Aspire 5920 Arch Linux x86_64 | beetle: Gericom Beetle G733 Arch Linux i686

Offline

#2 2010-01-25 17:42:24

Gigamo
Member
Registered: 2008-01-19
Posts: 375

Re: [Help] Setup a Vim-like desktop environment

For music you could also try cmus. Sup is a nice email client alternative.

Last edited by Gigamo (2010-01-25 17:43:28)

Offline

#3 2010-01-25 18:24:48

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [Help] Setup a Vim-like desktop environment

http://www.viemu.com/a_vi_vim_graphical … orial.html
http://www.tuxfiles.org/linuxhelp/vimcheat.html

I'd just go for programs that allow you to define your own keybindings (use links above for reference/learning the commands). Although most of the programs that let you define your bindings don't always allow for "vim-like" actions. I guess it depends on how deep you want to delve into their code.. or how flexible they are on bindings. I'm quite content without having <everything> vim-like, because my keybindings get mixed up and I end up opening/closing/changing something else by accident. Although I am more comfortable with them.

Musca is a pretty good window manager, so is Ratpoison, and I think you can do about anything with Xmonad though I've never really tried.
I prefer Zathura for a pdf viewer.
For chatting I use "minbif" instead of bitblbee. I also use "ii" instead of irssi or weechat. http://nion.modprobe.de/blog/archives/4 … lient.html  awesome tutorial for using "ii". I changed a few things but this tutorial works for the most part.
For webbrowsing I use Surf with the help of "tabbed". In tabbed you can add/remove as much bindings/commands as you want. It's totally up to you, just like Uzbl, but Uzbl is more user-friendly when first installed.

Other than that, I don't know. I don't have much installed to use as comparison.

Last edited by milomouse (2010-01-25 18:26:29)

Offline

#4 2010-01-25 18:29:54

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,052

Re: [Help] Setup a Vim-like desktop environment

first of all, you can set the command line editing option in your .bashrc to "set -o vi". this will cause your command line to be editable using vim style editing.  as a browser, you could try vimprobable.  It's a super light weight browser with vim style navigation.

as far as a window manager goes, I would choose one that is highly configurable, and primarily keyboard driven.  take a look at some of the tiling window managers, I know xmonad can be configured to use whatever keybindings you want to code in and you could probably hack together some vim style key bindings pretty easily.  I also know that fluxbox has a pretty robust keybinding feature that you might also consider if you don't feel comfortable with a tiling window manager.

and here is a really great Vim tutorial, ftp://ftp.vim.org/pub/vim/doc/book/vimbook-OPL.pdf

Last edited by Cyrusm (2010-01-26 00:53:04)


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#5 2010-01-25 18:31:38

rson451
Member
From: Annapolis, MD USA
Registered: 2007-04-15
Posts: 1,233
Website

Re: [Help] Setup a Vim-like desktop environment

If you like how vim handles multiple windows, try a manual tiling window manager like ratpoison.  It splits window in a very similar fashion.


archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson

Offline

#6 2010-01-25 19:46:14

Cyrusm
Member
From: Bozeman, MT
Registered: 2007-11-15
Posts: 1,052

Re: [Help] Setup a Vim-like desktop environment

Cyrusm wrote:

first of all, you can set the command line editing option in your .bashrc to "set -o vi". this will cause your command line to be editable using vim style editing.  as a browser, you could try vimprobable.  It's a super light weight browser with vim style navigation.

as far as a window manager goes, I would choose one that is highly configurable, and primarily keyboard driven.  take a look at some of the tiling window managers, I know xmonad can be configured to use whatever keybindings you want to code in and you could probably hack together some vim style key bindings pretty easily.  I also know that fluxbox has a pretty robust keybinding feature that you might also consider if you don't feel comfortable with a tiling window manager.

and here is a really great Vim tutorial, ftp://ftp.vim.org/pub/vim/doc/book/vimbook-OPL.pdf

EDIT:  oh yeah, and play a bunch of nethack, it's the funnest way to develop vim muscle memory imho.

DOUBLE EDIT:  sorry for the repeat post, I accidentally hit the quote button. roll

Last edited by Cyrusm (2010-01-26 00:53:20)


Hofstadter's Law:
           It always takes longer than you expect, even when you take into account Hofstadter's Law.

Offline

#7 2010-01-25 20:19:07

JohannesSM64
Member
From: Norway
Registered: 2009-10-11
Posts: 623
Website

Re: [Help] Setup a Vim-like desktop environment

Vimprobable for browser.. Vimperator if you can't bear with the bugs.

Offline

#8 2010-01-25 21:58:06

thayer
Fellow
From: Vancouver, BC
Registered: 2007-05-20
Posts: 1,560
Website

Re: [Help] Setup a Vim-like desktop environment

JohannesSM64 wrote:

Vimprobable for browser.. Vimperator if you can't bear with the bugs.

...and KeySnail if you can't bear with vimperator's sluggishness of late.  I noticed vimperator development has ground to a halt since early December. 

Edit: nix that last bit, I see now that some commits have been made.

Last edited by thayer (2010-01-25 21:59:48)


thayer williams ~ cinderwick.ca

Offline

#9 2010-01-25 22:03:56

Dieter@be
Forum Fellow
From: Belgium
Registered: 2006-11-05
Posts: 1,959
Website

Re: [Help] Setup a Vim-like desktop environment

so, you want modal keybindings in your WM? you should be able to do that with wmii (but also with others, such as awesome)


< Daenyth> and he works prolifically
4 8 15 16 23 42

Offline

#10 2010-01-25 22:17:05

milomouse
Member
Registered: 2009-03-24
Posts: 940
Website

Re: [Help] Setup a Vim-like desktop environment

thayer wrote:
JohannesSM64 wrote:

Vimprobable for browser.. Vimperator if you can't bear with the bugs.

...and KeySnail if you can't bear with vimperator's sluggishness of late.  I noticed vimperator development has ground to a halt since early December. 

Edit: nix that last bit, I see now that some commits have been made.

Yeah, I'm stuck with KeySnail (although it's not horrible). Interestingly enough, without having Vimperator in Firefox I don't want to use it anymore. That's why I'm using Surf and (mostly) w3m for browsing, but when I have important sites to visit I have to use Firefox for all the security addons I installed.

Offline

#11 2010-01-25 22:25:04

mikesd
Member
From: Australia
Registered: 2008-02-01
Posts: 785
Website

Re: [Help] Setup a Vim-like desktop environment

rent0n wrote:

<snip>
Login Manager: none
<snip>

I used to use slim and before that xdm but now use this since I found it on the forums:

# .bash_profile

. $HOME/.bashrc

if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
    exec startx
fi

Offline

#12 2010-01-26 00:55:43

elric
Member
Registered: 2010-01-14
Posts: 22

Re: [Help] Setup a Vim-like desktop environment

As an email client, I'll go for Mutt. You can customize all keybindings to be Vim-like.
Besides, it's common, so there a lot of muttrc's hanging around with such configuration,
and you get to use vim as editor for mailing.

Offline

#13 2010-01-26 13:00:52

Rockwolf
Member
Registered: 2008-10-04
Posts: 10

Re: [Help] Setup a Vim-like desktop environment

Login Manager: none
=> I don't use one either
Window Manager: wmii (never used one, this one has my vote for now. Feel free to suggest others.)
=> I use dwm, but that's probably just a matter of preference. They behave in the same way.
Editor: vim (of course)
=> Vim here too.
Terminal: urxvt
=> I use urxvtd (daemon) and connect with urxvtc (clients) This saves resources if you open up a lot of terminals.
File Manager: vifm
=> I got hooked to Midnight Commander. Tried vifm, but I never really got into it as much as I did in MC. But no vi keybindings in MC and that has been bothering me since the beginning... MC with vi keybindings would be the perfect filemanager though.
Image Viewer: feh
=> I use this one too.
Pdf Viewer: apvlv
=> Didn't know about this one! Thanks! smile
Browser: vimperator? uzbl? vimprobable? surf?
=> I use vimperator. Uzbl is too unusable without a lot of configuration and for surf I don't know wether it had vi keybindings. But I didn't know vimprobable and I will try it out when I get home! Thanks again. ^^
Email Client: muttator? mutt? (re)alpine? sup?
=> mutt here. It is great. I write gpg encrypted mail using vim, abook is used to import contacts.
IRC: weechat? irssi? ii?
IM: bitlbee? minbif?
=> Didn't know minbif, but I use irssi and bitlbee. It's cool.
Music: ncmpcpp? cmus? moc?
=> I use moc. It doesn't have vi keybindings though, but it's ui is simple and clean. I like it. You could also check out "herrie".
Video: mplayer
=> You don't need anything else. ^^

If you use mutt, I can also suggest Newsbeuter for RSS feeds, because it behaves just like mutt.

Last edited by Rockwolf (2010-01-26 13:02:01)

Offline

#14 2010-01-26 19:20:45

Kitty
Member
From: The Burning Desert
Registered: 2008-01-11
Posts: 88

Re: [Help] Setup a Vim-like desktop environment

I'd like to nominate scrotwm for WM. The keys to grow/shrink windows are Mod4+h/l big_smile

Sakura is my new fav term.


/etc/rc.d/ is where daemons reside. Beware.

Offline

#15 2010-02-05 14:17:48

Rockwolf
Member
Registered: 2008-10-04
Posts: 10

Re: [Help] Setup a Vim-like desktop environment

Oh, don't forget
rexima
as a sound mixer app.
It's simple, but uses vi-keybindings.

Offline

#16 2010-03-26 19:52:59

ivotron
Member
Registered: 2010-03-26
Posts: 2

Re: [Help] Setup a Vim-like desktop environment

I'd also add:
* Muttator
* Practical Music Search (mpd daemon)
* finch (IM)

Offline

#17 2010-03-26 20:00:43

hatten
Arch Linux f@h Team Member
From: Sweden, Borlange
Registered: 2009-02-23
Posts: 736

Re: [Help] Setup a Vim-like desktop environment

Everything's been said mostly, but zathura, uzbl, ratpoison, mplayer, irsii, feh. That's what I use here and it works excellent. I have even removed the right part of my keyboard >:D

Thanks a bunch for "set -o vi", it just made my life a lot easier, going trough history earlier was a hassle. Is it possible to edit the PS1 to indicate modes?

Offline

#18 2010-03-28 21:10:23

samuele.mattiuzzo
Member
From: Treviso, IT
Registered: 2009-10-12
Posts: 307
Website

Re: [Help] Setup a Vim-like desktop environment

Rockwolf wrote:

Window Manager: wmii (never used one, this one has my vote for now. Feel free to suggest others.)
=> I use dwm, but that's probably just a matter of preference. They behave in the same way.

they dont' quite behave the same way... dwm and awesome support multihead, so if you have multiple monitors you'll prefer dwm or awesome or xmonad over wmii smile if you need something easily configurable, wmii is better because of dwm's and awesome's lua config files (they're not hard, just a bit more complicated to understand)... about xmonad configuration i cannot tell since i never used it smile

i'm using awesome wink

Offline

#19 2010-03-28 21:26:17

ludovico
Member
From: Oslo, Norway
Registered: 2008-08-24
Posts: 75

Re: [Help] Setup a Vim-like desktop environment

samuele.mattiuzzo wrote:

if you need something easily configurable, wmii is better because of dwm's and awesome's lua config files (they're not hard, just a bit more complicated to understand)...

just a clarification: dwm is configured in its config.h file and recompiled. It's in C, not lua smile


Sin? What's all this about sin?

Offline

#20 2015-01-24 20:07:36

totalkrill
Member
Registered: 2013-09-01
Posts: 11

Re: [Help] Setup a Vim-like desktop environment

I want to necro this thread for 2 reasons. Is anyone still doing this? and Also, is there any new improvements on this subject? I am in a similar situation in 2015 and many of theese programs are still the same.

I am using i3
vimium for chrome
ranger for filemanager
searching for more programs, specially something like a telegram client.

Offline

Board footer

Powered by FluxBB