Questions tagged [iterm2]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
30 views

In nvim, can I map Tab without removing <C-i> as `jump forward`?

I've been mapping all my telescope commands to tab-<key>, which is quite convenient. However I've noticed that its broken the default shortcut for navigating forwards through the jump list, ...
user avatar
  • 153
0 votes
1 answer
36 views

neovim receives unwanted characters (mac/iterm2)

I am trying to set up neovim on my mac. Using iterm2 and having installed nvim through homebrew. When I launch nvim from my fish shell, it immediately shows 112 q112 q on the last line. This does ...
user avatar
3 votes
0 answers
282 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 ...
user avatar
  • 133
0 votes
0 answers
66 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 ...
user avatar
0 votes
0 answers
27 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&...
user avatar
  • 442
0 votes
1 answer
187 views

Use true Solarized colors from within tmux in iTerm2

How can I use vim (8.2) within a tmux session in iTerm2, with Solarized colors? I have the Solarized colors set with my terminal, as suggested in the docs for vim solarized colors plugin. When I call ...
user avatar
0 votes
1 answer
54 views

Weird powerline symbol background in iterm2

I am experiencing a weird background color of powerline symbol in iterm2, it doesn't match with that of status bar. however, in alacritty, the background color are matched. In iterm2: In alacritty: ...
user avatar
  • 127
2 votes
0 answers
47 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 ....
user avatar
  • 295
1 vote
1 answer
245 views

How do I get the Commands line in the absolute bottom of the screen

I'm setting up neovim and I can't seem to use the screen fully. This is how the terminal looks when I open neovim in either Terminal App, iTerm 2 or Alacrity. There is a whole empty like below where ...
user avatar
  • 113
2 votes
1 answer
236 views

:terminal colorscheme inside Vim is different from either Vim or Host Terminal

I have a gruvbox theme applied to Vim inside my vimrc. The problem is that when I run the :terminal command inside Vim the colorscheme is different from either the Vim theme or the terminal emulator's ...
user avatar
2 votes
1 answer
222 views

Can't Copy Non-ASCII Characters

I can't copy Non-ASCII charaters from Neovim anymore when I select them with mouse or crtl + v. For example, I have the Turkish word Bankası written in my editor. When I yank and paste it to somewhere ...
user avatar
  • 295
1 vote
1 answer
3k views

changing cursor to block in insert mode on Neovim

I am a new neovim user. I am currently on MacOS, and using iTerm as my terminal emulator. I am using Neovim 0.4.3. I would like to configure my neovim in such a way that the cursor in insert mode is ...
user avatar
  • 119
1 vote
1 answer
87 views

Setting to prevent <c-h> to erase text

I have a map which allows me to navigate with hjkl in insert mode: " In insert or command mode, move normally by using Ctrl inoremap <C-h> <Left> inoremap <C-j> <Down> ...
user avatar
0 votes
1 answer
315 views

Whats the benefit of using :term inside Vim compared to a separate terminal emulator app?

I am using iTerm2, which is working well for me. I've been using VIM for almost 2 years now, with MacVim. Then suddenly I became curious whether my coding experience will improve when I use terminal ...
user avatar
  • 103
1 vote
0 answers
549 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 ...
user avatar
  • 1,144
1 vote
1 answer
4k views

Why can't I install this colorscheme properly?

I'm trying to install this colorscheme. They instructed to use a package manager so I've used vim-plugged: Plug 'rakr/vim-one' While my colours on vim did change, it really does not look like the ...
user avatar
  • 145
2 votes
1 answer
247 views

Vim color black isn't black

I have the following text in my ~/.vimrc: syntax on colorscheme koehler highlight ErrorMsg ctermbg=Red ctermfg=Black however the error messages show like this: The error message is gray on red, not ...
user avatar
2 votes
0 answers
58 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 ...
user avatar
1 vote
0 answers
409 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 ...
user avatar
2 votes
0 answers
83 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 ...
user avatar
  • 121
1 vote
0 answers
2k views

Cannot type backslash (\) in Vim [closed]

I am starting to work with vim in iterm2 on macOS. Whenever I am in insert mode and try to type a backslash, the cursor jumps to the buttom of the Terminal-window and a forward slash appears. I have ...
user avatar
0 votes
1 answer
49 views

Unexpected characters injected when copying from clipboard to vim in terminal

I'm using OS X 10.14/Vim 8.0.1283 and iTerm2. Every time when I'm copying things from clipboard to terminal, in specific iTerm2, there will be some unexpected characters injected in. Say I'm copying ...
user avatar
  • 155
