From 3e14a30f653616fdebab3b96b9c91980f7bb694b Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Wed, 4 Aug 2021 19:46:15 +0200 Subject: Added YankFilePath command in vimrc --- config/mutt/muttrc | 7 ++----- config/vim/vimrc | 4 +++- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'config') diff --git a/config/mutt/muttrc b/config/mutt/muttrc index e99f66a..9eb04d8 100644 --- a/config/mutt/muttrc +++ b/config/mutt/muttrc @@ -57,13 +57,10 @@ source "$XDG_DATA_HOME/mutt/gruvbox/colors-gruvbox-shuber.muttrc" # gruvbox # password # command to set it up -# cat < $XDG_DATA_HOME/mutt/passwd.muttrc.gpg # set imap_passwd = "xxx" # set smtp_passwd = "xxx" -# EOF | -# gpg -r xxx@xxx.xxx -e passwd.muttrc > passwd.muttrc.gpg && -# shred passwd.muttrc && -# rm passwd.muttrc +# EOF source "gpg -d $XDG_DATA_HOME/mutt/passwd.muttrc.gpg 2> /dev/null |" macro pager ,v |urlscan diff --git a/config/vim/vimrc b/config/vim/vimrc index 8632bb5..585e5bf 100644 --- a/config/vim/vimrc +++ b/config/vim/vimrc @@ -354,4 +354,6 @@ inoremap =TabOrComplete('next') " st maps Shift-Tab to [Z (and it's discouraged to change it) inoremap [Z =TabOrComplete('prev') -command! LaTeXtoUnicodeToggle :call LaTeXtoUnicode#Toggle() +command! LaTeXtoUnicodeToggle call LaTeXtoUnicode#Toggle() + +command! YankFilePath let @" = expand('%') -- cgit