0
votes
2answers
44 views

How to exit VIM and get back to 'normal' terminal?

I did find this answer here: Vim Stuck In Insert Mode However none of the commands listed worked for me. Exit, cntrl + [, cntrl + q I'm a totally terminal newb, trying to learn how to setup git ...
1
vote
1answer
25 views

Font characters change to gibberish sporadically in vim

I use vim on a Mac in iTerm2 (ie - not MacVIM) and within a tmux session. I have powerline installed, so that's something to keep in mind. Sometimes, when I'm typing in a particular file, for some ...
2
votes
1answer
48 views

why won't tmux resize terminal window to honor vi lines setting?

Say I open a terminal $ echo $LINES 25 $ vi :set lines? 25 :set lines=50 :!echo $LINES 50 -as I'd expect (and the terminal window resizes and everything works). But if I start tmux from a fresh ...
0
votes
2answers
45 views

iTerm minimizes when I press ESC

When I press ESC in VIm insert mode, instead of going back to control mode, my iTerm minimizes and does not go back to control mode, but it stucks in insert mode. I am using Vim 7.3 that came with ...
0
votes
2answers
56 views

Git for Windows: Run vim in background without ampersand (&)

On my Windows machine, running gVim appears to tie up the git for windows shell, whereas if I run from the command prompt, this is not the case. How might I be able to run gVim (or any other program, ...
1
vote
1answer
80 views

VIM UI language issue

I am using VIM for a while, but never faces such a problem. When i connect to my desktop Ubuntu PC via ssh from a tablet (Asus tf Prime) using terminal emulator (screen-256-colors) I got my vim in ...
2
votes
2answers
96 views

Vim + iTerm2 color issues

I have trouble with the right Vim configuration. I'm using the latest version of Vim as well as the latest version of iTerm2. I try to get the solarized colorscheme working, but without luck so far. ...
1
vote
3answers
91 views

vim paste from clipboard in terminal

I'm trying to write an insert mode mapping for pasting from the system clipboard. I have this: imap <c-p> <c-o>:set paste<cr><c-r><c-r>+<c-o>:set nopaste<cr> ...
0
votes
0answers
57 views

Vim plugins not working on Mac OS X in terminal?

I am trying to use the EasyMotion plugin in vim but for some reason it's not working. I remapped my leader key to , but whenever I press ,w, it just moves forward one word i.e. it seems like it's not ...
0
votes
1answer
123 views

How to open a file with write access on OSX terminal?

I am trying to open private/etc/php.ini.default file to add detect_unicode = Off. But after opening above file with this command vim php.ini.default, it only opens this file as readonly. How can I ...
0
votes
1answer
78 views

Console disable Vim color scheme (ctrl+alt+F1…)

I don't know exactly how is named all the ctrl+alt+F1, ctrl+alt+F2, ctrl+alt+F3 etc... terminals but when I'm going to use it all my Vim scheme is ignored... I made it following this website: ...
2
votes
1answer
53 views

Vim shortcut in Terminal

In vim I have jj bound to go to normal mode: inoremap jj <ESC> I changed Terminal to vi mode in ~/.bash_profile, but how can I set up the same binding? This doesn't work unfortunately: bind ...
0
votes
1answer
57 views

Close vim window in terminal

I am using vim within a terminal. Whenever I close vim (using :q), the windows stay in the buffer of the terminal. I can type commands, but I still see the text that I was editing. I don't know how to ...
0
votes
0answers
111 views

Making Connectbot behave with an external keyboard?

I have a "weird" setup consisting of a Nexus 10 tablet and an apple wireless keyboard (English International). When using the two together, I cannot use the Escape key within ConnectBot, and I cannot ...
0
votes
2answers
203 views

Best console based text editor not only for programmers [closed]

I need console based text editor for writing both source codes and human readable texts such as emails. I need it to be user friendly. It mean for me: You can use it the same way as the notepad or ...
1
vote
2answers
253 views

Which is the correct way to config the $TERM and tmux?

I am using gnome-terminal with bash. When I set xterm-256color for $TERM and in .tmux.conf most of the things work but when I try to change the colorscheme of vim the things mess up. When I set ...
1
vote
0answers
171 views

Weird rendering artefact in vim (terminal, not MacVim)

Running Mac OS X, using either Terminal.app or iTerm2, there is a strange artefact with the character rendering that I have a hard time explaining and an even harder time understanding. I'll start ...
4
votes
2answers
414 views

tmux / vim split panes

I am borrowing this screenshot from another question: The terminal background seems to leak through into vim left of the dividing border. This is most noticeable near Top. Can anyone tell me ...
1
vote
0answers
309 views

Encoding over SSH Issues

I have a Linux machine and a Windows machine, both using Vim with the Powerline plugin. They both work great with patched fonts. Next, I want to SSH onto an OSX 10.6 machine and also use the Powerline ...
0
votes
1answer
204 views

Why does gnome-terminal display a unicode escape character?

More specifically, in Vim if I press escape twice (and under some other circumstances too) I get this character appearing: http://www.fileformat.info/info/unicode/char/1b/index.htm It can be ...
1
vote
4answers
515 views

Always use :set paste, Is it a good idea?

In a terminal vim, pasting clipboard data often messes up the code indent. I just knew if I uses :set paste the indent is not broken. Though, after pasting data, should I do :set nopaste again? What ...
1
vote
3answers
527 views

Macvim lags while Vim on terminal is buttery smooth

I am running OS X Lion 10.7.3 and Macvim runs significantly slower than vim on the terminal for me. All movement commands in Macvim are much slower. Moving up and down in visual mode is equally as ...
1
vote
1answer
97 views

Shell scripts in windows

I've been using the terminal in Ubuntu and Debian for a while and use shell scripts, commands like find, grep etc.. and the vim editor. What is the best way to use such commands/software under ...
5
votes
2answers
2k views

VIM: How to configure Solarized colorscheme in Konsole

I am trying to configure Solarized for use in VIM in Konsole (KDE terminal). This is the result that I get: Note that Solarized looks fine in GVIM on the same machine: I suspect that it is ...
0
votes
2answers
894 views

In vim, how can I quickly switch between tabs?

In gnome-terminal, I can just press Alt + (1, 2, 3, etc.) to switch to specific tabs. I can also use Ctrl + (PgUp / PgDn) to cycle through tabs (admittedly less convenient, but it can be remapped). ...
0
votes
1answer
124 views

There is some error using gvim in Fedora15

The os is Federa 15. gnome3. I install vim-X11 and input "gvim" in terminal. the gvim can be used. But the terminal also output some error: (gvim:4431): Gdk-WARNING **: Using Cairo rendering ...
5
votes
3answers
1k views

Vim configuration slow in Terminal & iTerm2 but not in MacVim

Ideally, I want to use Vim from Terminal or iTerm2. However, it becomes unbearably slow so I had to resort to using MacVim. There is nothing wrong with MacVim, however my workflow would be much ...
1
vote
1answer
170 views

How can you switch the j and k keys in vim?

Is there any way to map the k key to 'down' and the j key to 'up'? This seems much more intuitive to me, since the right arrow will also move the cursor down, if it's at the end of the line. Why was ...
1
vote
2answers
253 views

script command having odd effects when resizing terminal window

A little while ago I decided to log all my terminal activities by adding script -t 0 "/Users/XXXXXXX/terminalLogs/log0$(date '+%y-%m-%d-%H:%M').txt" to my .bash_profile file. This worked ...
3
votes
2answers
380 views

How to reclaim ^S in zsh?

I've found ^S mapped to be the fwd-search key for zsh (ohmyzsh) but I would like to use it in vim for various mappings as well - it seems like the zsh mapping is preventing me from using it now. Any ...
2
votes
4answers
2k views

Vim: Terminal-to-terminal copy&paste?

I am trying to copy a large block of code (with indentations preserved) from one vim terminal into another. I was wondering if there was a straightforward way to do this? Would this be considered a ...
4
votes
2answers
1k views

How can I make terminal Vim look as good as MacVim?

I'm using the same color scheme for Vim both in the Terminal and in MacVim, but they end up getting totally different colors. Terminal: and MacVim: Why is this happening? It does this with ...
2
votes
4answers
483 views

I'm trying to customize my text editor and terminal. Is it possible to use non-monospaced fonts without the horrible results?

I want to experiment with all fonts, including those that aren't mono-spaced. I understand the reason for using monospaced fonts, but frankly they don't seem legitimate to me. For instance, one ...
4
votes
2answers
1k views

Smooth scrolling for vim in Mac Terminal/iTerm?

Is it possible to get smooth scrolling (using the mouse scroll wheel or macbook touchpad) within a terminal on Mac OSX (Lion)? Furthermore, could I do this within vim? I find that smooth scrolling ...
3
votes
1answer
230 views

Pasting into vim from GUI results in missing lines

When I copy text from an OS X GUI app (e.g. Firefox) and paste it into vim in my terminal, it's often missing the first few lines or characters, with no obvious pattern. This may not be vim ...
1
vote
1answer
192 views

Avoiding newlines when copying wrapped text in Terminal.app

I have text files with lines that of length greater than my terminal width. I generally use less to view these files and often want to copy something that wraps from one line to the next. I've found ...
0
votes
1answer
197 views

Looking for a powerful, user friendly terminal emulator based on ncurses

I often work remotely on SSH shell. I would like a more user friendly interface to my shell, based on NCurses : Possiblity to open several virtual terminals with shells Organise terminals by tabs ...
4
votes
1answer
170 views

Terminal / Editor themes for colourblindness?

I "suffer" (not really) from a difficult-to-diagnose form of colourblindness. It generally corresponds with red-green colourblindness, but there are some quirks. There's a definite cognitive element ...
2
votes
1answer
142 views

Vim “folding”/“unfolding” keyboard behavior mystery

Sometimes, while using vim (no matter, on remote machine or the local one), my arrow keys suddenly stop reacting. I know, a true vimmer should use "hjkl" instead, but the question is different. I've ...
1
vote
3answers
2k views

256 colors in Vim, OS X Lion

Since OS X Lion the terminal.app is xterm-256color terminal. However vim is rendering only 8 colors. I tried the 7.3 supplied with Lion and 7.3 that is terminal version of MacVim. Vim Wiki sais I ...
1
vote
1answer
39 views

How can I see what I have `set` in `vim`?

When I am using vim (in a terminal), how can I get a list/display of what I have set? For example, if during a vim session I have done :set spell, :set wrap, and :set linebreak - is there a way to ...
3
votes
2answers
1k views

How to let Ctrl + Page Down switch tabs inside Vim in Terminal.app?

When running vim inside the Terminal in Ubuntu, I can use Ctrl + Page Up or Page Down to switch between the vim tabs. How do I set up this for Terminal.app or iTerm2 for Mac OS X? I have a Macbook Air ...
2
votes
1answer
86 views

What is the opposite of this terminal keyboard action?

Open terminal > preferences > keyboard I have control cursor right as \005. I like it! When inside Vim, it moves the page down 1 line while keeping my cursor unmoved. Try it. My question is: how ...
0
votes
2answers
704 views

How to set color scheme for VIM in Mac Terminal?

It seems that the VIM color scheme is conflict with Mac Terminal's setting. I want to change the highlight search color. And it's OK by setting in VIM ESC mode. (:hi search ctermbg=4) However, it's ...
1
vote
3answers
714 views

Arrow keys not working in vim on AIX machine

I'm currently developing some projects on an AIX machine connecting to ir using SSH. I compiled and installed vim in my home folder but I have some problems: When entering interactive mode, vim does ...
2
votes
1answer
307 views

over Windows terminal change cursor width or color in Vim depending on mode

I am using PuTTY to connect over SSH to an Ubuntu server from my Windows 7 workstation. Once connected I am using the Vim installation from the Ubuntu server to edit files. I want the cursor to change ...
2
votes
1answer
737 views

Terminal, vim and ssh color problem

I'm using vim for my editor. I've problems about the colors of vim. The same colorscheme of vim gives different outputs in terminal, ssh session and screen. I learnt they've different colors(16, 88 or ...
0
votes
2answers
412 views

Terminal Colors: Substitute Dark Blue for Another Color

Is it possible to "globally" substitute a terminal color somehow in OSX? In particular, I find that the dark blue is really hard on the eyes as demonstrated here: I'd love to be able to kick this ...
0
votes
0answers
251 views

Running vim on a remote Linux machine freezes OS X SSH connection [closed]

I am attempting to SSH to a Linux (Fedora 14) machine and then open up vim to edit a file, however on my new Macbook Pro, the SSH session seems to "freeze" as soon as I open vim. I can login fine to ...
3
votes
1answer
667 views

colorschemes are messed up in vim (mac OSX, iTerm2, zsh, vim 7.2 and 7.3)

For some reason in vim my colors come out looking weird. There are a few colorschemes that look correct like solarize and one called BusyBee but I'm not sure why most of my other color schemes come ...

1 2