0
votes
3answers
34 views

Script to open customized terminal session

I'm not sure if the title got across what I want to do, but here it is: I am working on a python project that involves a lot of classes. I use Terminal Vim to do my editing. As you can Imagine, it ...
0
votes
1answer
22 views

Vim 7.4 puts current line at top of window split when moving cursor between buffers

I have a split window with two buffers visible, and the top one is active and maximized using CTRL+w, UNDERSCORE (i.e., SHIFT+Minus). I put the cursor in the middle of the visible buffer, or at the ...
0
votes
2answers
30 views

Changing vim/terminal open location

Before I dove into learning ruby my .vimrc file had this at the very end cd data It was perfect because the home directory is shared with my mac. I tried changing my home directory in OSX. This was ...
0
votes
3answers
518 views

How to set colors in OS X (Mavericks) terminal?

I want to set the color's palette of my terminal in order to use properly the Solarized colorscheme for Vim (http://ethanschoonover.com/solarized). I understand that i've to modify my .bash_profile ...
0
votes
2answers
84 views

How to make Vim respect proper wrapping when opened from Mutt?

I am using the line below in my .muttrc Editing generally seems to work except that braking at 79 driving me nuts. I cannot get Vim to stop acting that way. I do not want any braking whatsoever but I ...
1
vote
3answers
52 views

How do I properly install and organize terminal software on OS X?

I've been learning vim and messing around with installing certain terminal extensions like zsh and tmux. So far I've been installing everything according to their online instructions, and this has ...
1
vote
0answers
102 views

I can't get XFCE terminal to display VIM's colorschemes

That's what I have in my .bashrc if [ -n "$DISPLAY" -a "$TERM" == "xterm" ]; then export TERM=xterm-256color fi In my .vimrc I have: set t_Co=256 echo $TERM prints xterm-256color tput ...
0
votes
2answers
152 views

home/end in INSERT mode in vi on a Mac

On a Mac I can go to the start and end of an line in vi, when not in INSERT mode: ^ (start of line) $ (end of line) This is for example explained here: How do I do “end” , “home”, “page up” and ...
3
votes
1answer
84 views

What does Shift+Enter do in a terminal, and can I disable it in Vim?

Everyone once in a while while in insert mode in Vim, I'd be happily typing along, when all of a sudden I'd be thrown out of insert mode and my last edit undone after hitting a certain key ...
1
vote
0answers
73 views

OSX Mavericks .zshrc cannot source

I am trying to source my zshrc. It sources fine when before I add this line: . ~/Dropbox/configs/aliases Then I get this: /Users/mkrell/.zshrc:.:13: too many open files: Dropbox/configs/aliases ...
0
votes
0answers
233 views

URxvt: vim and cursorColor [invisible cursor or invisible cursor text]

Introduction I've always used a light-background terminal and a dark-background editor (vim). On this I'm not willing to compromise. In any case, I've just switched from xterm to urxvt ($TERM == ...
1
vote
1answer
84 views

Vim crashing when pressing `ctrl-s` in terminal

When I press ctrl-s in vim running in the terminal the program crashes to the point where it doesn't even terminate when I send kill -SIGKILL <vimPID>. The process isn't listed in the output of ...
1
vote
1answer
266 views

Customize vim cursor style under Mac OS X Terminal

I want to customize the vim cursor to be a blinking rectangle block. I tried this and this and many other similar stuffs after some searches, but none of them works as expected. Currently my cursor ...
1
vote
2answers
55 views

How to vimgrep swap files in a directory

I accidentally closed a terminal window which had some vim tabs were open. Now how can I find these swap files using vimgrep or terminal grep?
0
votes
1answer
104 views

Is it safe to map a key to a custom escape sequence in iTerm?

There are some keys I use in MacVim that terminal Vim doesn't recognize. For example, Ctrl-Enter, Shift-Enter, Ctrl-Space, Shift-Space, Ctrl-Backspace. I'm using iTerm2, which lets you map keyboard ...
0
votes
3answers
932 views

Using vim to force edit a file when you opened without permissions

