Commit graph

14 commits

Author SHA1 Message Date
8422285717
vifm: Add additional configuration and functions
Renamed fuzzy find functions to simpler and more logical names:
`fzf` to find and select anything recursing from current directory.
`fzfcd` to find and enter any directory recursively under current one.
`fzfhome` to locate and select anything from user's home directory.

Added shortcuts for above commands:
<space>f `fzf`
<space>c `fzfcd`
<space>F `grep` from current directory.

Added shortcuts to create and extract archives:
xx to extract selected archive.
xa to archive selected files, giving name of file under cursor.
xc to archive and compress selected files, giving name of file under
 cursor.

Move ability to sync current pane to other one from mapping (c-y) to
command (`:syncme`). This is a command only used once in a while and
does not necessarily need its own full mapping. Additionally, having it
as an invocable command mirrors the built-in `:sync` command to do the
exact opposite - sync the other pane to the selected one.
2021-10-09 23:21:39 +02:00
176a4a233d
vifm: Obey XDG Trash directory
Moved trash directory vifm uses from its own data location to the one
proposed by XDG specification. Essentially moves it to
`.local/share/Trash`.
2021-08-18 22:33:12 +02:00
4a203cf657
vifm: Fix vifmrun script argument parsing
Fixed invocations of vifm only passing through the first commandline
option, now passes through everything correctly.
Also fixed silencing of the stderr, stdout redirection.
2021-04-21 11:09:33 +02:00
c9c0490cbf
xdg: Move xdg media directories
Moved all directories with media contents (pictures, videos, music) to a
single coherent media directory.
2021-04-18 13:04:59 +02:00
0d978f7673
sh: Update xdg directory auto creation
Improved the automatic directory creation somewhat:
It now looks for either a file existing there (could be a directory,
could be an actual file), or a symbolic link pointing somewhere else.

Only if none of those things are at the xdg location will it try to
create a new directory there.

Additionally, it will set the correct permissions for the whole folder
chain being created, NOT just for the last folder in the chain.

vifm: Switch to new xdg directory structure
2021-04-18 13:04:01 +02:00
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
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
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
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
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
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
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
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
d34cecb27e Switch to GNU stow 2019-12-29 23:12:13 +01:00