summaryrefslogtreecommitdiffstats
path: root/vim/syntax
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2012-10-16 04:46:33 -0500
committerJesse Luehrs <doy@tozt.net>2012-10-19 12:08:24 -0500
commitbc8605778466ddeb192de225c234a820db29c467 (patch)
treedaaff8cc0ebef630339ae75799d646550d6331d4 /vim/syntax
parentb7992389f1bcf70d59415d4d466f11ed8fbd9e57 (diff)
downloadconf-bc8605778466ddeb192de225c234a820db29c467.tar.gz
conf-bc8605778466ddeb192de225c234a820db29c467.zip
update tmux config
Diffstat (limited to 'vim/syntax')
-rw-r--r--vim/syntax/tmux.vim108
1 files changed, 65 insertions, 43 deletions
diff --git a/vim/syntax/tmux.vim b/vim/syntax/tmux.vim
index 1e655df..6556e16 100644
--- a/vim/syntax/tmux.vim
+++ b/vim/syntax/tmux.vim
@@ -1,7 +1,8 @@
" Vim syntax file
" Language: tmux(1) configuration file
-" Maintainer: Tiago Cunha <me@tiagocunha.org>
-" Last Change: $Date: 2009/07/30 21:11:10 $
+" Maintainer: Tiago Cunha <tcunha@users.sourceforge.net>
+" Last Change: $Date: 2010-07-27 18:29:07 $
+" License: This file is placed in the public domain.
if version < 600
syntax clear
@@ -15,53 +16,74 @@ syntax case match
syn keyword tmuxAction any current none
syn keyword tmuxBoolean off on
-syn keyword tmuxCmds detach[-client] ls list-sessions neww new-window
-syn keyword tmuxCmds bind[-key] unbind[-key] prev[ious-window] last[-window]
-syn keyword tmuxCmds lsk list-keys set[-option] renamew rename-window selectw
-syn keyword tmuxCmds select-window lsw list-windows attach[-session]
-syn keyword tmuxCmds send-prefix refresh[-client] killw kill-window lsc
-syn keyword tmuxCmds list-clients linkw link-window unlinkw unlink-window
-syn keyword tmuxCmds next[-window] send[-keys] swapw swap-window
-syn keyword tmuxCmds rename[-session] kill-session switchc switch-client
-syn keyword tmuxCmds has[-session] scroll-mode copy-mode pasteb paste-buffer
-syn keyword tmuxCmds new[-session] start[-server] kill-server setw
-syn keyword tmuxCmds set-window-option show[-options] showw show-window-options
-syn keyword tmuxCmds command-prompt setb set-buffer showb show-buffer lsb
-syn keyword tmuxCmds list-buffers deleteb delete-buffer lscm list-commands
-syn keyword tmuxCmds movew move-window select-prompt respawnw respawn-window
-syn keyword tmuxCmds source[-file] info server-info clock-mode lock[-server]
-syn keyword tmuxCmds pass set-password saveb save-buffer downp down-pane killp
-syn keyword tmuxCmds kill-pane resizep resize-pane selectp select-pane swapp
-syn keyword tmuxCmds swap-pane splitw split-window upp up-pane choose-session
-syn keyword tmuxCmds choose-window loadb load-buffer copyb copy-buffer suspendc
-syn keyword tmuxCmds suspend-client findw find-window breakp break-pane nextl
-syn keyword tmuxCmds next-layout rotatew rotate-window confirm[-before]
-syn keyword tmuxCmds clearhist clear-history selectl select-layout if[-shell]
-syn keyword tmuxCmds display[-message]
+syn keyword tmuxCmds
+ \ attach[-session] detach[-client] has[-session] kill-server
+ \ kill-session lsc list-clients lscm list-commands ls list-sessions
+ \ lockc lock-client locks lock-session new[-session] refresh[-client]
+ \ rename[-session] showmsgs show-messages source[-file] start[-server]
+ \ suspendc suspend-client switchc switch-client
+ \ copy-mode
+ \ breakp break-pane capturep capture-pane choose-client choose-session
+ \ choose-tree choose-window displayp display-panes findw find-window
+ \ joinp join-pane killp kill-pane killw kill-window lastp last-pane
+ \ last[-window] linkw link-window lsp list-panes lsw list-windows movep
+ \ move-pane movew move-window neww new-window nextl next-layout
+ \ next[-window] pipep pipe-pane prevl previous-layout prev[ious-window]
+ \ renamew rename-window resizep resize-pane respawnp respawn-pane
+ \ respawnw respawn-window rotatew rotate-window selectl select-layout
+ \ selectp select-pane selectw select-window splitw split-window swapp
+ \ swap-pane swapw swap-window unlinkw unlink-window
+ \ bind[-key] lsk list-keys send[-keys] send-prefix unbind[-key]
+ \ set[-option] setw set-window-option show[-options] showw
+ \ show-window-options
+ \ setenv set-environment showenv show-environment
+ \ command-prompt confirm[-before] display[-message]
+ \ choose-buffer clearhist clear-history deleteb delete-buffer lsb
+ \ list-buffers loadb load-buffer pasteb paste-buffer saveb save-buffer
+ \ setb set-buffer showb show-buffer
+ \ clock-mode if[-shell] lock[-server] run[-shell] [server-]info
+ \ choose-list
-syn keyword tmuxOptsSet prefix status status-fg status-bg bell-action
-syn keyword tmuxOptsSet default-command history-limit status-left status-right
-syn keyword tmuxOptsSet status-interval set-titles display-time buffer-limit
-syn keyword tmuxOptsSet status-left-length status-right-length message-fg
-syn keyword tmuxOptsSet message-bg lock-after-time default-path repeat-time
-syn keyword tmuxOptsSet message-attr status-attr status-keys set-remain-on-exit
-syn keyword tmuxOptsSet status-utf8 default-terminal visual-activity
-syn keyword tmuxOptsSet visual-bell visual-content status-justify
+syn keyword tmuxOptsSet
+ \ buffer-limit escape-time exit-unattached exit-unattached quiet
+ \ set-clipboard
+ \ base-index bell-action bell-on-alert default-command default-path
+ \ default-shell default-terminal destroy-unattached detach-on-destroy
+ \ display-panes-[active-]colour display-[panes-]time history-limit
+ \ lock-after-time lock-command lock-server message-[command-]attr
+ \ message-[command-]bg message-[command-]fg message-limit
+ \ mouse-resize-pane mouse-select-pane mouse-select-window mouse-utf8
+ \ pane-[active-]border-bg pane-[active-]border-fg prefix prefix2
+ \ renumber-windows repeat-time set-remain-on-exit set-titles
+ \ set-titles-string status status-attr status-bg status-fg
+ \ status-interval status-justify status-keys status-left
+ \ status-left-attr status-left-bg status-left-fg status-left-length
+ \ status-position status-right status-right-attr status-right-bg
+ \ status-right-fg status-right-length status-utf8 terminal-overrides
+ \ update-environment visual-activity visual-bell visual-content
+ \ visual-silence word-separators
-syn keyword tmuxOptsSetw monitor-activity aggressive-resize force-width
-syn keyword tmuxOptsSetw force-height remain-on-exit uft8 mode-fg mode-bg
-syn keyword tmuxOptsSetw mode-keys clock-mode-colour clock-mode-style
-syn keyword tmuxOptsSetw xterm-keys mode-attr window-status-attr
-syn keyword tmuxOptsSetw window-status-bg window-status-fg automatic-rename
-syn keyword tmuxOptsSetw main-pane-width main-pane-height monitor-content
-syn keyword tmuxOptsSetw window-status-current-attr window-status-current-bg
-syn keyword tmuxOptsSetw window-status-current-fg mode-mouse utf8
+syn keyword tmuxOptsSetw
+ \ aggressive-resize alternate-screen automatic-rename
+ \ c0-change-interval c0-change-trigger clock-mode-colour
+ \ clock-mode-style force-height force-width layout-history-limit
+ \ main-pane-height main-pane-width mode-attr mode-bg mode-fg move-keys
+ \ mode-mouse monitor-activity monitor-content monitor-silence
+ \ other-pane-height other-pane-width pane-base-index remain-on-exit
+ \ synchronize-panes utf8 window-status-bell-attr window-status-bell-bg
+ \ window-status-bell-fg window-status-content-attr
+ \ window-status-content-bg window-status-content-fg
+ \ window-status-activity-attr window-status-activity-bg
+ \ window-status-activity-fg window-status-attr
+ \ window-status-[current-]attr window-status-[current-]bg
+ \ window-status-[current-]fg window-status-[current-]format
+ \ window-status-separator xterm-keys wrap-search
syn keyword tmuxTodo FIXME NOTE TODO XXX contained
-syn match tmuxKey /\(C-\|M-\|\^\)\p/ display
+syn match tmuxKey /\(C-\|M-\|\^\)\+\S\+/ display
syn match tmuxNumber /\d\+/ display
-syn match tmuxOptions /\s-\a/ display
+syn match tmuxOptions /\s-\a\+/ display
syn match tmuxVariable /\w\+=/ display
syn match tmuxVariableExpansion /\${\=\w\+}\=/ display