mirror of
https://github.com/morhetz/gruvbox.git
synced 2025-11-17 15:53:38 -05:00
MoonScript, Lua, Xml, Startify, CtrlP and refactoring
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
" Description: Retro groove color scheme for Vim
|
||||
" Author: morhetz <morhetz@gmail.com>
|
||||
" Source: https://github.com/morhetz/gruvbox
|
||||
" Last Modified: 16 Dec 2013
|
||||
" Last Modified: 11 Mar 2014
|
||||
" -----------------------------------------------------------------------------
|
||||
|
||||
function! gruvbox#bg_toggle()
|
||||
@@ -13,7 +13,7 @@ function! gruvbox#bg_toggle()
|
||||
set background=dark
|
||||
endif
|
||||
|
||||
colo gruvbox
|
||||
colorcheme gruvbox
|
||||
endfunction
|
||||
|
||||
function! gruvbox#invert_signs_toggle()
|
||||
@@ -23,5 +23,29 @@ function! gruvbox#invert_signs_toggle()
|
||||
let g:gruvbox_invert_signs=0
|
||||
endif
|
||||
|
||||
colo gruvbox
|
||||
colorscheme gruvbox
|
||||
endfunction
|
||||
|
||||
" Search Highlighting {{{
|
||||
|
||||
function! gruvbox#hls_show()
|
||||
set hlsearch
|
||||
call GruvboxHlsShowCursor()
|
||||
endfunction
|
||||
|
||||
function! gruvbox#hls_hide()
|
||||
set nohlsearch
|
||||
call GruvboxHlsHideCursor()
|
||||
endfunction
|
||||
|
||||
function! gruvbox#hls_toggle()
|
||||
if &hlsearch
|
||||
call gruvbox#hls_hide()
|
||||
else
|
||||
call gruvbox#hls_show()
|
||||
endif
|
||||
endfunction
|
||||
|
||||
" }}}
|
||||
|
||||
" vim: set sw=3 ts=3 sts=3 noet tw=80 ft=vim fdm=marker:
|
||||
|
||||
Reference in New Issue
Block a user