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.
Questions tagged [terminal]
450 questions
11
votes
1 answer
What's t_TE and t_TI added by vim 8?
First let me show a screenshot below.
In the modeline, a strange sequence of characters(>4;m[>4;m
HQW.ang
- 113
- 1
- 6
8
votes
3 answers
how to change local directory of terminal buffer whenever its shell change directory
After :term ++curwin zsh, I use that buffer as an alternative of tmux window.
But there is one caveat, if I cd in zsh, vim will not know.
Which cause problem in below case
In terminal normal mode, gf will not work correctly, since vim don't know zsh…
qeatzy
- 960
- 9
- 18
7
votes
4 answers
Clear Vim Terminal window
Vim's new :terminal feature is pretty neat, but when I run something like a rails server, I want to be able to clear logging output every now and then.
The usual methods in a non-vim term window don't seem to work, like (Cmd-k clears…
Wumbo
- 157
- 1
- 9
6
votes
1 answer
Is it possible to change the default terminal of Vim?
I'd like to change the default terminal of Vim from cmd to cmder. By using :help :terminal I have read the terminal.txt but it seems that there is no setting instruction in that help file.
So is it likely to change the default terminal of vim by…
TizeeU0U
- 163
- 1
- 1
- 5
5
votes
1 answer
set -o vi in zsh: backspace doesn't delete non-inserted characters
I've used set -o vi on bash for a while.
However, I've started using zsh, and I've found that when I try to use the "delete" key (backspace for mac), it doesn't delete non-inserted text.
For instance: I can delete anything I've typed that using…
ppwc
- 53
- 2
4
votes
3 answers
search for sentences that contains a few keywords (that is not in proper order)
Is there script or function for vim to do search of words that is not in proper location (sorry, i don't know how to put it in question) ?
Example:
This is a vim user who like the functionality which is pure manual power.
Question:
I want to search…
andrew_ysk
- 389
- 2
- 12
3
votes
0 answers
Double SSH on Vim
I can edit remotely a file located on Machine_1 using
vim name@Machine_1/file_1.txt
It uses my .vimrc, plugins and everything is great. However, there is also a Machine_2 in the history, that can only be accessed through Machine_1...
I can edit the…
Xaphanius
- 139
- 3
3
votes
0 answers
Mouse highlight lines issue, root cause of data deletion / messed up
[https://gofile.io/d/zA8QPs]video of vim highlight issue1
I like vim a lot, the stability is wonderful.. However there is 1 protection feature that i need to have most.
I am used to use vim with both mouse and keyboard (i found it is beneficial to…
purityKEF
- 33
- 6
3
votes
1 answer
Open two terminal windows side by side
If I am in Bash and type
vim -O file1 file2
I will get two files opened side by side.
How can I get a similar effect but for :terminal windows, not for files?
matcheek
- 133
- 3
3
votes
1 answer
Opening a terminal window and executing the cd command
In my current vim session, I would like to open a new terminal window and immediately execute the cd command in that terminal to change to a specific directory. I have tried
:terminal cd /home/me/folder
But this does not work, and gives me the…
James Hungerford
- 31
- 2
3
votes
1 answer
Vim 8 terminal change width
Suppose I run
:terminal someprg_wide_output
the output is wrapped by current terminal window size wrapped hard way, so :set nowrap there can't help
When I run same program not from vim like this:
someprg_wide_output | vim -
vim accepts the…
Tag Wint
- 213
- 1
- 6
3
votes
0 answers
How to detect terminal enter in vim8
Vim8 now has a terminal feature, how can I detect when a terminal is started?
Neovim has TermOpen and TermClose autocommand events, does vim8 has an equivalent?
tracyone
- 345
- 1
- 6
2
votes
1 answer
Vim in Termite with Default Backgroundcolor not displaying ColorColumn ctermbg=0
I am currently setting up vim, for the first time. I'm on Arch and i3, fresh install.
I installed termite as my default terminal emulator. I also tried st. Now st had a black background by default but termite had a greyish background. I guess, it's…
xotix
- 143
- 3
2
votes
3 answers
Switching between terminal and vim for a touch-typist
I recently got into touch-typing as I thought it might help me in my work and increase my productivity (I am currently a programmer, sometimes editing text files). Oftentimes I find myself switching from vim to terminal to run a command or open a…
Alex Gh
- 23
- 2
2
votes
0 answers
How does vim terminal talk to the root terminal emulator?
I use vterm to denote terminal inside vim, rterm to denote root terminal emulator in this post:
rterm--->vim--->vterm
Question1
All rendition is done by rterm? All escape sequence and text must be sent to rterm?
Question2
How does vterm talk to…
dedowsdi
- 6,248
- 1
- 18
- 31