TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Build an IDE with tmux and vim

91 pointsby ahalanabout 13 years ago

12 comments

briandollabout 13 years ago
One nit: "considering the loss of the convenience of mouse input"<p>You can get full mouse support in tmux/vim.<p>I recently read the tmux book by the pragmatic programmers and highly recommend it: <a href="http://pragprog.com/book/bhtmux/tmux" rel="nofollow">http://pragprog.com/book/bhtmux/tmux</a><p>It's short, well written and contains lots of essential configuration tips to get not only mouse support but also system copy/paste on a mac. Here's my tmux.conf if you're curious: <a href="https://github.com/briandoll/dotfiles/blob/master/tmux.conf" rel="nofollow">https://github.com/briandoll/dotfiles/blob/master/tmux.conf</a>
评论 #3721978 未加载
评论 #3731920 未加载
exDM69about 13 years ago
I do something similar but instead of tmux in a terminal, I use a tiling window manager (called awesome) to achieve a similar user experience but with all GUI windows instead of only terminal windows. (it's not a daemon like tmux, though).<p>This way, I can also get a browser window in the mix too, or any other windowed application. I also prefer using gvim and not console vim, because I can have a different coding font and drag and drop files from my version control GUI (an enterprise VCS with a really crappy CLI, guess which one).<p>Switching to a tiling window manager is perhaps the best productivity booster I've had. It even allowed me to start working comfortably with one display only or a laptop display, I've always used multiple displays before.
评论 #3723250 未加载
luser001about 13 years ago
I do this. Vim + tmux rocks.<p>One tip that Works For Me (tm) is to map the rarely-used function keys to pane and window selection commands (I hate multi-key commands :))<p>I've got F1/F2 mapped to cycle through panes, and F3/F4 to cycle through windows, F5/F6 to split windows, F7/F8 to resize panes, and F9 to open a new window.<p>Also, I always run my tmux terminal fullscreen and without the menubar.<p>YMMV.
评论 #3723348 未加载
sikhnerdabout 13 years ago
I have been using tmux + vim as my primary mode of work for quite some time now, and as time has gone on my productivity has markedly increased as a result. I don't think I could ever go back to a workflow that required me to use a mouse or be away from all of the standard linux utilities and pipes.
jeybalachandranabout 13 years ago
I used to do the same, recently I switched to MacVim. I found using Vim in Terminal/iTerm2 slowed down drastically after I worked with it for 10-15 minutes. Opening a file would take 1-1.5s, compared to MacVim which was instantaneous. I thought it was tied to a plugin, tried going barebones and still the same problem. (Although removing vim-rails sped it up a tiny bit.) Unable to diagnose it any further, I had to switch to MacVim.<p>Anyone else had similar problems and managed to resolve? Here is my dotfiles if you're curious <a href="https://github.com/jeyb/dotfiles" rel="nofollow">https://github.com/jeyb/dotfiles</a>.
adam_albrechtabout 13 years ago
This is an honest question from someone with 0 experience with TMux. What benefit does it give me over using split windows within iTerm?
评论 #3722951 未加载
评论 #3722534 未加载
momo-reinaabout 13 years ago
honest question... but how is this different from running an emacs server with split windows/buffers plus a console emulator that supports multiple sessions?<p>ex. i use yakuake (KDE) with three sessions. one with an emacs buffer and the CLI, one session dedicated to wanderlust, and one running erc. if i do some dev work i just add another session and fire up emacsclient to connect to the running emacs instance. this can be adopted for use in a server environment, you just ssh in and hit 'emacsclient' to connect to emacs instance. screenshots: <a href="https://plus.google.com/photos/111355179120790769944/albums/5721561914598066785?authkey=CPvdxZiGxuavGg" rel="nofollow">https://plus.google.com/photos/111355179120790769944/albums/...</a>
评论 #3723474 未加载
swahabout 13 years ago
If you run them in Putty fullscreen folks don't even have to know you use Windows!
petepeteabout 13 years ago
I've been using tmux for the last year or so, and feel lost developing without it; I use tmuxinator and have it open tabs called editor, shell, vm, db, logs, scm (with a slightly different setup per project) and it works fantastically.<p><a href="https://github.com/aziz/tmuxinator" rel="nofollow">https://github.com/aziz/tmuxinator</a>
jakejakeabout 13 years ago
Two things that I really like about my IDE is the project file explorer and working on multiple files using tabs. Part of that is not just the quick access, but visually seeing what I have open. Are there equivalents for those things with the tmux/vim setup?
评论 #3722006 未加载
hm8about 13 years ago
I might be attracting a lot of heat towards me but can somebody post something similar about emacs as well. I had seen one of my friend doing it once but it didn't work very well and I was pretty unfamiliar to linux at that point of time.
AjithAntonyabout 13 years ago
Other than the vertical split, does tmux do anything that GNU screen can't do? I find screen is more readily available on a wide variety of systems.
评论 #3722959 未加载
评论 #3724787 未加载
评论 #3722946 未加载
评论 #3723427 未加载