5 ms·
> Sublime text and jetbrains products have it down so well to the point of me not needing to memorize key shortcuts. Right, but you dont run things _inside_ su
by Galanwe 6y ago
> Sublime text and jetbrains products have it down so well to the point of me not needing to memorize key shortcuts.
Right, but you dont run things _inside_ sublime text. Keep in mind tmux has to play well with hundreds of existing shortcuts that people expect to work.
When you are attached to a tmux, you don't want to override the shortcuts of something you may run inside the tmux.
All the terminal shortcuts are expected to work (Ctrl-E, Ctrl-Arrow, Ctrl-A, Ctrl-E, Ctrl-E, Ctrl-Q, etc..).
All main program shortcuts are expected to work (vim, emacs, etc)
And of course not desirable to override screen shortcuts.
- wahern 6y agoI never used GNU screen as its command prefix, ctrl-k, conflicted w/ the command prefix for my preferred editor, JOE, and I was always too lazy to reconfigure the bindings. tmux uses ctrl-b by default, which smoothed the way to using tmux. I'm still too lazy to learn any tmux commands; the only one I know off-hand is ctrl-b-d, for detaching, which is sufficient for my needs. Scrolling is annoying in tmux sessions because I don't remember the commands, but I compensate by avoiding tmux when I might need the scroll buffer or by tee'ing output to temporary files.
- pwg 6y agoI just moved screen's command prefix to ctrl-j, for the same reason, it did not conflict with Joe (in JStar mode) command keys. That reconfiguration occurred very soon after I was introduced to screen, circa. 1993 or thereabouts.
- usr1106 6y agoI'm suprised anybody uses JOE as their preferred editor. I have never met anybody even mentioning it, but obviously people have different backgrounds. I've used Unix in the 1980s the first time and learned that whatever your preferred editor is, you need to know vi, because vi is always installed. That has been true in my experience with a single exception. In a recent embedded Linux I used they had only nano available. So what is the story behind JOE and what is good about it?
- chx 6y agowordstar. If you are used to wordstar, joe is a blessing. There are a few greybeards and I mean that literally who swear on WordStar, GRRM most famous of them but Robert J. Sawyer does too. So it's not unreasonable to think there are other, less famous people who still use it? and want to use an editor with the familiar keybindings. Not me. I am completely up to date with software and my favorite word processor is WordPerfect 5.1.
- liotier 6y agoAlso, Turbo Pascal 3.x's editor took Wordstar shortcuts. Only years later high school me only learnt that those strange ctrl-k commands were archeological artifacts...
- chx 6y agoI am ashamed but I forgot the Turbo Pascal hotkeys :( it's been ... a long , long time since I opened TURBO.COM. Some of these do fall out of memory. I once knew the full 300+ opcode list for the Z80 so I could read machine code and disassemble it in my head, now I only remember C9 being RET :( I blame high school, it was too intensive and it crowded this out of my head.
- nobleach 6y agoI launched it a couple of years ago to show my kids what I did as a kid. I had forgotten pretty much every bit of Pascal (and I actually wrote Object Pascal at the end of the 90s!) But all that writeln stuff has left my brain.
- pm215 6y agoI use JOE in its "emacs-ish keybindings" mode (which you get if you run it as 'jmacs') for small "just run an editor in a terminal to edit this config file" jobs. I wanted an editor which was fast to start up, terminal-based, and emacs-like, and this was the one I found 20 years ago. It's always been reliable and it's always been available as a Debian package, so I've never felt a need to look for something else. For long running edit sessions I use real emacs; I know you can set that up in a client-server arrangement to avoid the startup speed problem, but I never had the effort to investigate that; besides, sometimes you want to edit a file as root, who won't have a long-running emacs.
- devin 6y agoI think you mean ctrl-a for screen’s default leader. ctrl-b ? is helpful if you can’t remember the hot keys.
- andrewzah 6y agoPiping output to a file is much more preferable in my opinion, but you can access scrollback with ctrl-b [, then j/k for up down and ctrl-u/ctrl-d for jumping up/down.