|
@@ -24,6 +24,19 @@ call plug#end()
|
|
" Personal {{{
|
|
" Personal {{{
|
|
|
|
|
|
" Looks {{{
|
|
" Looks {{{
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+function! ConfigPresent()
|
|
|
|
+ " Settings for presentation mode
|
|
|
|
+ set nonumber norelativenumber
|
|
|
|
+endfunction
|
|
|
|
+function! ConfigNoPresent()
|
|
|
|
+ " Settings for non-presentation mode
|
|
|
|
+ set number relativenumber
|
|
|
|
+endfunction
|
|
|
|
+nnoremap <Leader>gp :call ConfigPresent()<CR>
|
|
|
|
+nnoremap <Leader>gP :call ConfigNoPresent()<CR>
|
|
|
|
+
|
|
" Window title reflects document title
|
|
" Window title reflects document title
|
|
set title
|
|
set title
|
|
|
|
|
|
@@ -33,7 +46,7 @@ set textwidth=80
|
|
|
|
|
|
" HUD {{{
|
|
" HUD {{{
|
|
set hlsearch incsearch
|
|
set hlsearch incsearch
|
|
-set number relativenumber
|
|
|
|
|
|
+call ConfigNoPresent()
|
|
set ruler
|
|
set ruler
|
|
set showcmd
|
|
set showcmd
|
|
" }}}
|
|
" }}}
|