5 votes
2 answers
1k views

How to force vimtex to display \textbf and \textit in insert/normal mode? [duplicate]

When I add \textbf{} or \textit{} before a word in vimtex the terminal shows the word but strangely hides the commands. I can only see them in the visual mode (see pictures below). Is there a way to ...
user avatar
0 votes
1 answer
240 views

vim is messed up in iterm

I installed both mvim(macvim) and vim through brew. vim was installed using "brew install vim " (with python3, doesn't matter ). The OS is High Sierra. While mvim is completely fine, vim is ...
user avatar
  • 1,144
4 votes
2 answers
6k views

Neovim Gray Background

Problem Anytime I switch to a colorscheme the background turns this ugly gray that gives everything a washed out look. Why does this happen, and how can I prevent it? Example screenshot— More ...
user avatar
  • 161
1 vote
1 answer
640 views

Why some information can't been shown at status bar with iTerm2?

Installed vim with SpaceVim on macOS. When ran vim in the iTerm2 terminal, the information can't been shown rightly at status bar. Much of them been shown as ?. Why?
user avatar
  • 121
0 votes
1 answer
4k views

E488: Trailing Characters error after attempting to install vim-hybrid

So I'm trying to use Vim-Hybrid as my native Vim theme but I've been running into a couple issues with it. Everytime I run the vim command now, I've been receiving the following error message: E488: ...
user avatar
1 vote
2 answers
4k views

Changing colorscheme does not change text color?

I am new to vim and am trying to set a colorscheme. However, for both pre-installed and new colorschemes, the only thing that happens when I change the colorscheme is the background color changes. For ...
user avatar
4 votes
2 answers
2k views

Pasting from cliboard in osx returns ^M instead of newline

I'm having a problem with pasting on MacOS Sierra. When I copy text with newlines, I can paste it in a terminal without issue. e.g.: Text to be copied: echo 'Foo' echo 'Bar' result from terminal (...
user avatar
  • 143
2 votes
1 answer
207 views

Some umlauts and extended Latin characters are shown as fullwidth

In Vim, I find each of ü and ß takes up fullwidth, i.e. twice as fat as ASCII characters. I am writing some German-learning notes, and find this to be very confusing, since I have been mistaken that ...
user avatar
0 votes
0 answers
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 ...
user avatar
  • 1,065
0 votes
1 answer
4k views

How to install base16 for iTerm2?

I'm new to iTerm and vim and have been trying to follow readme at: https://github.com/chriskempson/base16-shell to try to get a theme to work in iTerm2/vim. The theme will only run if I chmod it and ...
user avatar
  • 101
4 votes
1 answer
4k views

Truecolor (termguicolors) causes display issues in Tmux

As far as my setup is concerned, I'm running Tmux 2.2 (with true color support enabled) inside iTerm2 version 3 on a Mac. To clarify, there are other questions already answered which address ...
user avatar
  • 181
2 votes
0 answers
330 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:...
user avatar
  • 423
1 vote
0 answers
674 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 ...
user avatar
  • 111
0 votes
1 answer
671 views

vi or vim: Mac/Iterm 2 highlight-paste [closed]

When editing with Vim on Macbook Pro with Iterm2 interface I can copy text by highlighting text with left-button double click on mouse, paste text by pressing center wheel on mouse. Instead of (2) I ...
user avatar
  • 31
9 votes
1 answer
2k views

Mouse wheel scrolling inserts characters

I'm using macvim inside tmux inside iTerm2. Basically I just want to be able to scroll the buffer using the mousewheel. I've set set -g moude-mouse on in my .tmux.conf, and set mouse=a set ttymouse=...
user avatar
  • 393
1 vote
1 answer
355 views

How to let the cursor push the screen instead of the the screen drag the cursor when scrolling with the mouse?

How to let the cursor push the screen instead of the the screen drag the cursor when scrolling with the mouse? I switched to iterm 2 on osx, but in the regular osx terminal when i scroll the ...
user avatar
17 votes
8 answers
29k views

Trouble Using Color Scheme in NeoVim

I don't have a full understanding of how my color scheme is interacting with the term setting in vim and this is impeding my ability to get it to display correctly in neovim. In my .vimrc file, ...
user avatar
  • 183
1 vote
1 answer
2k views

Linespace in Vim using iTerm2

I am using Vim 7.4.488 in iTerm2. Currently I've configured the 'linespace' setting in iTerm2's preferences. However, I would like to set a different linespace for Vim. I know that :set linespace=1 ...
user avatar
  • 13