2 Commits 4d9f565645 ... 9083bd27c0

Author SHA1 Message Date
  Daniel Sheffield 9083bd27c0 fix conflict with jump forward 2 weeks ago
  Daniel Sheffield a1a668ecd4 add mapping for presentation mode 2 weeks ago
1 changed files with 15 additions and 2 deletions
  1. 15 2
      vim/vimfiles/vimrc

+ 15 - 2
vim/vimfiles/vimrc

@@ -24,6 +24,19 @@ call plug#end()
 " Personal {{{
 
 " 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
 set title
 
@@ -33,7 +46,7 @@ set textwidth=80
 
 " HUD {{{
 set hlsearch incsearch
-set number relativenumber
+call ConfigNoPresent()
 set ruler
 set showcmd
 " }}}
@@ -365,5 +378,5 @@ set showcmd
 silent! call feedkeys(":nohlsearch\<CR>")
 
 " Fix CTRL-] suppressed on Alacritty for Windows
-nnoremap <TAB> <C-]>
+nnoremap <LEADER><TAB> <C-]>