2
votes
0answers
38 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
27 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
191 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
49 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
117 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: I just got a Mac! How do I do "end" ...
1
vote
2answers
106 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
73 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
63 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
73 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
48 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
295 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
71 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
39 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
225 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 ...
0
votes
1answer
99 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
168 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
507 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
912 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
76 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
119 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
409 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
55 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
159 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
38 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
7
votes
3answers
861 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
50 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 ...
2
votes
1answer
375 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
61 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
1k 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
68 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
271 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
383 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
85 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
124 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
761 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 ...
2
votes
0answers
100 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
219 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
144 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
230 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
149 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 ...
2
votes
2answers
1k views

How do I get the numpad to work in vim using iterm2 on osx with term=xterm?

My numpad works in iterm2 (bash), but it inserts characters instead of numbers in insert mode for vim. How can I get vim to recognise the correct escape codes. I have tried editing the escape codes ...
0
votes
1answer
330 views

Is it possible to launch MacVim NOT in full screen mode?

Whenever I Launch MacVim it takes up the whole screen. I don't want this. Is there any way to prevent it from happening? I run OS X 10.8.
3
votes
2answers
664 views

Vim execute process in background

I would like to run a process in the background in Vim on Mac OS X (or Unix in general). I would hope and expect the following, or some variant, to accomplish this: execute "!my_command &" or ...
0
votes
0answers
117 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
239 views

Vim package vimerl installation problems on Mountain Lion

Vim 7.3 Installation that described in read me is simple: copy everything from tar archive to ~/.vim I did so. Nothing was happened. No highlight... no plugin help. Nothing On Lion I dont have this ...
0
votes
1answer
577 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 ...
-1
votes
1answer
111 views

How is OSX supposed to work without a mouse? [closed]

I'm a VIM user so I do buy the no-mouse manifesto. I do everything without a mouse and am more productive this way. OSX is not being very friendly, though. How I'm supposed to navigate through files ...
5
votes
1answer
735 views

Vim no longer prompts for encryption key when reading encrypted file; why not, and how can I get this restored?

I recently began using Vim to encrypt text files (by using the :X command and entering an encryption key at the prompt). As documented, Vim then prompts for that key when I reopen the file and ...
4
votes
1answer
3k views

How do I change or edit Vim Homebrew recipe?

I use a Vim plugin that requires +clientserver, and the default brew Vim recipe does not include the appropriate flags, so I'm trying to add it to the ./configure step. I tried building Vim from ...
1
vote
1answer
133 views

Vim case-sensitive filename completion on Mac

How can I make Vim's filename completion case-sensitive? The following behavior is very annoying: If I type liTab (all lowercase), Vim completes to LICENSES, but what I really want is to complete to ...