mirror of
https://github.com/tmate-io/tmate.git
synced 2025-01-11 16:38:47 +01:00
Add note about the syntax file.
This commit is contained in:
parent
0691217742
commit
b45c37edc6
15
NOTES
15
NOTES
@ -59,6 +59,19 @@ this may be turned on for all windows by setting it as a global option, see
|
||||
tmux(1) and the FAQ file. In addition, when starting tmux or attaching to an
|
||||
existing session from a UTF-8-capable terminal, the -u flag must be specified.
|
||||
|
||||
A Vim syntax file is available in the examples directory. To install it:
|
||||
- Drop the file in the syntax directory in your runtimepath
|
||||
(e.g. ~/.vim/syntax/tmux.vim).
|
||||
- Make the filetype recognisable by adding the following to filetype.vim
|
||||
(again) in your runtimepath (e.g. ~/.vim/filetype.vim):
|
||||
|
||||
augroup filetypedetect
|
||||
au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
|
||||
augroup END
|
||||
|
||||
- Switch on syntax highlighting in your vimrc file by adding "syntax enable"
|
||||
to it.
|
||||
|
||||
There are the following known issues:
|
||||
|
||||
- cons25 on the FreeBSD console doesn't support scroll region (cs) (or lies
|
||||
@ -86,4 +99,4 @@ welcome. Please email:
|
||||
|
||||
-- Nicholas Marriott <nicm@users.sf.net>
|
||||
|
||||
$Id: NOTES,v 1.40 2009-01-17 17:51:54 nicm Exp $
|
||||
$Id: NOTES,v 1.41 2009-01-18 15:55:33 tcunha Exp $
|
||||
|
Loading…
Reference in New Issue
Block a user