Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add g:galaxy_term_cursor_hl
  • Loading branch information
gu-fan committed Nov 4, 2012
1 parent 5a6dfba commit 15938e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 3 additions & 2 deletions autoload/galaxy.vim
Expand Up @@ -6,7 +6,7 @@
" License: The MIT Licence
" http://www.opensource.org/licenses/mit-license.php
" Copyright (c) 2011-2012 Rykka G.Forest
" Last Update: 2012-07-03
" Last Update: 2012-11-05
"=============================================================
let s:save_cpo = &cpo
set cpo&vim
Expand All @@ -24,6 +24,7 @@ function! s:default(option, value) "{{{
return 1
endfunction "}}}
call s:default("g:galaxy_debug", 0)
call s:default("g:galaxy_term_cursor_hl", 0)
call s:default("g:galaxy_visual_hl_fg", 1)
call s:default("g:galaxy_tcursor_color", "DarkGray")

Expand Down Expand Up @@ -3156,7 +3157,7 @@ function! s:load(...) "{{{
endif

" restore cursor in term
if s:mode=="cterm"
if s:mode=="cterm" && g:galaxy_term_cursor_hl
call s:term_cursor()
endif

Expand Down
4 changes: 4 additions & 0 deletions doc/galaxy.txt
Expand Up @@ -375,6 +375,10 @@
By default is 0 , to make the |Visual| section transparent.

Terminal~
*g:galaxy_term_cursor_hl*
'g:galaxy_term_cursor_hl' (default: 0)
Set to 1 to enable term cursor highlighting

*g:galaxy_tcursor_color*
'g:galaxy_tcursor_color' (default:"DarkGray")
Set terminal cursor color to it after exit vim.
Expand Down

0 comments on commit 15938e6

Please sign in to comment.