a text editor that runs in a command line interface. Includes other variants such as vim

learn more… | top users | synonyms (1)

0
votes
2answers
47 views

Copying and pasting between tmux panes containing vim instances over SSH in Terminal.app

I use vim to develop Perl code on a remote Linux box running Debian Jesse. The machine is a virtual machine running in VirtualBox. I use ssh and then issue a vim <file> command to start editing ...
0
votes
0answers
47 views

How to Have Stereo Macro in OS X Vim?

OS X Terminal Emulator with Custom Escape Sequences I am not sure if OS X terminal emulator is sufficient for the escape sequences. Current cursor on line of path in Vim etc ...
0
votes
1answer
126 views

Partition sharing - messed up with GPT/MBR

First of all, sorry for any English mistakes or print screen in French... I'm Belgian. I've had a lot of problems with an iMac 2009 27", mostly with Mac OS. Strangely, Windows (10) works with little ...
2
votes
1answer
36 views

Vim 7.4 hybrid line numbers not working (installed via Homebrew)

I recently discovered that Vim 7.4 enables a hybrid number mode, such that if you do set nu and set rnu, you'll see the absolute line number of the current line and relative line numbers everywhere ...
0
votes
0answers
25 views

Cannot update 'macvim' formula using Homebrew?

I started my update from a clean output for brew doctor and then brew update macvim does not work: brew upgrade macvim ...
3
votes
1answer
46 views

Is it possible to temporarily remove margin from iTerm2 window?

I just wondering whether its possible to remove the left, right and top margin (or just all margin) temporarily in iTerm2 windows. My goal was to make the vim-airline looks better in iTerm2 by ...
1
vote
1answer
61 views

Setting Terminal tab names in OS X and using vim

I regularly ssh into a Linux cluster from an OS X (El Capitan) Terminal, sometimes with multiple Terminal tabs. I use bash and vim. I'd like to do the following: while ssh'd, set the Terminal tab ...
3
votes
2answers
195 views

Numeric keypad keys in vi insert letters instead of numbers

I'm new to vi. Actually I'm using it just to modify small text files. I've a serious and unusual, I think, problem with the numeric keypad, as follow: I write vi IN and press enter. This make me ...
1
vote
0answers
35 views

Is there a unified shortcut key of Home/End for Terminal, Vim and Sublime Text in OS X?

It seems that in Terminal: fn+shift+← is Home fn+shift+→ is End in Vim: fn+← is Home fn+→ is End in Sublime Text: cmd+← is Home cmd+→ is End And Ctrl+A and Ctrl+E seems to work ...
3
votes
1answer
57 views

Where is POSIX Ex editor on Mac?

Since Ex is a standard Unix editor (standardized by POSIX), I expect to be shipped with OS X, however it's linked into vim instead as shown below: $ stat /usr/bin/ex File: ‘/usr/bin/ex’ -> ‘vim’ ...
0
votes
0answers
170 views

Sending F5 keystroke using iPad Pro Smart Keyboard

I have got an iPad Pro that I am using with Apple Smart Keyboard. I want to use it to write latex file using Vim editor. I use Vim in a server which I connect to through SSH using an application ...
0
votes
0answers
47 views

USB Keyboard's number pad doesn't work while using vim

I have a usb keyboard that has a numberpad. When I use the number pad in most situations, it works as expected (IE when I click the bottom 3 buttons, I get 123 in this web form). However, when using ...
1
vote
1answer
178 views

Vim Explorer “not an editor command”

When I open MacVim (installed with homebrew) in the GUI, the Explorer works as expected. But if I open "vim" in a terminal, I've got that message: E492: Not an editor command: Explorer But the ...
1
vote
1answer
391 views

Vi for Mac OS, differences with Vim

I am using Mac OS X, with vim and I am getting a bit used to it. A teacher at the university told us he will ask us to demonstrate him our knowledge on Vi and specified that it is Vi and not Vim. I ...
0
votes
1answer
43 views

Open Text File From Finder In Vim

I do a lot of programming and just starting to do a bit of web development. At the moment I am going to be making a few files and folders, because of this, is there a way to open a application in vim ...
1
vote
1answer
44 views

Number pad produces strange output in certain commands in Terminal

