Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [iterm2]

The tag has no usage guidance.

1
vote
0answers
22 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 ...
0
votes
1answer
20 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 ...
2
votes
1answer
29 views

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

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 ...
0
votes
1answer
32 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 ...
3
votes
1answer
373 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 ...
1
vote
1answer
346 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?
0
votes
1answer
683 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: ...
1
vote
2answers
844 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 ...
5
votes
2answers
788 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 (...
3
votes
1answer
114 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 ...
0
votes
0answers
449 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 ...
0
votes
1answer
2k 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 ...
5
votes
1answer
3k 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 ...
2
votes
0answers
194 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
384 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
1answer
295 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 ...
5
votes
1answer
1k 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=...
1
vote
1answer
135 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 ...
15
votes
8answers
14k 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, ...
1
vote
1answer
996 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 ...