For that poster above, I've never understood the appeal of gvim or macvim, I am very happy with vim in a console (with tmux.) Perhaps there are some plugins that work better under (mac|g)vim.
316 karma · joined December 27, 2009
For that poster above, I've never understood the appeal of gvim or macvim, I am very happy with vim in a console (with tmux.) Perhaps there are some plugins that work better under (mac|g)vim.
Did you evaluate various languages before deciding to go with rust ?
> "Perl, I'm leaving you"
Dterm is also great (OSX only, i think). Can pop up a command line from anywhere and copy the results of a command easily. (Come to think of it, its not a terminal app, but terminal lovers should like it).
What good music players are there? I use cmus, but it does freeze after a day. Article mentions screen, but not tmux.
(I do notice that within tmux on iterm, i can use the mouse for selection (using Alt), but the mouse does not work in tmux in xterm.)
In zsh, you can type: "bindkey" to get a listing. IIRC, in bash it is "bind -p".
Control-q: push-line-or-edit -- this saves the current command without executing it, allows you to run another command, then puts back the saved command for you to edit/run.
Esc-A: accept-and-hold -- execute command and maintain cursor position, so you can edit command and re-run.
Esc-' : quote-line -- escapes the single quotes in a line.
Old Vim user here, who has used emacs mode since moving from ksh to bash for about 8-10 years. Recently, switched back to vi mode, however, I have mapped Ctrl-A, Ctrl-E and a few more so i can use them in vi mode too. e.g.
bindkey "^A" beginning-of-lineI was using NV, but the Find-Next feature stopped working from OSX Lion. I then renamed the file extensions to ".wiki". I used some perl scripts to remove the spaces in file names and camel-case them. Used "ls" to create an index page with links to each note. Now i can access my notes both through vim (using vimwiki) and through NV.
vimgrep and the ack plugin are good replacements for NV's search.
> ....0.osx/Textadept.app/Contents/Resources/core/file_io.lua:143: bad argument #1 to 'iconv' (string expected, got nil)
Open file (M-S-O) does nothing.
Tried C-u (snapopen) and get a similar iconv error:
> pt.app/Contents/Resources/modules/textadept/snapopen.lua:67: bad argument #1 to 'iconv' (string expected,
I am executing the textadept-ncurses.osx file. Thx. Please note that <backspace> is acting like a TAB but C-h is working correctly.
I tried loading HN in elinks, but the More button gives an error?
Strangely, I don't see a box to post. Only one or two posts have a "reply" link, so I had to use that.
Issue with shell scripts: commands have different options on BSD vs Linux. e.g. date. If I use coreutils packages, I don't know if other users (or my later installs) will have the "g" prefix.
Issue with ruby (I am a rubyist): 1.9 has broken most of my scripts due to the unicode string thing. Some scripts run as both a cronjob which runs a stock 1.8 ruby, and interactive (1.9) so that results in errors with string parsing.
Perl 5.x has remained the same over the years. Just comment your code enough. There's a perl power tools (ppt) project somewhere on sourceforge that might interest you. Python should be fine, too. I'll investigate these 2 shells you've mentioned.
Edit: homebrew supports scsh. you can try installing the brew. Had a look at both. Both are lispy. What is the benefit of something like scsh for scripting over zsh/bash ?
In addition, I found this:
vmap <C-c> "+yI'd have liked only yanked stuff going onto the clipboard, not deleted stuff.
One of them only shows buttons which you then have to click. The others are too complicated.
This was on HN a couple years back. http://news.ycombinator.com/item?id=1710702
Which files should I copy over, or compare and update once I install prezto ?
Also, they strongly recommended learning Emacs (I have been a Vim'mer for about 20 years, and I like keeping my Vim simple with only a few plugins).
Does one just jump into Clojure or how do you recommend it? If lisp/scheme first, then which one? Thx.
Could you tell me which lisp you are using? IIRC, there's SBCL and various others. Thanks for putting down the resources you are reading. Have you considered clojure or other alternatives? How did you decide on CL ?
I use escape codes a lot in projects that display tabular data on terminals (to highlight important info for example) so this was a major issue with me.
Lol, Linus uses micro-emacs. I like how the post seems serious to begin with, and then you realize it's made up.
1. I use the Alt-. (dot) to get last argument of previous command.
2. Getting output of previous command such as : `!!` (backtick !! backtick) for which I get a "no such file".
I asked on reddit, but got no replies. Thx.
Ruby has highline and colored, and perhaps some more too.
" Stop it, hash key.
inoremap # X<BS>#
I tried it too. It's in insert mode, so it types an X, backspaces and then types a '#'.