I use vim to edit a file. Sometimes, I forget to have the appropriate permissions. I run vim and the file as a read only file. I can make changes, but I can't actually write the changes. Every once in ...
1
vote
2answers
51 views

SSH or Remote filesystem mounting

In a situation where you spend the majority of your time in the terminal and Vim/Emacs/other command-line editors, what are the pro's and con's of working via SSH or by mounting a remote filesystem ...
2
votes
2answers
88 views

How can I create a new document without opening vim?

Is there any way I can create a new vim document without opening vim right away? For instance, when I enter vim myfile.txt, I'm launched into vim. I don't want to be launched into vim.
1
vote
1answer
97 views

*live* vim syntax highlighting on stdout?

I want to have some program's output colorized as it apperas on terminal. I know that utility named highlight does the this. But: it has a limited set of built-in language support, and I want ...
1
vote
2answers
73 views

Terminal emulator with half block cursor?

Is there a terminal emulator which allows half block cursor? The main reason I want this is that in vim when some words are highlighted it's difficult to see where the cursor is: In this pic I have ...
0
votes
2answers
154 views

Background process text appears in terminal vim

First time poster, long time lurker, searched, couldn’t find etc, etc. I’m running vim in tmux, in iTerm2. I’m running a server with Grunt.js, which I have running in the background, out of my way. I ...
0
votes
0answers
84 views

How can one make vim change terminal colors?

I am using command line vim running from an xterm (which runs sh). I have color in vim according to a color scheme I like. The problem is, as usual with 256-color terminals and truecolor color ...
1
vote
1answer
247 views

Why is MacVim much faster than Vim in the Terminal?

I've been using Vim and MacVim as may main development tool for last two weeks and have noticed that the cursor scroll speed is much fast and fluent in MacVim than it is in Vim in the Terminal. It's a ...
1
vote
1answer
552 views

VIM copy doesn't work in Gnome Terminal (to system clipboard)

I prefer using VIM in a gnome terminal (On Fedora 19) instead of using GVIM. But I can't seem to copy to the system clipboard. I'm pulling my hair out trying to figure this out because other threads ...
2
votes
0answers
217 views

Realtime Code Collaboration That is Not Floobits

So... I love Floobits. I use it in Sublime and I use it in vim. But my network currently does not play nicely with its port requests. I'm looking for a desktop code collaboration system so that an ...
7
votes
3answers
972 views

iTerm2 Vim alt+right/left arrow

As a Linux user, I am very used to jump from word to word in vim/nano using ALT+left or right. This doesn't seem to work properly using iTerm, I am using zsh, I tried adding; bindkey -e bindkey ...
0
votes
2answers
71 views

VIM Hotkey Creation

I'm pretty new to VIM and linux in general. So doing this on my own is well beyond my skill level now. I'm familiar with vimrc file but that is it... Let's say I have one terminal open idling. ...
2
votes
1answer
292 views

OSX Clipboard is broken in Vim

I have OSX ML and Vim 7.3. When I try to use OSX clipboard...well nothing happens. If I do "+yy for instance, nothing gets into osx clipboard. "* doesn't work either, neither does ex command yaking ...
1
vote
1answer
186 views

Vim on Windows: characters with tilde can't be typed

I'm running vim on Windows and I'm using an US keyboard layout with deadkeys. When pressing ~ + a, I get a as output (instead of ã). Other info: ~ + a produces the desired ã on gVim. ~ + a produces ...
0
votes
1answer
863 views

Type vim in terminal open macvim?

I just installed macvim for the ease of installation and integration with Ruby and Python already built in. I know I can just double click on the vim.app icon to open a new window, but how can I make ...
1
vote
2answers
468 views

Increase the space between lines in vim

I think the title says it all. I've done my homework and the only command that I found was: :set linespace=3 but it doesn't seem to work, neither on the Mac nor in Linux. Edit: In Mac OSX you can ...
0
votes
2answers
2k 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
120 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
233 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
94 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 ...
1
vote
2answers
314 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
2answers
244 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
3answers
765 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
139 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
124 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
636 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
199 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
78 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
108 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
2answers
412 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 ...
2
votes
2answers
2k 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 ...
3
votes
2answers
358 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
761 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
594 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
338 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 ...