Stack Exchange Network
Stack Exchange network consists of 181 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 [terminal]
A terminal emulator (or terminal, for short) displays characters, colours, and the cursor on the screen. Vi & Vim are run inside of a terminal, gVim is not.
At home I use iTerm2 on MacOS X, and at work, I have a laptop with CygWin. I have another PC where I use gnome-terminal or terminator, and sometimes I use tmux.
I'm looking to configure the cursor ...
Jun 29, 2015 at 6:46
This happens with either stock Yosemite terminal, or iterm2. When I exit vim, this is my terminal. As you can see, colors are messed up in my terminal after exiting vim and it doesn't come back ...
Jun 28, 2015 at 10:47
I using solarized in both terminal.app and vim, but in vim the background, airline and other things are not the color scheme's appearance which is different with MacVim.
So how to deal with it?
Jun 26, 2015 at 5:18
When I run vim in a win32 console window, after I exit I end up with a bunch of junk on the screen - old command output, etc, because cmd doesn't clear line contents when scrolling down. I've included ...
Jun 19, 2015 at 14:08
I tried mapping control-H, J, K, and L respectively in insert mode to move around splits.
inoremap <C-h> <ESC><C-W><C-h>i
inoremap <C-l> <ESC><C-W><C-l&...
Apr 29, 2015 at 12:06
I'm using (roughly) the same config for my mac and my ubuntu machine. I use
To conveniently share vim's clipboard with the system clipboard. However, lately the ...
Apr 27, 2015 at 6:57
I use a tiling window manager (awesome) + a terminal multiplexer (tmux) + splits inside of vim. I have no window decorations at all, so there is no visual split between them at all if the content of ...
Apr 15, 2015 at 10:07
When I used :silent to run a terminal command in the background, my vim screen goes blank, until I navigate through my code, at which point each line I move to reappears.
Apr 1, 2015 at 19:54
Why vim keep printing strange characters when I hit non-characters key?
Insert prints [2~
Delete prints [3~
Page Up prints [5~
Page Down prints [6~
Home prints OH
End prints OF
Arrow Up prints OA
Mar 31, 2015 at 19:05
Inside vim, I often use conque plugin, so I can run a bash shell inside a vim buffer. I also may try out VimShell soon.
In conque, lets say I start typing some bash command, and before I enter it, I ...
Mar 19, 2015 at 17:29
When gvim is opened it saves the cursor position whether it is minimized or not. So I'm curious whether it is possible to add a string starting from the cursor blinking position by running a shell ...
Mar 19, 2015 at 7:04
I've set up cygwin on my PC, now I want to configure vim to use solarized color scheme. I'm following the github page: https://github.com/altercation/vim-colors-solarized.
there's a section: ...
Mar 10, 2015 at 6:28
I am trying to map Ctrl+s to save my file however it does not work.
map <C-s> :w <CR> :echo "Saved" <CR>
imap <C-s> <Esc> :w <CR> :echo "Saved" <...
Mar 7, 2015 at 18:32
I am trying to map Cmd+Alt to start searching in vim (/). The only question is: how would I do this? I know to map Alt in vimscript is by typing <A> but I do not know how to do Cmd.
I also want ...
Mar 5, 2015 at 18:27
I'm trying to map Alt key in the following way:
:map <A-j> j
:map <A-k> k
but it doesn't work (bell is rang on Alt + j/Alt + k).
What am I missing?
I'm using Terminal on OSX, the same ...
Mar 3, 2015 at 21:48
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 ...
Mar 3, 2015 at 8:46
I am having a rough time getting the colors right with my vim setup and the color scheme I want to use.
iTerm2 (Set to report terminal type as "xterm-256color")
Mar 1, 2015 at 3:01
I imported the solarized colorscheme and palette. My terminal has the correct colors and background, gvim has the correct colors and background, but vim has an incorrectly colored background. The text ...
Feb 19, 2015 at 23:27
Is there any way to use a non-monospace font in either vim or gvim?
I tried changing the font for gVim with:
:set guifont=Dejavu\ Serif\ 12
But this gives me some rather ugly results:
I get the ...
Feb 7, 2015 at 18:29
Many CLI programs output nicely-highlighted text. While most of them check if the output is going to a file, some include the terminal escape codes. I like the output with the escape codes, but ...
Feb 6, 2015 at 0:59
If I do:
$ less file
And press q to exit less, I stil see the same text as I had on the screen when less was still running.
However, if I do
$ vim file
And :q, my terminal is blanked...
Feb 5, 2015 at 15:24
I've sometimes tried invoking Vim using xargs, like this:
find . -name '*.java' | xargs vim
… which kind of works:
As Vim launches, I see the following warning flash briefly:
Vim: Warning: Input ...
Feb 5, 2015 at 8:26
This only seems to happens when using vim inside of tmux. I'm also using iTerm 2.
If I create a new tmux pane or resize a tmux pane, it immediately looks like the this:
And then the only way to fix ...
Feb 4, 2015 at 3:44
I'm using Vim in a terminal, so scrolling with the scroll wheel uses the \e[A and \e[B syntax (where \e symbolizes \x1b, or escape).
However, Vim interprets this by moving the cursor up or down a ...
Feb 3, 2015 at 22:49
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only