Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Macintosh version of the Make and configs files #6

Closed
wants to merge 5 commits into from

2 participants

Guilherme Quental Moacir Rosa
Guilherme Quental

I've created a branch with the modified the files to run properly in the Macintosh environment

gquental added some commits
Guilherme Quental gquental Adding file to retrieve fullpath of file
This file is needed because in Mac readlink does`t work as in linux
6efbfa3
Guilherme Quental gquental Changing the map of commands d1e1976
Guilherme Quental gquental Removing the install of fonts and fixing a bug on the install
In Macintosh we don't need to install the font Monaco because it's default,
i've also added the commadt to the list to be executed, beucase it wasn't.

Also changed the command executed to retrieve the fullpath of the file
4469e1e
Guilherme Quental gquental Changing to get the path passed as the parameter c372b83
Guilherme Quental gquental Editing README to the Macintosh version 5094ade
Moacir Rosa
Owner

We could create an unique MakeFile and try to detect the OS. Our install sub procedure could be smart enough to make this job. What do you think?

Moacir Rosa
Owner

But I'll pull your branch until we get it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 5 unique commits by 1 author.

Mar 24, 2012
Guilherme Quental gquental Adding file to retrieve fullpath of file
This file is needed because in Mac readlink does`t work as in linux
6efbfa3
Guilherme Quental gquental Changing the map of commands d1e1976
Guilherme Quental gquental Removing the install of fonts and fixing a bug on the install
In Macintosh we don't need to install the font Monaco because it's default,
i've also added the commadt to the list to be executed, beucase it wasn't.

Also changed the command executed to retrieve the fullpath of the file
4469e1e
Guilherme Quental gquental Changing to get the path passed as the parameter c372b83
Guilherme Quental gquental Editing README to the Macintosh version 5094ade
This page is out of date. Refresh to see the latest.

Showing 4 changed files with 15 additions and 16 deletions. Show diff stats Hide diff stats

  1. +4 11 Makefile
  2. +5 2 README.markdown
  3. +3 0  bin/pathget
  4. +3 3 src/gvimrc
15 Makefile
@@ -10,12 +10,12 @@ help:
10 10 @echo "install - install + compile native things."
11 11 @echo "update - Download update for all plugins."
12 12
13   -install: symlink submodules fonts bye
  13 +install: symlink submodules commandt bye
14 14
15 15 symlink:
16   - ln -sf "$(shell readlink -f "src/vimrc")" ~/.vimrc
17   - ln -sf "$(shell readlink -f "src/gvimrc")" ~/.gvimrc
18   - ln -sf "$(shell readlink -f "src/vim")" ~/.vim
  16 + ln -sf "$(shell bin/pathget "src/vimrc")" ~/.vimrc
  17 + ln -sf "$(shell bin/pathget "src/gvimrc")" ~/.gvimrc
  18 + ln -sf "$(shell bin/pathget "src/vim")" ~/.vim
19 19
20 20 submodules:
21 21 git submodule init
@@ -26,13 +26,6 @@ commandt:
26 26 /usr/bin/ruby extconf.rb;\
27 27 make clean && make
28 28
29   -fonts:
30   - current="$(shell pwd)"
31   - mkdir -p /usr/share/fonts/truetype/font-install
32   - cp bin/Monaco.ttf /usr/share/fonts/truetype/font-install/Monaco.ttf
33   - fc-cache -fv
34   - cd "$(START)"
35   -
36 29 update:
37 30 git submodule foreach git pull origin master
38 31
7 README.markdown
Source Rendered
... ... @@ -1,6 +1,9 @@
1 1 Requirements
2 2 ------------
3 3
4   -* Vim-Nox
  4 +This is an modification of the original file to run
  5 +properly on a macintosh computer
  6 +
5 7 * Exuberant CTags
6   -* Ruby Dev library (sudo apt-get install ruby1.8-dev)
  8 +* Ruby
  9 +* Perl
3  bin/pathget
... ... @@ -0,0 +1,3 @@
  1 +#!/bin/bash
  2 +dirname=`perl -e 'use Cwd "abs_path";print abs_path(shift)' $1`
  3 +echo $dirname
6 src/gvimrc
@@ -30,8 +30,8 @@ set guifont=Monaco
30 30
31 31 "" Some maps
32 32
33   -nmap <silent> <F7> :NERDTreeToggle<CR>
34   -nmap <silent> <F8> :Tlist<CR>
  33 +nmap <silent> <D-7> :NERDTreeToggle<CR>
  34 +nmap <silent> <D-8> :Tlist<CR>
35 35
36 36 let mapleader = ","
37 37
@@ -56,7 +56,7 @@ let g:syntastic_mode_map = { 'mode': 'passive',
56 56 \ 'active_filetypes': [],
57 57 \ 'passive_filetypes': ['php'] }
58 58
59   -nmap <silent> <F10> :SyntasticCheck<CR>:Errors<CR>
  59 +nmap <silent> <D-3> :SyntasticCheck<CR>:Errors<CR>
60 60
61 61 if has("gui_running")
62 62 " GUI is running or is about to start.

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.