aboutsummaryrefslogtreecommitdiffhomepage
path: root/data/sisu/conf
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2007-12-03 18:35:40 +0000
committerRalph Amissah <ralph@amissah.com>2007-12-03 18:35:40 +0000
commit60ac91832098884b494c1223e0b881696ef8133c (patch)
tree06a6233ed9d501775102bb3df21115ba172dccbe /data/sisu/conf
parentsisu-0.62.3-3 + md5s (diff)
vim ftplugin/sisu and colors/slate
ftplugin, added toggle for menu slate, added cursor line and column color black ... may not provide enough contrast for some, this way i use it though
Diffstat (limited to 'data/sisu/conf')
-rw-r--r--data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim3
-rw-r--r--data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim11
2 files changed, 12 insertions, 2 deletions
diff --git a/data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim b/data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim
index c13a821a..64ae0ff1 100644
--- a/data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim
+++ b/data/sisu/conf/editor-syntax-etc/vim/colors/slate.vim
@@ -54,3 +54,6 @@ endif
:hi Underlined cterm=underline ctermfg=5
:hi Error guifg=White guibg=Red cterm=bold ctermfg=7 ctermbg=1
:hi SpellErrors guifg=White guibg=Red cterm=bold ctermfg=7 ctermbg=1
+:hi CursorLine guibg=black ctermbg=black
+:hi CursorColumn guibg=black ctermbg=black
+
diff --git a/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim b/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim
index 7cd6fdcc..bbb98bf3 100644
--- a/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim
+++ b/data/sisu/conf/editor-syntax-etc/vim/ftplugin/sisu.vim
@@ -25,7 +25,14 @@
:set incsearch
:set hlsearch
:set gdefault
-:set guioptions=agmr
+:set guioptions=agr " add 'm' for menu
+:map <silent> <C-m> :if &guioptions =~# 'm' <Bar>
+ \set guioptions-=m <Bar>
+ \set guioptions-=T <Bar>
+ \else <Bar>
+ \set guioptions+=m <Bar>
+ \set guioptions-=T <Bar>
+ \endif<CR>
:set paste
:set statusline=%f%m%r%h%w\ [type=%Y]\ [format=%{&ff}]\ [%v:%l/%L\ %p%%]
:set laststatus=2 " status line always on
@@ -72,7 +79,7 @@
"% search and replace
:map <C-S> :.,$s///c "search and replace down
:map <c-G> :%s///c "search and replace whole file
-:map <c-X> :rubyd gsub!(//, "")
+:map <c-X> :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()