Changed mapping to copy path from `yf` to `yp`/`yP`.
Two reasons: I might be better able to remember 'yank-path' when saying
it in my head as a mnemonic, and with the `yf` mapping set I could only
yank things *to* some letter `yt<letter>` not including some letter
`yf<letter>` and it has been very subtly annoying me ever since I
introduced the mapping.
Fixed now.
Also added two variations: `yp` will yank the whole path into the `p`
register, and `yP` will only yank the filename itself.
Here's to remembering the new mapping!
Fixed hidden file creation in home directory by vim-slime. It will now
rather ask nvim to create a temporary file using that as its paste
source.
Also disabled cmp completion in 'guihua' floating windows, as per the
recommendation for navigator.lua.
Fixed grepping for telescope to work again, and work with the native
'live_grep' function.
Replaced fzy extension with precompiled fzf since I have that installed
anyway.
Changed some theming around so I have a fast, minimal file switcher
instead of the big window by default. Can still call the big preview
window through the Telescope command if need be.
Added json to be formatted by prettier like the other javascript-close
filetypes.
Switched the static list of filetypes to automatically format on save to
be replaced by automatically gathering all filetypes set up for
formatter.nvim since I want everything formatted anyway.
Brought back an old universal clipping script and updated it to work
better - well, at all. Can now decide between wl-copy, xclip and xsel
and will do so in that order.
Can take clipping material from the following arguments (will clip any
and all following arguments) or from stdin. Stdin has precedence.
Not much more to say really, but makes writing other applications a bit
more universal when they rely on this universal little tool.
I have been using wayland for about three months now and the 'missing
things' roadmap has been shrinking steadily. There are still some
little things that are annoying, most concerning old xwayland or Gnome
applications such as when I have to make use of Zotero or Element -- all
GUI applications that I would prefer not to use anyway.
Otherwise it's a very pleasant experience and *extremely* solid. I don't
remember any crashes, it feels relatively light weight, multi-monitor
works without any hick-ups and I really can't complain.
I will for the foreseeable future stay with wayland, since it works so
well for me. My riverwm setup will still need some tinkering here and
there to make use of some of its nice features and not just pretend to
be using i3 again. Lastly, I will need to peruse my settings and find
left-over x11 things that will inevitably be hiding in this repository.
All doable things and that makes me happy.
Added simple plugin for some highlighting of criticmarkup.
Criticmarkup is a neat way of doing 'track-changes' in markdown. It's a
bit cumbersome to read just the way it is when there's a lot of changes
however and this plugin helps immensely with that.
There is also a github gist out there which helps using pandoc to turn
Microsoft Word tracked changes into criticmarkup formatted markdown.
Amazing to work with through vim instead of the annoying Office suites!
Though the idea is not bad, I've never used rofi-surfraw in any capacity
and it just clutters up the repository.
Picom was necessary for X11 but is not anymore for wayland, so it's out
as well.
Quickly put up a file server in the current directory by typing `serve`
and the rest is figured out automatically.
Makes use of `sfz`, `gossa`, `rossa` in that order to set up the file
server.
Fix sh module packages to make more extensive use of the exist program
that also ships with the sh module.
Simplifies intent of the code and makes it much easier to read.
Updated code to be able to run a password command chosen individually,
as well as a post-password command.
Used in this instance to `pass open` a password store in a coffin/tomb
before actually trying to read passwords out of it.
The autostart function would accidentally start multiple new graphical
sessions in one terminal when connected to the machine over sshd.
This should fix multiple starts while keeping the old functionality and
speed of checking intact.
Using the `gcd` alias to checkout the development branch switches to, if
no `development` branch is found, the `staging` branch of a repository
automatically instead.
Finally made the switch from alacritty to kitty. I have been thinking
about this for a while. Both, fundamentally, serve my purposes just
fine. Both are fast, customizable, gpu accelerated, and so on.
Kitty feels a little faster on the input, but this should not provide
major differences.
One big difference, however, is now very apparent and I can feel it:
Alacritty, on wayland, does not support any picture preview. It does not
support sixel, and things like w3mimg or ueberzug are based on and
require X11 to run.
Kitty brings its own graphics display library and it seems both pretty
stable and fast.
I have not done much more with it than use it in things like vifm image
previews but it should be much more stable than things like ueberzug,
much faster than things like sixel. Time will tell.
Switched other modules to make use of kitty instead of alacritty:
vifm uses kitty previews,
river spawns kitty instances,
systemd units use kitty instances,
waybar presents extra mouse-click interactions through kitty,
and styler contains a processor to style kitty permanently.
I would love to converge this all a bit more on the `$TERMINAL` env var,
but this is unfortunately difficult for things like systemd and waybar.
For waybar I currently see no real way except for a custom
`ideal-terminal` script which just goes down the list of terminal
emulators I want to run, depending on which is installed,
since it does not read env vars,
while for systemd it might be feasible to import user environment
variables,
but also connected to additional complexity and overhead which it does
not seem worth for the currently two simple service units it affects.
Also removed some obsolete sxhkd and sh settings from the move to
wayland.
Added some simple aliases that were missing from the vi → vim → neovim
chain.
Can be useful for the odd moment when one does not know which exact vim
is installed.
Added pass-pick external repository. Factored out the program from this
repository into its own development repository from which it is pulled
as a submodule for these dotfiles.
Finally added a which-key like extension.
This one is a lua implementation of the old Emacs idea, but comes with
pretty sane defaults and seems less difficult to set up.
So much so that, even out of the box, it seems somewhat useful by
containing explanations of default vim bindings and showing the target
for all mark jumps. (e.g. `g`` or `g'`).
Finally made the switch from the lua surround plugin of my choice to
sandwich -- it provides sane defaults, needs little to no setup, and
comes with a pretty alright default mapping method:
`sa<object><something>` to add surroundings to object
`sr<oldsurround><newsurround>` to replace surroundings (including
`srb<new>` for automatically figuring out what to replace)
`sd<surround>` to delete existing.
Simple and efficient, should make the cut in my estimation.
Added oscyank plugin which allows, through the `:OSCYank` command, to
put stuff into your local clipboard from *anywhere*, even through remote
ssh sessions and so on.
Requires a supported terminal emulator but honestly, most semi
well-known ones are on the list already.
Recently, galaxyline created some troubles in the setup. Lualine is much
much easier to configure and, since I don't need some of the more
advanced features of galaxyline anyway, I can just use the simple setup
it offers.
If ever those features become necessary again I can presumably just
reintroduce them based on the old galaxyline setup that got removed in
this commit.
Added interactive python repl commands with two plugins:
Sending repl snippets over with vim-slime and interacting with python
(notebook-like) snippets in the editor with vim-ipython-cell.
Cells are simply demarcated by `## ` at the beginning of a line, though
they can have other syntaxes as well, e.g. `# %% `.
By default slime sends its commands over to the last used tmux pane so
it is easy to set up a split coding/repl-ing session.
Interaction mappings all center around <leader>c + another key.
You can send a simple cell with `<leader>cc` or `<leader>C`,
single lines or selections with `<leader>cs`.
You can switch between cells with `]c` `[c` and insert new ones
below/above existing ones with `<leader>co` `<leader>cO` respectively.
Switched out the deprecated nvim-compe for nvim-cmp and re-added most of
the plugins that the earlier one supported.
The handling is very similar and it supports the same snippet engine
(vsnip in this case).
Moved border snapping/aligning to a quicker key combination
(mod+ctrl+hjkl) and instead move rivercarro layout changes t the more
inaccessible extra moving mode (alt+r).
Added notification dismissal and recovery key binds to river key
bindings. This is necessary since in wayland dunst can't just
receive key presses anymore.
The new key binds are:
```
Mod+N - dismiss 1 notification
Mod+Shift+N - dismiss all notifications
Mod+Control+N - display last dismissed notification(s) again
```
Added script for downloading videos with ytdl or any of its derivatives.
The script is adapted from one in my rapberry pi setup which serves
videos remotely, and makes some hardcoded assumptions that might not be
the best for all situations.
Added archive script which takes a file and puts a hardlink to it into
an arbitrary archival folder. This means even if the original file is
deleted its data stays on disk because of its hardlinked archive
version.
Added ways of navigating the command mode similar to unix readline or
fzf lists.
^N / ^P will get you up and down the history / completion options
^J / ^K will get you up the last typed commands
^U / ^A / ^E / ^F / ^B / ^H manipulate the caret on the commandline.
The fontconfig in use previously accidentally got deleted amidst the X
leftovers. This reinstates it and streamlines it a tiny bit.
Still uses Iosevka as the default mono font, Heuristica and Noto Sans as
the serif and sans-serif respectively and adds the fantasy and comic
families.
Also takes over wholly the font hinting and aliasing settings, since
they work very well on my machine.