13564Re: Can we have a File Drawer, please?
- Jan 19, 2013On Jan 19, 2:08 am, Aaron Cruz <pferdeflei...@...> wrote:
> > So why not just use vim in your terminal?Maybe I can help address point b).
> The only two reasons I use macvim instead of terminal vim are
> a) Consistent colorscheme support
> b) System clipboard support
> If I had these two things I would love using vim in terminal. Beats having to switch between windows.
On osX 10.4.11 and 10.6.8 I have MacPorts' terminal vim version
7.3.762 and it is compiled with the option: +clipboard
Which means that the system clipboard is supported.
Since I also use vim on Linux and Windows, I have made my .vimrc
portable for different versions of vim, some without +clipboard
if has("clipboard") "?vim6.2 "?tiny7.2
vmap ,y "+y
nmap ,p "+gP
" ^= prepend += append
if has("gui_running") || has("xterm_clipboard")
silent! set clipboard^=unnamedplus
,y in visual mode to copy from vim to another Mac app
,p in normal mode to paste from another Mac app to vim
Using ,p I do not need to know how vim's 'paste' option is set.
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic Next post in topic >>