0
votes
1answer
18 views

Keyboard modes like modes in vim

I'd like to be able to hit capslock and have many keyboard mappings change. j would be mapped to downarrow, k to uparrow etc. like the basics of command mode in vim. Then I'd be able to navigate a ...
0
votes
0answers
27 views

vim leaving empty display on exit

I'm on OSX using zsh and vim clears my screen on exit, unlike less or man and other applications. When I exit vim, the next command prompt is on the very bottom of the screen, leaving empty lines ...
0
votes
0answers
32 views

Nerdtree crashes (mac) vim

I consistently get vim to basically fail when I use NERDTree and would like help! If I type :NERDTree & inside of any split (usually as a typo), macvim will become unresponsive and vim will throw ...
0
votes
1answer
43 views

Inconsolata font with powerline support and italics

Is there an Inconsolata font package with italics and support for powerline? I have only been able to find: powerline-fonts - has powerline support but no italics Inconsolata-LGC - has italics but ...
0
votes
1answer
44 views

Open Macvim within terminal without opening a new window

Every time I try to edit a file, I do mvim file.txt in the terminal then a new MacVim window pops up. But if I do vim file.txt, it will not open a new window. Instead, it will initialise vim within ...
0
votes
1answer
38 views

MacVim always return focus to terminal upon leaving

I'm running Mavericks and I recently started playing around with sshfs to try to boost my productivity by using MacVim (I've been using in-terminal vim for a few years now). I really like MacVim. I ...
1
vote
0answers
29 views

Vim with DBExt using FreeTDS on OS X

When I try to run a simple line of SQL like select 1 DBExt doesn't complain, the status bar says 'Executing SQL...` but nothing is showing up. Using homebrew I have installed unixODBC and FreeTDS ...
1
vote
1answer
84 views

GNU screen changes vim syntax highlighting colors

I am trying to use vim inside a GNU screen session, but whenever I open vim inside screen the syntax highlighting uses completely different colors when compared to when I open vim outside GNU screen. ...
0
votes
1answer
103 views

Is there a way to copy/paste with iterm2 on osx over ssh with tmux and vim?

Given I am SSHed into a server and have tmux running, is there any straightforward way to be able to yank into a register in vim and: have that text be available in my tmux clipboard? have that text ...
0
votes
1answer
52 views

Vim starts with beginning of a “change” command

I'm having an issue with vim startup. Whenever I run vim somefile, it starts as though I pressed c just after startup. So, if I then try to immediately jump to the end of the file with G, it instead ...
2
votes
0answers
93 views

LC_LOCALE settings interactions between Mac OSX and LINUX via SSH

I have been struggling with the following problem for years now. I have never been able to solve it, and I adopted several workarounds to keep being able to work. However now I can't stand it anymore, ...
0
votes
2answers
32 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
2k 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 ...
1
vote
3answers
61 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 ...
0
votes
2answers
264 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 ...
1
vote
2answers
141 views

How can I validate my .vimrc?

My .vimrc files seems to work, and doesn't generate any visible errors during normal operation. I recently started using Knife, and found that I cannot use Vim as my editor for editing Chef content ...
0
votes
1answer
114 views

vim: Text copied into * register disappearing

I'm having an issue where text yanked to unnamed is not available to paste afterwards. This only occurs when I am SSHd in to another machine. Both machines are running identical versions of OS X ...
1
vote
0answers
94 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
1answer
137 views

where is vimfiles directory on mac OS?

I am a new user of mac OSX, I found there is no vimfiles directory under /usr/share/vim, but directory vim73 is there. this vim was shipped with OS and I didn't install it. vimfiles was used for ...
0
votes
0answers
63 views

vim and macvim are not reading my .vim directory

I have installed vim and macvim using macports, and tried copying over my .vim directory from linux. Neither seems to read anything from that directory: my customizations for folding and indenting ...
0
votes
1answer
428 views

objective-c syntax highlighting for vim

I would like to have an excellent syntax highliter for obj-c that matches or beats the one in my xcode.. I've installed base16 through yadr, and i've also installed cocoa.vim to have better syntax ...
0
votes
1answer
99 views

Automatic indentation with MacVim

How can I change the automatic indentation in MacVim? My problem is that when editing a TeX file, every time I type, for example, (, vim decides to indent the line for me. Here is a video of my ...
0
votes
0answers
43 views

Running script from (Mac)Vim and getting continuous output in new window

I am trying to run a Ruby script from within MacVim, that runs for some hours and I would like to have all output redirected to a new window the moment it is actually output. I found the top answer ...
1
vote
1answer
382 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
1answer
137 views

Can .bash_profile automatically run without sourcing it in iTerm2?

I am using iTerm2 in Mavericks OSX and made sure I updated to the latest version. My working directory inside preferences is set to Home Directory. I was watching a tutorial on iTerm customization ...
0
votes
0answers
257 views

Highlight 'Cursor' in Vim using Terminal.app

When I'm using Vim in Terminal.app it becomes very hard to se the characters under the cursor. In Terminal.app I can only specify the cursor color but not the color of cursor text like in Iterm2 for ...
3
votes
2answers
1k views

How can I copy into the Mac clipboard from vim?

I can paste from vim in one terminal window to vim in another, but not to anything outside vim. I've read numerous posts on the subject, and nothing I've found has helped. Copy/pasting from MacVim ...
0
votes
1answer
1k views

Vim inside tmux on Mac OS X Mavericks can't copy to clipboard

Since going to Mavericks, I've lost the ability to use the clipboard in vim when run under tmux. I install vim via brew. For reference, yes, the +clipboard option is definitely set. When I run vim ...
0
votes
3answers
99 views

Cannot find where this colorscheme setting is being set for vim on OS X

A long time ago I was farting around with color schemes for vim and I remember setting a line somewhere colorscheme sonofobsidian. I did this before I knew what I was doing with vim, unix, OS X, etc. ...
2
votes
3answers
159 views

How to use macvim to ssh into a headless server

I am using Mac OS X 10.7.5 I installed macvim for the first time in my life. I enjoyed using MacVim I was wondering how to SSH from it into a headless server within the MacVim itself. Currently, I ...
3
votes
0answers
591 views

Is MacVim copy-to-clipboard supposed to be working on OS X Mavericks?

I've recently found out that I can no longer copy text out of MacVim and paste into other Mac apps. I used to be able to do this on Mountain Lion. I have the usual configurations set, namely: set ...
0
votes
0answers
62 views

Load sublime text packages depending on programming language

I use sublime text’s package control to install packages. After installing a bunch of them, its startup becomes a bit sluggish (and maybe it’s performance starts to degrade as well), and I’m thinking ...
0
votes
2answers
228 views

vim command palette, similar to sublime text

In sublime text, we can press ⌘⇧P to bring up the command palette. Are there any similar tools for vim? I’ve been trying vim-ctrlp-cmdpalette, and although it works relatively well (there are some ...
0
votes
1answer
42 views

How to investigate why my VIM freezing for 5 sec during saving Rails application files?

What can cause an issue when I am saving a file in rails application folder freezing for about 5 seconds? How to investigate this issue? VIMRC: https://gist.github.com/4632cbcfc655899c934f
8
votes
3answers
1k 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
0answers
54 views

Vim uses system ruby and python

I have installed Python and Ruby using Homebrew and RVM respectively and they work fine in terminal, but Vim (both system and MacVim from Homebrew) launches system ones for some reason. :! which ...
3
votes
1answer
489 views

Why does Option+Left Arrow work in Vim, but not Right Arrow on Mac OS X?

Using Vim in Terminal on Mac OS X, my Option+Left Arrow skips words as expected, but my Option+Right Arrow does nothing. How can I fix this?
1
vote
1answer
63 views

Accessing MacOS X clipboard from

I'd like to access the system clipboard in Mountain Lion as a register in vim. The vim that comes with Mountain Lion is built with -xterm_clipboard shown in vim --version. Homebrew has a formula for ...
1
vote
2answers
2k views

How to setup vim to edit both Makefile and normal code files?

I am using Mac OSX 10.7.5, the contents of .vimrc is as follow: set tabstop=4 set shiftwidth=4 set softtabstop=4 set expandtab set shiftround set smarttab set autoindent set copyindent ...
1
vote
0answers
77 views

“Part of menu-item path is not sub-menu” error in vim config

I recently started getting this error when I opened vim, and I have no idea why. Error detected while processing /usr/share/vim/vim73/menu.vim: line 352: E327: Part of menu-item path is not ...
2
votes
1answer
326 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 ...
2
votes
2answers
464 views

How to replace emacs keybindings with vim keybindings in OS X GUI-level text fields

I'm fairly fluent with VIM, but find myself having to use GUI programs (in OS X) and their awkward editing modes more and more frequently for my work. I know that OS X lets you use basic emacs ...
0
votes
1answer
100 views

Why doesn't this vim binding work?

I've added these two lines to my vimrc: :nnoremap <silent><C-j> m`:silent +g/\m^\s*$/d<CR>``:noh<CR> :nnoremap <silent><A-j> :set ...
0
votes
1answer
138 views

