diff --git a/src/.config/neomutt/binds.muttrc b/src/.config/neomutt/binds.muttrc index 482e7d2..b021aa1 100644 --- a/src/.config/neomutt/binds.muttrc +++ b/src/.config/neomutt/binds.muttrc @@ -13,3 +13,6 @@ bind index,pager \CP sidebar-prev bind index,pager \CN sidebar-next bind index,pager \CO sidebar-open bind index,pager \CB sidebar-toggle-visible + +set wait_key=no +macro index,pager \Cb "set pipe_decode = yesnvim -R -c 'set filetype=mail' set pipe_decode = no" diff --git a/src/.config/nvim/init.vim b/src/.config/nvim/init.vim index 4463a4d..b215479 100755 --- a/src/.config/nvim/init.vim +++ b/src/.config/nvim/init.vim @@ -131,6 +131,8 @@ endif Plug 'nvim-treesitter/nvim-treesitter' +Plug 'axieax/urlview.nvim' + call plug#end() lua << EOF @@ -152,6 +154,16 @@ require'nvim-treesitter.configs'.setup { } EOF +lua << EOF +require("urlview").setup({ + jump = { + prev = "uj", + next = "uh", + }, +}) +EOF +:nnoremap uu :let @+ = expand('') + " Code folding set foldmethod=expr set foldexpr=nvim_treesitter#foldexpr()