diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-03-13 12:22:24 +0000 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-03-13 12:22:24 +0000 |
commit | d6513818eecaf8e3dc9a2e62ba939eb0b35651bc (patch) | |
tree | 9624172a7bcc3ff77f28d901586f6529c0f8cdef | |
parent | 5240d0d58cf9b8d4ea25bb159c425e66403bd2d2 (diff) |
Use feh to open pngs
-rw-r--r-- | vim/.vimrc | 5 | ||||
-rw-r--r-- | xdg-open/.config/mimeapps.list | 1 |
2 files changed, 4 insertions, 2 deletions
@@ -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 <silent> [B :BufSurfBack<cr>:bd! #<cr> nnoremap <silent> ]B :BufSurfForward<cr>:bd! #<cr> " Alternate file -nnoremap <bs> <c-^> +nnoremap <bs> " Source current file nnoremap ,s :source %<cr> @@ -407,7 +408,7 @@ augroup vimrc autocmd FileType dirvish setlocal relativenumber autocmd FileType dirvish setlocal errorformat=%f autocmd FileType dirvish silent! unmap <buffer> <C-p> - 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; |