diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2012-02-19 02:27:25 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2012-02-19 02:27:25 +1300 |
commit | a5fa39fb9a737a8a9a11168ce84b95d1441c1e96 (patch) | |
tree | 1c4838af558dc2d6cf8105e777367cd90ab97af6 | |
parent | Correct comment for s:Vparse() function. (diff) | |
download | vim-vawk-a5fa39fb9a737a8a9a11168ce84b95d1441c1e96.tar.gz vim-vawk-a5fa39fb9a737a8a9a11168ce84b95d1441c1e96.zip |
Reorder functions.
-rw-r--r-- | plugin/vawk.vim | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugin/vawk.vim b/plugin/vawk.vim index 3c884bd..4e7c086 100644 --- a/plugin/vawk.vim +++ b/plugin/vawk.vim @@ -64,17 +64,17 @@ function! s:Vfilter(start, end, cols, equiv, logic) endfunction " -" Print only the specified columns. +" Print everything but the specified columns. " -function! s:Vonly(start, end, cols) - call s:Vfilter(a:start, a:end, a:cols, '==', '||') +function! s:Vcut(start, end, cols) + call s:Vfilter(a:start, a:end, a:cols, '\!=', '&&') endfunction " -" Print everything but the specified columns. +" Print only the specified columns. " -function! s:Vcut(start, end, cols) - call s:Vfilter(a:start, a:end, a:cols, '\!=', '&&') +function! s:Vonly(start, end, cols) + call s:Vfilter(a:start, a:end, a:cols, '==', '||') endfunction " |