Commit graph

9 commits

Author SHA1 Message Date
Marty Oehme 41bfe2df69
mail,mpv,qutebrowser,vifm: Fix small issues
Added videos directory to vifm quick marks (`v`).

Fixed (hopefully) qutebrowser statusbar hiding and showing.

Improved mail checking script password file handling by switching the
hard-coded path to one still somewhat hard-coded, but encapsulated in a
variable to make changing it later on easier. The script is a bit
slap-dash anyway, so when refactored should be refactored overall.

Added `gallery-dl` handling by mpv, whenever a link starting with
`gdl://` is passed in.
2021-03-16 14:37:38 +01:00
Marty Oehme 08c6aee17e
vifm: Set statusline, ruler, fzf, and PDF combine
Set statusline to show more relevant information, and removed 'tip of
the day' functionality since I've never been looking at it.
Set ruler to show me how many files are hidden in a directory.

Added shortcut to quickly combine a bunch of PDFs (`gc`) that are
selected.

Added shortcut (`<leader>f`) to invoke fzf on current directory and
navigate to the result. This mirrors my vim use and mapping.
Additionally, added commands to invoke the fzf functionality (`:FZFfind`
and `FZFlocate`) by hand.

Lastly, moved the file classification and opening functionality a bit
out of the way.
Should still think about handing off opening files to xdg-open since
that's what it's there for, and only make vifm handle the file preview
stuff (i.e. the opposite window buffer preview).
2021-03-14 17:31:05 +01:00
Marty Oehme 3d742a0503
vifm: Add pdf, docx viewer options
Added opening of docx files from vifm through either pandoc
interpretation as markdown if installed, or docx2txt invocation as a
fallback. (pandoc generally interprets the layout better than docx2txt,
especially contained tables).

Similarly, added option to open pdfs with pdftotext program in neovim,
to edit/grep/view only the text without pdf markup in neovim.

Changed key binding to open selected file in neovim from `o` to `e`,
mimicking the edit command found in some other file viewers.
2021-02-19 12:49:14 +01:00
Marty Oehme 92ad105483
vifm: Add tree color preview for directories
Use exa as initial program to display directory previews, fall back to
tree otherwise.
2020-10-06 09:20:01 +02:00
Marty Oehme 4774cd5b15
vifm: Add shortcut to extract selected file
Using `gx` the currently selected file(s?) will get extracted,
automatically using the correct extraction program for the compression
algorithm and creating a folder if necessary to avoid a file explosion
in the current directory (all default features of the `atool` program
which is a dependency)
2020-09-07 22:02:47 +02:00
Marty Oehme 8a5b45f41f
vifm: Add doc|docx preview and nvim opening
Added preview and opening of doc(x) files with nvim.
Makes use of docx2txt, catdoc to display the files, meaning they are
required.

Added some spellchecking words.
2020-07-28 18:15:26 +02:00
Marty Oehme 0e513c04d0
[vifm] Use unique mpv player instance for video
By default now queues to unique mpv player.
2020-05-25 17:50:20 +02:00
Marty Oehme 97f7fcbbd6
Move scripts into respective directories
Having a general script folder makes little sense if the scripts are
targeted to specific applications. This commit moved every script that
solely, or mainly (like ueberzug), targets a single application into
that respective stow module.
2020-02-08 20:17:44 +01:00
Marty Oehme d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00