dotfiles

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README | LICENSE

commit 4fd200501eb118796fd3efc6401c044555e6690f
parent 4bea307828695bce2c8b9c1fdbf48dba742c9181
Author: Luke Smith <luke@lukesmith.xyz>
Date:   Sat,  2 Feb 2019 08:21:19 -0500

only one leader

Diffstat:
M.config/nvim/init.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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