summaryrefslogtreecommitdiffstats
path: root/NOTES
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-01-18 15:55:33 +0000
committerTiago Cunha <tcunha@gmx.com>2009-01-18 15:55:33 +0000
commitb45c37edc66d326166ad7d52922ff48060d77a09 (patch)
tree2a55084aa75fe56a43aa2e6f4aaaa1ac2d23725a /NOTES
parent0691217742643603b9d119fad9495f5eb734756f (diff)
Add note about the syntax file.
Diffstat (limited to 'NOTES')
-rw-r--r--NOTES15
1 files changed, 14 insertions, 1 deletions
diff --git a/NOTES b/NOTES
index 7633e10b..4980a6c6 100644
--- a/NOTES
+++ b/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 $