Fix absolute paths in mail stack
This commit is contained in:
parent
6e8ff759b0
commit
741a7f300b
|
@ -2,8 +2,8 @@
|
|||
defaults
|
||||
auth on
|
||||
tls on
|
||||
tls_trust_file /usr/local/share/certs/ca-root-nss.crt
|
||||
logfile ~/.msmtp.log
|
||||
tls_trust_file /etc/ssl/certs/ca-certificates.crt
|
||||
logfile /tmp/msmtp.log
|
||||
# Accounts
|
||||
account gmail
|
||||
host smtp.gmail.com
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
macro index,pager i1 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/gmail.muttrc<enter><change-folder>!<enter>'
|
||||
macro index,pager i2 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/gmail.muttrc<enter><change-folder>!<enter>'
|
||||
source /home/coolneng/.config/neomutt/accounts/gmail.muttrc
|
||||
macro index,pager i2 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/uni.muttrc<enter><change-folder>!<enter>'
|
||||
macro index,pager i1 '<sync-mailbox><enter-command>source "/home/coolneng/.config/neomutt"/accounts/uni.muttrc<enter><change-folder>!<enter>'
|
||||
source /home/coolneng/.config/neomutt/accounts/uni.muttrc
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/usr/local/bin/python3.6
|
||||
#!/bin/python3
|
||||
|
||||
import re
|
||||
import sys
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
augroup filetypedetect
|
||||
" Mail
|
||||
autocmd BufRead,BufNewFile *neomutt-* setfiletype markdown
|
||||
augroup END
|
17
vim/.vimrc
17
vim/.vimrc
|
@ -10,32 +10,27 @@ set nofoldenable
|
|||
set expandtab
|
||||
set tabstop=2
|
||||
set shiftwidth=2
|
||||
" Don't litter swp files everywhere
|
||||
""Don't litter swp files everywhere
|
||||
set backupdir=~/.cache
|
||||
set directory=~/.cache
|
||||
""Keybindings
|
||||
set pastetoggle=<F2>
|
||||
map <Space> :noh<CR>
|
||||
"" Mail
|
||||
au FileType mail
|
||||
\ if expand('%p') =~ '^/tmp/neomutt-' |
|
||||
\ set ft=markdown |
|
||||
\ endif
|
||||
"" Markdown
|
||||
""Markdown
|
||||
au FileType markdown Goyo
|
||||
let g:markdown_fenced_languages = ['cpp', 'python', 'java', 'sql']
|
||||
let g:vim_markdown_math=1
|
||||
"" Pandoc
|
||||
""Pandoc
|
||||
autocmd FileType markdown nnoremap <silent> <F3> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template eisvogel --listings --toc -V lang=es &<cr>
|
||||
autocmd FileType markdown nnoremap <silent> <F4> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template handout &<cr>
|
||||
autocmd FileType markdown nnoremap <silent> <F5> :<c-u>!pandoc %:p:S -o %:p:r:S.pdf --from markdown --template assignment &<cr>
|
||||
autocmd FileType markdown nnoremap <silent> <F6> :<c-u>!zathura %:p:r:S.pdf &<cr>
|
||||
autocmd FileType markdown nnoremap <silent> <F7> :<c-u>!rm %:p:r:S.pdf &<cr>
|
||||
"" Snippets
|
||||
""Snippets
|
||||
let g:UltiSnipsExpandTrigger = '<tab>'
|
||||
let g:UltiSnipsJumpForwardTrigger = '<tab>'
|
||||
let g:UltiSnipsJumpBackwardTrigger = '<s-tab>'
|
||||
"" Vim-plug
|
||||
""Vim-plug
|
||||
call plug#begin('~/.vim/plugged')
|
||||
Plug 'plasticboy/vim-markdown', { 'for': 'markdown' }
|
||||
Plug 'junegunn/goyo.vim', { 'on': 'Goyo' }
|
||||
|
@ -45,7 +40,7 @@ Plug 'airblade/vim-gitgutter'
|
|||
Plug 'tpope/vim-surround'
|
||||
Plug 'Raimondi/delimitMate'
|
||||
call plug#end()
|
||||
"" Quitting whether Goyo is active or not
|
||||
""Quitting whether Goyo is active or not
|
||||
function! g:Goyo_before()
|
||||
let b:quitting = 0
|
||||
let b:quitting_bang = 0
|
||||
|
|
Loading…
Reference in New Issue