diff options
Diffstat (limited to 'stow/vim/dot-vim/ftplugin/sent/sent.vim')
-rw-r--r-- | stow/vim/dot-vim/ftplugin/sent/sent.vim | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/stow/vim/dot-vim/ftplugin/sent/sent.vim b/stow/vim/dot-vim/ftplugin/sent/sent.vim new file mode 100644 index 0000000..c9cc974 --- /dev/null +++ b/stow/vim/dot-vim/ftplugin/sent/sent.vim @@ -0,0 +1,19 @@ +" ~/.vim/ftplugin/sent/sent.vim +" Vim configuration for writing sent presentations + +" Tabs hate: tabs are expanded to 4 spaces +setlocal tabstop=4 shiftwidth=4 expandtab +" Show existing tabs (they can be deleted with :retab) +setlocal list + +call matchadd('ColorColumn', '\%41v', 100) +setlocal textwidth=40 + +setlocal spell + +let mapleader = " " + +nnoremap <buffer> <leader>C :sp ~/.vim/ftplugin/sent/sent.vim<CR> + +nnoremap <buffer> <leader>c :w<CR>:!killall sent <CR>:!sent % & <CR><CR> +nnoremap <buffer> <leader>o :w<CR>:!sent % & <CR><CR> |