Running OS X 10.10.5 (Yosemite) Well, something happened to my system (I can honestly say it wasn't me but), I was unable to use the USB keyboard number pad while using commands such as 'less', ...
14
votes
1answer
3k views

New Terminal behavior after upgrading to OS X 10.11

I've noticed square brackets in the "gutters" of a Terminal window when editing files in emacs. The brackets are on either side of the screen and go away if I force a window update by either resizing ...
1
vote
1answer
93 views

How can I make vim “command mode” the default mode for terminal

I use vim commands in my terminal.. But by default, the mode when I open up terminal is the "insert mode". Is it possible to enter in "command mode" when I open a terminal session?
0
votes
0answers
143 views

iTerm2, tmux and vim doesn't work probperly

I'm using iTerm2 and in the tmux session I have two panes. When I opened file by vim on a first pane and then go to another pane make some action. Immediately my screen corrupts like this: What ...
0
votes
1answer
66 views

Whay does my Backspace key not delete in vi?

The delete key works - delete text to the right. But the backspace key (I'm using an external keyboard btw) moves left but doesn't delete (I am in insert mode) However it does work OK (moves the ...
2
votes
2answers
268 views

Number pad does not work in vim and less

I am working from an iMac running Yosemite and using this keyboard. The number pad works in the terminal, but when I open vim or less it does not. For example using less, if I type for the number 8, ...
0
votes
2answers
126 views

How to enable vim X11 feature on OSX10.10?

I want to use set clipboard="unnamedplus" in my vim, which requires X11 feature. But I searched a bit on google. Which only mentions that Apple has removed X11 from their recently releases of OSX. ...
2
votes
1answer
167 views

How do I move the cursor past the end of the line in Insert mode when using vi-style line editing on bash?

In all that follows, the ^ indicates the position of the cursor. I'm using bash on Terminal on OS X Yosemite and I'd like to use vi-style line editing: prompt$ set -o vi ^ By ...
1
vote
0answers
147 views

Mac Terminal (+bash +tmux +set-o vi) missing characters at end of line

Often when editing a historical bash command in vi mode (after pressing ↑), and then moving backwards in the text using b. When I begin editing the text after pressing i or a, the extra text I insert ...
0
votes
0answers
53 views

Vim Caught deadly signal SEGV

More frequent than I would like my vim crashes with the terminal prompting Vim: Caught deadly signal SEGV. I use vim with the pyflakes plugin to edit python scripts. The vim is the standard ...
1
vote
1answer
22 views

Current line number keeps to be 0 no matter where cursor is

Please see the attached to images. When I change the line the line numbers changes, so that the cursor's line number is always 0, the previous and next line numbers are always 1. Is it a bug? OS: ...
0
votes
1answer
15 views

Macvim crashing about hourly

Any hints on stabilizing MacVim? I have version "Custom Version 7.4 (73)" as shown in screenshot Typically MacVim is crashing when I am working on a different application - not when actually ...
0
votes
0answers
200 views

Opening new Terminal tab with Vim

I am using the Unite plugin as a fuzzy finder to open files in Vim, and I was wondering if there was a way to open files in a new Terminal tab instead of in Vim's internal tabs. Thanks!
1
vote
2answers
2k views

Powerline patched font not working on Terminal.app

I am on Mac OS X 10.10.2 (14C2513). I am using Inconsolata patched font from here. But I also tried to patch the font myself. The result is the following: I am able to see the glyphs but zsh (see ...
2
votes
2answers
395 views

How to show vi mode in bash?

I'm on Yosemite, using vi mode in bash (set -o vi in .bash_profile) and I want to have the prompt indicate if I'm in edit or command mode. I looked around and found that this feature has been ...
1
vote
1answer
200 views

How do I create a symlink to MacVim configuration files?

I want to store my configuration files in source control and symlink them so they will be used by MacVim. Looking at :scriptnames I see vimrc and gvimrc being used in: ...
0
votes
1answer
252 views

How can I set up seamless navigation of vim and iterm2 splits?

I am trying to map my C-h, C-j, C-k, C-l keys to be able to navigate vim (running in iterm2) splits but if there is no vim split to move to it should figure out that I want to jump to a different ...
0
votes
2answers
76 views

File contents remains in terminal after exiting Vim?

I'm using the stock terminal with zsh and vim. After I exit vim, the file contents remains in the terminal. Ideally, only the previous history would be in the terminal when I exit vim (such as the ...
0
votes
1answer
177 views

How to mouse copy a very long line in vim terminal OS X

I want to copy with mouse one line from one vim terminal to another vim terminal. This line is huge and has a hidden character (I presume at the beginning) that I do not want to copy. In other ...
0
votes
0answers
24 views

Shell not opening binary pointed to by 'which'

I installed vim74 using homebrew, and which vim returns it's path. However when i open vim, i still get into the version coming with OSX (/usr/share/vim). Why is that even though /usr/share is not in ...
1
vote
0answers
119 views

Cursor keys not working with vim when using iterm2 Build 1.0.0.20140629

I have just hit this problem, and I have tried all suggested fixes with zero improvement. The version I have running is Build 1.0.0.20140629 It is the large Apple keyboard with the cursor keys next ...
2
votes
1answer
721 views

How can I map `Ctrl+Alt+Char` and `Ctrl+Number` in vim on Mac OSX?

1.Enviroment Env: vim+zsh+iTerm2 on Mac OSX 10.9.2. (Same problems in macvim on Mac OSX 10.9.2) 2. Mapping Problem In mac, mappings for <A-char> won't directly work in mac. :inoremap ...
1
vote
0answers
371 views

How can I keep keybindings of iTerm and vim apart

1.Enviroment Env: vim+zsh+iTerm2 on Mac OSX 10.9.2. (Same problems in vim+terminal+bash on Mac OSX 10.9.2) 2. Mapping Problems Here are mapping problems list(You can chose any of them to anwser). ...
0
votes
1answer
70 views

mac terminal and vim syntax coloring on centos server

I am using a mac temrinal window to ssh to a centos server. I have installed vim-enhanced on the server, i have created an alias for vi=vim in my bash profile, as well as confirmed i am using ...
2
votes
1answer
256 views

How do I use <Ctrl+1> instead of <Ctrl+6> in VIM?

I have been searching for a while, but i still can't get it work. I add :map <C-6> <C-1> or :map <C-1> <C-6> to '.vimrc', but it doesn't work.
2
votes
2answers
185 views

History commands render incorrect on Bash Vi mode

I'm having this werid and really annoying issue in bash vi-mode. Env: Mac 10.9.2, iTerm 2 1.0 or Terminal.app, $TERM={screen-256color|xterm-256color|xterm|vt} Repro steps: Run some long commands ...
2
votes
1answer
795 views

Vim like terminal

I recently discovered terminal's feature, you can set the keys emacs or vi style I prefer the second. so if you do set -o vi You can use k j l h keys to navigate on the command line. And you can ...
1
vote
2answers
409 views

How do I copy text from vi?

I installed zsh, and I'm using vi. I want to copy a line from vi to somewhere else. How may I do this?
2
votes
1answer
296 views

how to use the + on the numeric keypad for "+p in vim, Mac Os X

Under Mac OS X, in vim, when I issue the command "+p using the numeric keypad for the + in normal mode, instead of pasting stuff from the system clipboard Vim enters insert mode and inserts the ...
4
votes
1answer
1k views

Powerline fonts in vim & OS X 10.9 Mavericks

I'm unable to get Powerline fonts working in Vim (homebrew) on OS X 10.9 Mavericks. My Vim config is available at https://github.com/aaronlake/vimrc. From 10.8.x to 10.9 I've imported the same ...
0
votes
2answers
1k views

vi shortcuts on bash on mac not working e.g. CTRL + E, CTRL + A [duplicate]

I have used vi as my main text editor for years now on Linux (and a few years back Mac too) and on my brand new Mac (running 10.8.4) I find when trying to edit a file using vi in Terminal I can not ...
4
votes
1answer
2k views

Can't run vi from terminal

Every time I execute these commands: vi or vim in the terminal, it gives me the following error: -bash: /usr/local/bin/vi: No such file or directory or -bash: /usr/local/bin/vim: No such ...
13
votes
2answers
9k views

How do I edit current shell command in VI

I have seen in blogs on Linux machines you can edit the current bash shell command in VI (or whatever the EDITOR is set to) by pressing ctrl-x,ctrl-e. This doesn't seem to work on 10.8. Any ideas on ...
1
vote
2answers
2k views

Use Cmd as Ctrl key in vim

How can I input commands such as <Ctrl-W> and <Ctrl-]> in vim using Cmd instead of Ctrl? The reason why I want to do it is because it's more comfortable. When I need to switch to a ...
3
votes
2answers
1k views

How do I compile vim with the --enable-gui=yes flag on OS X 10.8.2

I'm trying to compile the latest version of vim (7.3.785 as on date) with the --enable-gui option set to yes: ./configure --enable-gui=yes make but make fails with several errors (full output). I ...