diff --git a/.vim/after/plugin/keymaps.vim b/.vim/after/plugin/keymaps.vim index 76ed621..fb0cb85 100644 --- a/.vim/after/plugin/keymaps.vim +++ b/.vim/after/plugin/keymaps.vim @@ -6,3 +6,4 @@ nnoremap :Goyo nnoremap nnoremap :w :! clear; ./% nnoremap Q +command PG :r!echo -n $(passgen) diff --git a/.vimrc b/.vimrc index 8fbacfc..19b5be3 100644 --- a/.vimrc +++ b/.vimrc @@ -79,3 +79,6 @@ autocmd! User GoyoEnter Limelight autocmd! User GoyoLeave Limelight! " Keymaps are in `~/.vim/after/plugin/keymaps.vim` + +" read bashrc for executing commands inside vim +:set shellcmdflag=-ic