summaryrefslogtreecommitdiffstats
path: root/.config/nvim
diff options
context:
space:
mode:
authorLuke Smith <luke@lukesmith.xyz>2019-02-02 08:21:19 -0500
committerLuke Smith <luke@lukesmith.xyz>2019-02-02 08:21:19 -0500
commit4fd200501eb118796fd3efc6401c044555e6690f (patch)
tree50e7a43f16445934e15e49a8ca9d366f599b6ae4 /.config/nvim
parent4bea307828695bce2c8b9c1fdbf48dba742c9181 (diff)
downloadeibhear-4fd200501eb118796fd3efc6401c044555e6690f.tar.gz
eibhear-4fd200501eb118796fd3efc6401c044555e6690f.tar.zst
eibhear-4fd200501eb118796fd3efc6401c044555e6690f.zip
only one leader
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/init.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index e975d38..25c84ca 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -28,7 +28,7 @@ set clipboard=unnamedplus
autocmd FileType * setlocal formatoptions-=c formatoptions-=r formatoptions-=o
" Goyo plugin makes text more readable when writing prose:
- map <leader>f :Goyo \| set linebreak<CR>
+ map <leader>f :Goyo \| set bg=light \| set linebreak<CR>
" Spell-check set to <leader>o, 'o' for 'orthography':
map <leader>o :setlocal spell! spelllang=en_us<CR>
@@ -104,7 +104,7 @@ set clipboard=unnamedplus
"""LATEX
" Word count:
- autocmd FileType tex map <leader><leader>o :w !detex \| wc -w<CR>
+ autocmd FileType tex map <leader>w :w !detex \| wc -w<CR>
" Code snippets
autocmd FileType tex inoremap ,fr \begin{frame}<Enter>\frametitle{}<Enter><Enter><++><Enter><Enter>\end{frame}<Enter><Enter><++><Esc>6kf}i
autocmd FileType tex inoremap ,fi \begin{fitch}<Enter><Enter>\end{fitch}<Enter><Enter><++><Esc>3kA