Questions tagged [iterm2]

The tag has no usage guidance.

14 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
143 views

iTerm2 and VI key mappings

I am trying to use a few keys and key combinations with VI (VIM - Vi IMproved 8.2) running in iTerm2 3.4.15 with zsh on macOS Monterey 12.1 on the Apple M1 Max chip. So far, I tried to set ...
2
votes
0answers
45 views

Key Registration Problem

I have a problem that sometimes happens when I do type in Neovim. It does not register keys or mouse clicks correctly, which causes me to restart the iTerm session and rescue the working file with ....
2
votes
0answers
37 views

How to mimic Alt key functionality from ubuntu gnome to OSX iTerm2?

When I use Vim on my home Ubuntu computer, I am able to use alt-[key] as a quick way to jump from insert mode to normal mode and immediately run the [key] command. One thing I frequently do is: alt-j ...
2
votes
0answers
82 views

Using an iTerm color scheme inside a Vim :terminal window

My normal terminal color scheme is set via a color preset in iTerm. When I open a terminal window in Vim (:terminal) that color scheme doesn't get applied, presumably because Vim has no knowledge of ...
2
votes
0answers
318 views

Send SIGINT to iTerm from vim

I'm using vim-rspec on a mac with macvim and iterm. I'm using this command to clear the iTerm screen and run the test in iTerm. let g:rspec_command = "clear && rspec {spec}" let g:...
1
vote
0answers
352 views

In Vim, how to enable Meta in all keybindings?

In case it's relevant, this is on MacOS and iTerm. How do I use key mappings that involve the Meta key, e.g. <M-e>? For example, the auto-pairs plugin has a keybinding that allows you to ...
1
vote
0answers
666 views

Every line shows bold

Somehow every line in my Vim is bold. I'm using Consolas, which has a Bold typeface. Also, after leaving Vim, terminal is shown in Regular. The screenshot shows a small document that should have both ...
0
votes
0answers
39 views

How to change color of the text on statusline?

I use a airline for my nvim and vim config (share between both) and I want to change the font color of the status line. I tried using base16_solarized_light or dark but I don't like it and would like ...
0
votes
0answers
38 views

Open a file by dragging into NeoVim in Iterm

I want to open by dragging into NeoVim in Iterm2. I have seen :help drag-and-drop but it doesn't help at all. How can I open a file by dragging a file into NeoVim in Iterm2?
0
votes
0answers
23 views

Open a json file by clicking in NeoVim in Tmux in Iterm2

I want to open a json file in NeoVim in Tmux in Iterm2 by clicking it. I have tried some Apple Script to make an Automator but all those script is only open NeoVim in Iterm2. Is there any script that ...
0
votes
0answers
25 views

How may I setup a consistent shortcut to switch to the right pane, even the pane is in another Terminal?

I have 2 screens of difference sizes, and I am a Neovim user (with Tmux, iTerm2). I would like to hack a way so that I can have a consistent way to "switch to the pane on the right of this pane&...
0
votes
0answers
20 views

iterm2 vim closes after I run current (python) file

I am using iterm2 and enjoy using vim terminal vim within it. A really annoying issue i'm having is that when writing python .py files and compiling using commands like: :!python % The code compiles ...
0
votes
0answers
424 views

How to configure support for cmd key in terminal (neovim)

This question has been raised several times in several places. You can't map cmd out of the box when neovim is used in terminal. Most of the answers were you can't or try karabiner. There is this ...
0
votes
0answers
1k views

Vim bind ctrl arrow key not working on osx

I know they have many topics about that, but i no one of them works. My configuration worked before to switch between split window, but my session has been re-init and i lost my osx config and it's ...