Questions tagged [iterm2]

`iterm2` is a GPL terminal emulator available on macOS.

859 questions
0
votes
1 answer

Trouble setting non-admin user's shell to fish in OS X

It was recommend that I post here because the fish maintainer is active on overflow. I am struggling to install the fish shell on OS X El Capitan. My user structure is setup so I have an administrator account and a standard account. The standard…
badfilms
  • 4,317
  • 1
  • 18
  • 31
0
votes
1 answer

vim using iterm2 cannot use colorscheme

So I am trying to get colorscheme support in iterm2 on my mac. When I :colorscheme solarized this is what my screen looks like Here is my main .vimrc set nocompatible let mapleader = "," set backspace=2 set nobackup set nowritebackup set…
jrock2004
  • 3,229
  • 5
  • 40
  • 73
0
votes
1 answer

iTerm2 tabs don't start different terminal session

I've installed iTerm2 on all of my computers (OS X). On each of them, when I hit cmdt, a new tab opens and I get a new session... except for one of them. On this one, when I hit cmdt, a new tab opens, but it's the same session. Anything I do in one…
threejeez
  • 2,314
  • 6
  • 30
  • 51
0
votes
1 answer

Remove current directory if in Git repo

I am using the Agnoster theme with Oh-my-zsh in iTerm2. Is it possible to hide the current directory if you're in a Git repo to avoid needless duplication, if so how? Here is a gist of my zsh setup Interestingly, the actual Agnoster theme…
jshjohnson
  • 157
  • 4
  • 16
0
votes
1 answer

Calling AppleScript handler from tell block

I'm trying to call a function/handler from a tell block, but AppleScript keeps throwing an error: Result: error "AppleEvent handler failed." number -10000 The script fails where I'm calling start_varnish(): tell application "System Events" set…
josef.van.niekerk
  • 11,941
  • 20
  • 97
  • 157
0
votes
0 answers

How to connect 'localhost' in Iterm2

How are you doing? I am working on, actually learning how to use Ruby on rails. And I've faced seemingly pretty easy one problem, which is connecting Localhost in Iterm(terminal) on Mac. Since I've been using ROR on AWS server and edited code using…
0
votes
3 answers

Read only for open directories in vim

Then I open vim from terminal and open an directory like vim ., my starts in Read Only Mode. I cant figure out why this happen and how I can change it. If I start MacVim everything is fine. But then I start vim from the terminal and open a…
DenicioCode
  • 8,668
  • 4
  • 18
  • 33
0
votes
1 answer

Is there a way to edit files from remote SSH servers with a local editor?

I am wondering if anyone implemented a transparent way of editing text files locally. As SSH supports SCP it means that it should be able to have a smart terminal which would be able to allow you to use a local editor to edit a remote file. I am…
sorin
  • 161,544
  • 178
  • 535
  • 806
0
votes
1 answer

Need OSX terminal application that can save file as non-binary

I am currently using Sublime Text 3 and iTerm2. Whenever I save a log from iTerm2, it contains characters that indicate things like backspaces and such. These characters make the file non-searchable (with find in files) in Sublime. Is anyone…
mergleh
  • 21
  • 1
0
votes
1 answer

my Italic font vim iTerm2 on mac not working

I am having trouble implementing italic style in my Vim under iTerm2 on OS X Yosimite. I did the step-by-step from https://alexpearce.me/2014/05/italics-in-iterm2-vim-tmux/ and my iTerm is able to render italic. But my Vim still not working. I've…
helman
  • 56
  • 7
0
votes
2 answers

How to find the correct combination for a key's ESC sequence in iTerm2

I have been trying to fix a terminal emulator behaviour in a situation where MacVim is running in iTerm2. I have the following key combinations assigned to individual actions in my Vim setup: F10, action_A CTRL-F10, action_B SHIFT-F10,…
mbilyanov
  • 2,315
  • 4
  • 29
  • 49
0
votes
0 answers

Pasting a large chunk of code to tmux on Mac OSX

Suppose I open a python on tmux. If I paste a large chunk of code which involves some delays and print statements, tmux will return some random rubbish to me. For example, if I copy the following code (please manually to repeat the middle…
Randy Lai
  • 3,084
  • 2
  • 22
  • 23
0
votes
1 answer

Ctags doesn't display line number with iterm2

I switched to iterm2 on my Mac last week. However I found there was an issue when I used cscope with iterm2. The following is the screenshot of the good and bad case. Good case: Use cscope with Mac default terminal Bad Case: Use cscope with iterm2…
Zack
  • 1,205
  • 2
  • 14
  • 38
0
votes
1 answer

Is it possible to change style of an SSH pane in iTerm2 with zsh?

I am using iTerm2 and zsh on my mac. I'd like to be able to easily differentiate between which panes are ssh'd and which ones are local. It'd be awesome if I could change the colors for these different cases. Is this possible?
johncorser
  • 9,262
  • 17
  • 57
  • 102
0
votes
1 answer

Fish shell ESC/META keybinding with iterm2 on os x yosemite

How can I use emacs style forward/back word jumping in fish using ESC/META? In the fish shell, I tried the following w/ no effect. bind \eb prevd-or-backward-word
samesense
  • 35
  • 2