diff options
author | Ralph Amissah <ralph@amissah.com> | 2010-06-05 20:23:17 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2010-06-05 20:23:17 -0400 |
commit | 60411000876af5df2a372d636b6ca69823c2cedd (patch) | |
tree | a145bd626b343b0e28d52b861f0ba5aa78173df7 /data/sisu/v2/conf | |
parent | debian/changelog (2.4.2-1) (diff) | |
parent | update: changelog, version (2.4.3) (diff) |
Merge branch 'upstream' into debian/sid
Diffstat (limited to 'data/sisu/v2/conf')
-rw-r--r-- | data/sisu/v2/conf/editor-syntax-etc/vim/ftplugin/sisu.vim | 24 | ||||
-rw-r--r-- | data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim | 2 |
2 files changed, 9 insertions, 17 deletions
diff --git a/data/sisu/v2/conf/editor-syntax-etc/vim/ftplugin/sisu.vim b/data/sisu/v2/conf/editor-syntax-etc/vim/ftplugin/sisu.vim index 314dd7d2..160444fd 100644 --- a/data/sisu/v2/conf/editor-syntax-etc/vim/ftplugin/sisu.vim +++ b/data/sisu/v2/conf/editor-syntax-etc/vim/ftplugin/sisu.vim @@ -1,14 +1,10 @@ "%% SiSU Vim ftplugin " SiSU Maintainer: Ralph Amissah <ralph@amissah.com> -" SiSU Markup: SiSU (sisu-0.38) +" SiSU Markup: SiSU (sisu-2.0) 2010-06-05 " an ftplugin setting defaults for editing sisu markup files :syntax on :filetype on :filetype indent on -":let dialect='UK' -:if version >= 700 -: setlocal spell spelllang=en_us -:endif :autocmd FileType sisu :set nonumber :set encoding=utf-8 fileencodings= :set ff=unix @@ -55,11 +51,8 @@ : cmap q qa :endif "% directory files, placed in vertical split window -:map <leader>dir :vs<cr><C-W><C-R> :Explore<cr> -:map <leader>nn :set nonumber paste<cr> -:map <leader>nu :set number paste<cr> -:map <leader>no :set number nopaste<cr> -"% vimdiff q exits +:map <leader>ls :vs<cr> :Explore<cr> +:map <leader>dir :vs<cr> :Explore<cr> :if &diff : cmap q qa :endif @@ -77,9 +70,9 @@ "% colorscheme slate :map <C-C> :syntax on <cr> :colorscheme slate<cr> "% search and replace -:map <C-@> :.,$s///c "search and replace down -:map <c-G> :%s///c "search and replace whole file -:map <c-X> :rubyd gsub!(//,"") +:map <leader>rd :.,$s///c "search and replace down +:map <leader>rg :%s///c "search and replace whole file +:map <leader>rr :rubyd gsub!(//,"") "% pwd t64 working directory set to that of the file you're editing "changes pwd to directory of file in current buffer :function! CHANGE_CURR_DIR() @@ -108,7 +101,6 @@ "%% SiSU vim folds "% foldsearchx FoldSearch (opens result of search all else closed) t77 :map fs :set foldmethod=expr foldcolumn=2 foldlevel=0 <cr> -:map <C-F> :F<cr> "consider, is a remapping :map <leader>ff :F<cr> :map <leader>fe :F<cr> zE "% foldtoggle Fold Toggle mapped to <space> @@ -186,5 +178,5 @@ "% cursorline :highlight CursorLine guibg=black ctermbg=black :highlight CursorColumn guibg=black ctermbg=black -map <leader>cu- :set nocursorline nocursorcolumn<cr> -map <leader>cu+ :set cursorline cursorcolumn<cr> +:map <leader>cu- :set nocursorline nocursorcolumn<cr> +:map <leader>cu+ :set cursorline cursorcolumn<cr> diff --git a/data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim b/data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim index 40c050ee..c0d30b89 100644 --- a/data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim +++ b/data/sisu/v2/conf/editor-syntax-etc/vim/syntax/sisu.vim @@ -119,7 +119,7 @@ syn region sisu_markpara contains=sisu_error,sisu_error_wspace start="^=begin" "Errors: syn match sisu_error_wspace contains=sisu_error_wspace "^\s\+[^:]" syn match sisu_error_wspace contains=sisu_error_wspace "\s\s\+" -syn match sisu_error_wspace contains=sisu_error_wspace " \s*$" +syn match sisu_error_wspace contains=sisu_error_wspace "\s\+$" syn match sisu_error contains=sisu_error_wspace "\t\+" syn match sisu_error contains=sisu_error,sisu_error_wspace "\([^ (][_\\]\||[^ (}]\)https\?:\S\+" syn match sisu_error contains=sisu_error "_\?https\?:\S\+[}><]" |