From 67c770469309a37aebad886ed2e9022674853fd3 Mon Sep 17 00:00:00 2001 From: Greg Hurrell Date: Sat, 26 Dec 2015 01:01:28 +0100 Subject: [PATCH] doc: turn .vimrc references into helpful links --- doc/command-t.txt | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/doc/command-t.txt b/doc/command-t.txt index 48dce16c..c6fea494 100644 --- a/doc/command-t.txt +++ b/doc/command-t.txt @@ -214,7 +214,7 @@ For more information about Pathogen, see: Obtaining the source using Vundle ~ Anywhere between the calls to `vundle#begin` and `vundle#end` in your -`~/.vimrc`, add a `Plugin` directive telling Vundle of your desire to use +|.vimrc|, add a `Plugin` directive telling Vundle of your desire to use Command-T: call vundle#begin() @@ -232,7 +232,7 @@ For more information about Vundle, see: Obtaining the source using NeoBundle ~ Anywhere between the calls to `neobundle#begin` and `neobundle#end` in your -`~/.vimrc`, add a `NeoBundle` directive telling NeoBundle of your desire to use +|.vimrc|, add a `NeoBundle` directive telling NeoBundle of your desire to use Command-T: call neobundle#begin(expand('~/.vim/bundle/')) @@ -248,7 +248,7 @@ For more information about NeoBundle, see: *command-t-vam* Obtaining the source using VAM ~ -After the call to `vam#ActivateAddons` in your `~/.vimrc`, add Command-T to +After the call to `vam#ActivateAddons` in your |.vimrc|, add Command-T to the `VAMActivate` call: call vam#ActivateAddons([]) @@ -484,7 +484,7 @@ The following is also available on terminals which support it: cancel (dismisses file listing) Note that the default mappings can be overriden by setting options in your -`~/.vimrc` file (see the OPTIONS section for a full list of available options). +|.vimrc| file (see the OPTIONS section for a full list of available options). In addition, when the file listing has focus, typing a character will cause the selection to jump to the first path which begins with that character. @@ -566,7 +566,7 @@ By default Command-T comes with only three mappings: j bring up the Command-T jumplist window Note that Command-T won't overwrite a pre-existing mapping so if you prefer -to define different mappings use lines like these in your `~/.vimrc`: +to define different mappings use lines like these in your |.vimrc|: nnoremap t (CommandT) nnoremap b (CommandTBuffer) @@ -575,7 +575,7 @@ to define different mappings use lines like these in your `~/.vimrc`: Replacing "t", "b" or "j" with your mapping of choice. Note that in the case of MacVim you actually can map to Command-T (written -as in Vim) in your `~/.gvimrc` file if you first unmap the existing menu +as in Vim) in your |.gvimrc| file if you first unmap the existing menu binding of Command-T to "New Tab": if has("gui_macvim") @@ -591,8 +591,8 @@ overriding the mappings are listed below under OPTIONS. OPTIONS *command-t-options* -A number of options may be set in your `~/.vimrc` to influence the behaviour of -the plug-in. To set an option, you include a line like this in your `~/.vimrc`: +A number of options may be set in your |.vimrc| to influence the behaviour of +the plug-in. To set an option, you include a line like this in your |.vimrc|: let g:CommandTMaxFiles=20000 @@ -901,7 +901,7 @@ Following is a list of all available options: As well as the basic options listed above, there are a number of settings that can be used to override the default key mappings used by Command-T. For example, to set as the mapping for cancelling (dismissing) the Command-T -window, you would add the following to your `~/.vimrc`: +window, you would add the following to your |.vimrc|: let g:CommandTCancelMap='' @@ -1115,7 +1115,7 @@ Why doesn't the Escape key close the match listing in terminal Vim? ~ In some terminals such as xterm the Escape key misbehaves, so Command-T doesn't set up a mapping for it. If you want to try using the escape key -anyway, you can add something like the following to your `~/.vimrc` file: +anyway, you can add something like the following to your |.vimrc| file: if &term =~ "xterm" || &term =~ "screen" let g:CommandTCancelMap = ['', '']