Commit Graph

14 Commits

Author SHA1 Message Date
00927c8921 *: Use tabs for indentation where appropriate
I am a big supporter of the approach to indent with tabs and align with
spaces. (Read [here][1] f.e.) Thus at some places a simple `s/ {4}/\t/g`
(replace 4 with whatever fits) is not enough and a bit more thought is
needed. Because of that there are still places where I plan to
substitute the whitespace in the future.

This patch contains exclusively whitespace changes. Check for yourself
with `git diff --ignore-all-space`.

[1]: https://dmitryfrank.com/articles/indent_with_tabs_align_with_spaces
2022-06-23 23:59:01 +02:00
b96d32996b *: Wrap lines at 80 columns where appropriate
Wrap lines at 80 columns where appropriate and I had the energy to think
about how/where to wrap.

There are still lines longer than that, which I plan to wrap in the
future. But that is enough for now.
2022-06-23 23:59:00 +02:00
druckdev
526fd993f7 ranger: Switch w3m with ueberzug 2020-11-23 01:36:55 +01:00
druckdev
f170429306 ranger: Enable video thumbnails 2020-10-24 18:45:17 +02:00
druckdev
ea4f13dc84 ranger: Add config symlink to rc.conf for conf
Since `rc.conf` is not matched by `conf` and it does not really match a
broader pattern that could be added.
2020-10-06 03:27:37 +02:00
druckdev
b390d9df5f ranger: Replace filter with fzf-like scout command 2020-10-06 01:22:30 +02:00
druckdev
bcdbe8039b ranger: Use bat to preview text files (WIP)
wrap_plaintext_previews has to be disabled, otherwise bats output is
completely messed up. On the other hand I'd like to have it turned on
since it is useful when the usually pretty long file type classification
is used as preview.
2020-09-23 03:01:24 +02:00
druckdev
6bfea69a24 Improve rangers CR2 image preview performance
Make rangers CR2 image preview faster by displaying an extracted preview
JPG using exiftool instead of converting it.
2020-09-20 03:55:39 +02:00
druckdev
06f0b1c40f Add ranger preview script
Add ranger (1.9.3) default scope.sh.
Generated by `ranger --copy-config=scope`.
2020-09-19 16:01:02 +02:00
druckdev
3227d7ed82 Quit ranger with escape
I had to use the latest master commit (v1.9.3-99-g240d8a0e) for this to
work since apparently there is a bug in v.1.9.3 that ignores the binding
of ESC.
2020-09-15 10:36:43 +02:00
druckdev
778f492aed Add custom ranger keybindings
f should filter and not find. All filters should be cleaned when
changing directories.
C-t should open a new tab like it does in almost every GUI application.
2020-09-15 01:32:39 +02:00
druckdev
be7f5229bc Let ranger not set the tmux title
Apparently there is a bug in my st setup that leads to the window title
being changed independently of tmux running.
Since my i3 setup checks for the window name for the scratchpad terminal
this has to stop.
2020-09-15 01:23:13 +02:00
druckdev
fdb9dbe92e Set custom ranger options 2020-09-15 01:22:34 +02:00
druckdev
1e07714529 Add ranger config
Add ranger (v.1.9.3) default options generated by
`ranger --copy-config=rc`
and then deleting all keybindings, the header and a useless comment.
2020-09-15 01:14:18 +02:00