Move NOTES->README, move Vim syntax file documentation to the file itself and

otherwise tweak some bits.
pull/1/head
Nicholas Marriott 2013-02-19 23:31:04 +00:00
parent c3859d1df1
commit 3108d80b7e
4 changed files with 23 additions and 21 deletions

View File

@ -6,7 +6,7 @@ dist_man1_MANS = tmux.1
# Distribution tarball options. # Distribution tarball options.
EXTRA_DIST = \ EXTRA_DIST = \
CHANGES FAQ NOTES TODO examples compat \ CHANGES FAQ README TODO examples compat \
array.h compat.h tmux.h osdep-*.c array.h compat.h tmux.h osdep-*.c
dist-hook: dist-hook:
grep "^#found_debug=" configure grep "^#found_debug=" configure

View File

@ -16,15 +16,16 @@ To build tmux from a release tarball, do:
$ ./configure && make $ ./configure && make
$ sudo make install $ sudo make install
To get and build the latest version control checkout: To get and build the latest from version control:
$ git clone git://tmux.git.sourceforge.net/gitroot/tmux/tmux $ git clone git://git.code.sf.net/p/tmux/tmux-code tmux
$ cd tmux $ cd tmux
$ sh autogen.sh $ sh autogen.sh
$ ./configure && make $ ./configure && make
For more information see https://sourceforge.net/scm/?type=git&group_id=200378 For more information see https://sourceforge.net/scm/?type=git&group_id=200378
and http://git-scm.com. and http://git-scm.com. Patches should be sent by email to the mailing list at
tmux-users@lists.sourceforge.net.
For documentation on using tmux, see the tmux.1 manpage. It can be viewed from For documentation on using tmux, see the tmux.1 manpage. It can be viewed from
the source tree with: the source tree with:
@ -34,20 +35,8 @@ the source tree with:
Some common questions are answered in the FAQ file and a more extensive (but Some common questions are answered in the FAQ file and a more extensive (but
slightly out of date) guide is available in the OpenBSD FAQ at slightly out of date) guide is available in the OpenBSD FAQ at
http://www.openbsd.org/faq/faq7.html#tmux. A rough todo list is in the TODO http://www.openbsd.org/faq/faq7.html#tmux. A rough todo list is in the TODO
file. file and some example configurations and a Vim syntax file are in the examples
directory.
A Vim syntax file is available in the examples directory. To install it:
- Drop the file in the syntax directory into runtimepath (such as
~/.vim/syntax/tmux.vim).
- Make the filetype recognisable by adding the following to filetype.vim
(~/.vim/filetype.vim):
augroup filetypedetect
au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
augroup END
- Switch on syntax highlighting by adding "syntax enable" to .vimrc.
For debugging, running tmux with -v or -vv will generate server and client log For debugging, running tmux with -v or -vv will generate server and client log
files in the current directory. files in the current directory.
@ -64,8 +53,7 @@ welcome. Please send by email to:
This file and the CHANGES, FAQ and TODO files are licensed under the ISC This file and the CHANGES, FAQ and TODO files are licensed under the ISC
license. Files under examples/ remain copyright their authors unless otherwise license. Files under examples/ remain copyright their authors unless otherwise
stated in the file but permission has been received to distribute them with stated in the file but permission has been received to distribute them with
tmux. All other files have a license and copyright notice at their tmux. All other files have a license and copyright notice at their start.
start.
-- Nicholas Marriott <nicm@users.sf.net> -- Nicholas Marriott <nicm@users.sf.net>

View File

@ -138,7 +138,7 @@ Release tmux for next version
don't have debugging enabled, otherwise make(1) aborts when don't have debugging enabled, otherwise make(1) aborts when
preparing the distribution. preparing the distribution.
2. Update and commit NOTES and CHANGES. The former should be checked for 2. Update and commit README and CHANGES. The former should be checked for
anything outdated and updated with a list of things that might break anything outdated and updated with a list of things that might break
upgrades and the latter should mention all the major changes since upgrades and the latter should mention all the major changes since
the last version. the last version.

View File

@ -3,6 +3,20 @@
" Maintainer: Tiago Cunha <tcunha@users.sourceforge.net> " Maintainer: Tiago Cunha <tcunha@users.sourceforge.net>
" Last Change: $Date: 2010-07-27 18:29:07 $ " Last Change: $Date: 2010-07-27 18:29:07 $
" License: This file is placed in the public domain. " License: This file is placed in the public domain.
"
" To install this file:
"
" - Drop the file in the syntax directory into runtimepath (such as
" ~/.vim/syntax/tmux.vim).
" - Make the filetype recognisable by adding the following to filetype.vim
" (~/.vim/filetype.vim):
"
" augroup filetypedetect
" au BufNewFile,BufRead .tmux.conf*,tmux.conf* setf tmux
" augroup END
"
" - Switch on syntax highlighting by adding "syntax enable" to .vimrc.
"
if version < 600 if version < 600
syntax clear syntax clear