December 31, 2013 · 235 words · 2 mins
If you use DashDoc (see http://kapeli.com/dash), it can be integrated with editor or Eclipse to allow automatically find selected text in Dash documentation sets:
Sublime Text # This is easy - there is DashDoc plugin - https://sublime.wbond.net/packages/DashDoc
The plugin is OS-X specific, because the DashDoc is
Start Package Control (Cmd-Shift-P) select Install Package (type Install) select DashDoc The Ctrl-H does the search
March 3, 2013 · 702 words · 4 mins
New MacMini # MacMini:~ mediaserver$ mkdir .vim MacMini:~ mediaserver$ git clone git@github.com:radegast/dotvim.git .vim Cloning into '.vim'... The authenticity of host 'github.com (207.97.227.239)' can't be established. RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of known hosts. remote: Counting objects: 367, done. remote: Compressing objects: 100% (309/309), done. remote: Total 367 (delta 58), reused 335 (delta 26) Receiving objects: 100% (367/367), 512.73 KiB, done. Resolving deltas: 100% (58/58), done. MacMini:~ mediaserver$ cd .vim MacMini:.vim mediaserver$ pwd /Users/mediaserver/.vim MacMini:.vim mediaserver$ ln -s ~/.vim/_vimrc ~/.vim .vim/ .viminfo MacMini:.vim mediaserver$ ln -s ~/.vim/_vimrc ~/.vimrc MacMini:.vim mediaserver$ ln -s ~/.vim/_gvimrc ~/.gvimrc MacMini:.vim mediaserver$ pwd /Users/mediaserver/.vim MacMini:.vim mediaserver$ git submodule init Submodule 'bundle/tlib_vim' (git://github.com/tomtom/tlib_vim.git) registered for path 'bundle/tlib_vim' Submodule 'bundle/vim-fugitive' (git://github.com/tpope/vim-fugitive.git) registered for path 'bundle/vim-fugitive' Submodule 'bundle/vim-pathogen' (git://github.com/tpope/vim-pathogen.git) registered for path 'bundle/vim-pathogen' Submodule 'bundle/vim-unimpaired' (git://github.com/tpope/vim-unimpaired.git) registered for path 'bundle/vim-unimpaired' MacMini:.vim mediaserver$ git submodule update Cloning into 'bundle/tlib_vim'... remote: Counting objects: 992, done. remote: Compressing objects: 100% (372/372), done. remote: Total 992 (delta 594), reused 946 (delta 549) Receiving objects: 100% (992/992), 210.90 KiB, done. Resolving deltas: 100% (594/594), done. Submodule path 'bundle/tlib_vim': checked out 'd66948917ce7153e4a961aa5d57e1b0918e20495' Cloning into 'bundle/vim-fugitive'... remote: Counting objects: 1481, done. remote: Compressing objects: 100% (525/525), done. remote: Total 1481 (delta 637), reused 1405 (delta 579) Receiving objects: 100% (1481/1481), 190.02 KiB, done. Resolving deltas: 100% (637/637), done. Submodule path 'bundle/vim-fugitive': checked out '1b7e4070f5f7b7522422f5b00a75b323cc314daf' Cloning into 'bundle/vim-pathogen'... remote: Counting objects: 395, done. remote: Compressing objects: 100% (215/215), done. remote: Total 395 (delta 108), reused 372 (delta 90) Receiving objects: 100% (395/395), 47.73 KiB, done. Resolving deltas: 100% (108/108), done. Submodule path 'bundle/vim-pathogen': checked out 'ab64b4ddd0c184a528780b498a0b0a5b40248f7c' Cloning into 'bundle/vim-unimpaired'... remote: Counting objects: 260, done. remote: Compressing objects: 100% (118/118), done. remote: Total 260 (delta 84), reused 250 (delta 76) Receiving objects: 100% (260/260), 33.89 KiB, done. Resolving deltas: 100% (84/84), done. Submodule path 'bundle/vim-unimpaired': checked out '440629adb4051e5f9920704570d1ff0e88356dc2' Adding terminal shortcut ‘mvim’ # It is packed in the tbz file. Move it to /usr/bin
April 9, 2012 · 24 words · 1 min
Add this to .bashrc # export GIT_EDITOR=’/Applications/MacVim.app/Contents/MacOS/Vim -g -f '
The key is -f, without it git will abort because of empty commit message.