CaelNCSU All American 7080 Posts user info edit post |
Anyone use this or screen? I've been using it about 2 months for everything. I like being able to see multiple terminal panes at once. It's also nice that it keeps your state if your connection to a server dies. It's advantage over screen seems to be just the ease of config and that it can be used in vi or emacs mode for navigation.
http://en.wikipedia.org/wiki/Tmux 4/12/2013 1:56:13 PM |
smoothcrim Universal Magnetic! 18966 Posts user info edit post |
I use screen and hate vi and emacs with the fire of a 1000 suns so I have no issue 4/12/2013 4:33:35 PM |
CaelNCSU All American 7080 Posts user info edit post |
You don't like efficiently jumping around text and cutting it up like a ninja? 4/12/2013 9:36:00 PM |
smoothcrim Universal Magnetic! 18966 Posts user info edit post |
modal software is an abomination
[Edited on April 12, 2013 at 10:12 PM. Reason : http://en.wikipedia.org/wiki/Modeless] 4/12/2013 10:05:35 PM |
CaelNCSU All American 7080 Posts user info edit post |
I agree for most things, but I don't know how to get around it and still keep all the features you need in an editor.
http://stackoverflow.com/questions/1218390/what-is-your-most-productive-shortcut-with-vim
The "Zen" of vi is that you're speaking a language. The initial y is a verb. The statement yy is a synonym for y_. The y is doubled up to make it easier to type, since it is such a common operation.
This can also be expressed as dd P (delete the current line and paste a copy back into place; leaving a copy in the anonymous register as a side effect). The y and d "verbs" take any movement as their "subject." Thus yW is "yank from here (the cursor) to the end of the current/next (big) word" and y'a is "yank from here to the line containing the mark named 'a'." 4/12/2013 10:24:44 PM |
spöokyjon ℵ 18617 Posts user info edit post |
I use screen on a daily basis, but I don't fuck with vi or emacs because Sublime exists. 4/13/2013 12:51:46 AM |
smoothcrim Universal Magnetic! 18966 Posts user info edit post |
^ if you want all those silly shortcuts, use sublime. If I need to run a regex on my file, I'll close it and write a sed/awk/grep 1 liner. usually my code is written sanely where each operation or variable is written once, referenced many 4/13/2013 8:13:43 AM |
CaelNCSU All American 7080 Posts user info edit post |
I gave it a go about two years back. It's clearly easier to use if you've never used an editor with those features, but not quite as powerful, particularly with the regex substitutions. I work with people that use it, but none of them seem to use the features that makes it competitive. Besides it's not typically installed on remote systems like vim. In vim you can do :%s/foo/var/ and not have to close it. Or if you wanted to do something specific on the command line like run unit tests: ctrl+z make test && fg Which puts vim in the background, runs tests and reopens vim if they pass. 4/13/2013 11:07:05 AM |
BigMan157 no u 103354 Posts user info edit post |
yeah you can do a lot in vim if you've memorized all the gameshark codes 4/13/2013 11:46:46 AM |
CaelNCSU All American 7080 Posts user info edit post |
It's more analogous to memorizing an alphabet which then allows you to form words and sentences. Using it shouldn't be memorizing key sequences--it's not learning by rote like the Chinese alphabet. 4/13/2013 12:02:51 PM |