8
votes
2answers
338 views

How to display the name of file which I am currently editing with vim on terminal title?

I am editing multiple files located in the same folder, in multiple tabs, on a single terminal. pwd(directory in which I am currently working) is displayed on the top of the heading of the terminal, ...
0
votes
0answers
28 views

Bold colors not matching text

On Ubuntu 13.10 I have my terminal profile preference checked to have bold color Same as text color. Yet when I run a script to check my colors I get the following output: This is really throwing ...
2
votes
2answers
2k views

Unable to copy from vim to system clipboard

As said in the title I am unable to copy from vim to system clipboard. Viceversa works, copying from outside vim and pasting with p is ok. I have installed clipboard support, vim version is 7.3.429: ...
3
votes
1answer
245 views

How to map Ctrl+S in vim on gnome-terminal?

I'm using Ubuntu 12.04 and gnome-terminal 3.4.1.1, and I'm trying to map ctrl + s to :update in vim. I added this to my vimrc: map <C-s> :update<CR> I also tried adding this to my ...
0
votes
1answer
79 views

vim and consolle in the same terminal tab

i'm not an experienced programmer but i'd like to become, one day : ) i've seen a video in which a programmer is using a vim session with 2 tab (and i know how to do, with :vsplit) and another ...
2
votes
0answers
112 views

terminal vim colours broken on focuslost

My vim setup uses the csexact plugin to fix match the colors for color schemes that would normally only work in gvim. Everything works fine until gnome-terminal loses focus, and suddenly everything ...
2
votes
1answer
201 views

How can I test if a variable matches another value and move to another function?

I am writing a script where I store a predetermined line of text into a string (we will call abc). I am storing the results from grep -iqs $USER file (we will call def) into another string. How can ...
4
votes
3answers
822 views

Gnome-terminal + Vim and CTRL-Shift mappings

Is it possible to map sequence with CTRL-Shift in gnome-terminal? I'm trying to add mappings: map <C-S-[> gT map <C-S-]> gt And it's not working. How to do that? Somehow I mapped ...
4
votes
1answer
2k views

How to store my gnome terminal color palette

I use terminal and vim extensively, while writing code. I have created a color palette which is based on readability and easy-use with an autocomplete plugin(obtain plugins from Pydiction : ...
5
votes
3answers
3k views

How to remove gVim's fat bottom border? (and resize grip)

So my gVim has this annoying bottom border: I wish it didn't and looked more like gnome-terminal for example: Is there any way for gVim to look like that? UPDATE: There is! Here's a screenshot ...
3
votes
1answer
2k views

How to make cursor change from thin line to block based on normal or insert mode in Console Vim on Gnome Terminal

I am switching from Gvim to using Console Vim using the Gnome Terminal 2.32.1. I really liked in Gvim how the cursor would be a solid square when in normal mode and thin line when in insert mode. ...
3
votes
1answer
2k views

Entering “vi mode” in gnome-terminal

I use ssh -X user@IP to connect to an Ubuntu Server which has had gnome-terminal installed on it. When inside gnome-terminal, occasionally I accidentally hit a key combination and the terminal ...