Vimium browsing with textfields and different scrollable elements

I'm using vimium: https://chrome.google.com/webstore/detail/vimium/dbepggeogbaibhgnhhndojpepiihcmeb It's a way to browse / navigate with a keyboard. I generally love it but I don't know how to ...
0
votes
1answer
1k 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 ...
3
votes
0answers
109 views

Multiple linked sessions/instances of Vim and R with Vim-r-plugin

OSX 10.8. MacVim + Vim-r-plugin = Vim sends commands to R. Awesome! (Note I'm here asking about using MacVim and R.app (i.e. w/ Gui), not either in a terminal, since for this purpose I need both to ...
0
votes
1answer
231 views

Remapping all OSX shortcuts from cmd to ctrl

I am new to OSX, and since I have mapped CTRL to CapsLock, and use alt a lot, I dont need CMD, how to remap all shortcuts globally not to use CMD?
-3
votes
1answer
157 views

How do you avoid mouse use entirely? [closed]

Avoiding the use of the mouse entirely is hard today, as most OSes, browsers and software in general are very GUI-oriented. What system, software and general tricks are you using to completely avoid ...
0
votes
1answer
255 views

Binding caps lock key to another unique key

I've been mapping my caps lock key on windows machines to various keys (I have tried both Backspace, which I have never gotten used to due to deeply ingrained habit, and Esc, which will take time to ...
0
votes
1answer
181 views

How do I use windows style Home and End on OSX in Vim (iterm2)

Having tried many options to replicate Home, End functionality (for beginning of line and end of line), from windows to OSX, I have got to the point where it works everywhere except in vim. I am ...