From d6513818eecaf8e3dc9a2e62ba939eb0b35651bc Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Tue, 13 Mar 2018 12:22:24 +0000 Subject: Use feh to open pngs --- vim/.vimrc | 5 +++-- xdg-open/.config/mimeapps.list | 1 + 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vim/.vimrc b/vim/.vimrc index fdfbc2a..34d2acb 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -65,6 +65,7 @@ Plug 'vim-scripts/ReplaceWithRegister' Plug 'vim-scripts/gmsh.vim' Plug 'wellle/targets.vim' +Plug '~/Dropbox/projects/vim-remembrall/' if has("nvim") " Plug 'roxma/nvim-completion-manager' Plug 'Shougo/deoplete.nvim' @@ -344,7 +345,7 @@ nnoremap [B :BufSurfBack:bd! # nnoremap ]B :BufSurfForward:bd! # " Alternate file -nnoremap +nnoremap  " Source current file nnoremap ,s :source % @@ -407,7 +408,7 @@ augroup vimrc autocmd FileType dirvish setlocal relativenumber autocmd FileType dirvish setlocal errorformat=%f autocmd FileType dirvish silent! unmap - autocmd FileType tex set spell + autocmd FileType tex setlocal spell augroup END " }}} diff --git a/xdg-open/.config/mimeapps.list b/xdg-open/.config/mimeapps.list index c1a342a..de39a60 100644 --- a/xdg-open/.config/mimeapps.list +++ b/xdg-open/.config/mimeapps.list @@ -1,6 +1,7 @@ [Default Applications] text/plain=nvim.desktop; image/jpeg=feh.desktop; +image/png=feh.desktop; inode/directory=vifm.desktop;nautilus.desktop; text/html=qutebrowser.desktop;firefox.desktop; application/pdf=zathura.desktop; -- cgit v1.2.3