diff options
author | InigoGutierrez <inigogf.95@gmail.com> | 2021-07-15 01:57:30 +0200 |
---|---|---|
committer | InigoGutierrez <inigogf.95@gmail.com> | 2021-07-15 01:57:30 +0200 |
commit | 14791883624bf10227a6ffa9172c8030b87d4675 (patch) | |
tree | 8245e91cf4da07344dd1148b32c51d2b8c33f76d /stow/vim/.vim/ftplugin/sent/sent.vim | |
parent | b8b7563bd9cf1731cb5dc2e34ed88d5bc1e336c8 (diff) | |
download | configs-14791883624bf10227a6ffa9172c8030b87d4675.tar.gz configs-14791883624bf10227a6ffa9172c8030b87d4675.zip |
Lots of renames: stow can't handle folder with --dotfiles option.
Diffstat (limited to 'stow/vim/.vim/ftplugin/sent/sent.vim')
-rw-r--r-- | stow/vim/.vim/ftplugin/sent/sent.vim | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/stow/vim/.vim/ftplugin/sent/sent.vim b/stow/vim/.vim/ftplugin/sent/sent.vim new file mode 100644 index 0000000..c9cc974 --- /dev/null +++ b/stow/vim/.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> |