Uses arch aur-packaged installation of sumneko_lua, and invokes it for
any lua file.
Takes care of some additional configuration to enable easier programming
for neovim itself.
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.
Switched theme of zsh, just to declutter a little and make startup
slightly faster.
Removed nvm from automatically initializing to majorly speed up zsh
startup times - removing around 750ms on my system.
TODO could potentially move to a conditional startup system, in which
nvm only gets sourced on its first invocation or similar workarounds.
Switched out the suspend action from the rofi powermenu (called through
super + backspace in current sxhkd setup) to instead call hibernate.
This needs a correctly set up system to engage hibernate - all the
documentation necessary can be found at
https://wiki.archlinux.org/index.php/Power_management/Suspend_and_hibernate
Generally, needs a swap file and resume (i.e. hibernation) correctly set
up in both the kernel parameters and the initramfs.
On this machine (laptop), the way things work now is that simply closing
the lid leads to the default sleep action (suspend), and invoking the
manual rofi-powermenu way will instead completely hibernate the system,
leading to less power usage but taking a little longer to switch off and
restore.
qutebrowser 2.0 changed the option names for host blocking, and this
update simply fixes that change accordingly. See your
qute://help/changelog.html#v2.0.0 file.
The `nl` preview was still stuck in the default fzf options for a while
and does not work with most things that it is intended for. Removing it
is vastly preferable to the half useless preview window on any fzf
invocation.
A true default preview window may either be possible through a separate
script looking for the right command to invoke, or for individual fzf
invocations which then simple use the correct commands in the first
place (see e.g. `fzfyay`, or `fzfyayrns`).
`fzfyay` and `fzfyayrns` now also respect paru if it is installed on the
system. They will default to yay and fall back to paru.
Renamed the syu file to yay, since it more explicitly captures the
concept in my mind.
Added `--bottomup` option to any paru operation since that is the way I
expect it to work: the 'closest' option is also closest to the
commandline.
Removed outdated `syu` symlink which just hooks into topgrade.
Replaced it with simple function that tries for topgrade, paru, yay,
pacman, in that order. Can still be invoked with simple `syu` command,
but *only* through interactive terminal use.
Switched git pre-commit hook to default to paru instead of yay when
compiling installed package lists for dotfile commits.
Added notifications on changing brightness, will stack by default to
show the current level before disappearing.
The script to change and notify can be run through the command
`control-brightness`, and is bound to the sxhkd media key shortcuts for
brightness changes.
Removed the brightness indicator from polybar since it should be easy
enough to check current brightness by doing a quick higher-lower and
that's it.
Kept the module in polybar configuration script since I might reconsider
its removal if it turns out to have been useful.
Now makes use of alacritty include feature and should work without
showing any git repo changes, even when changing color scheme.
Only difference being that *no* color scheme requires a deletion of a
line in `alacritty.yml`.
Added toggle key for polybar, just in case I ever need the extra screen
real estate (*without* i3's `Mod+f` full-screen mode).
Should come handy rarely, but if it does it now exists. Can be toggled
with `super+F7`, since that is close to the other styling option and not
used in any other way (not even with media keys or similar).
Removed display of time and date from tmux, since I have the polybar
time up always.
Shuffled around the rest of the display: removed left-sided display of
active (tmux) user, moved it to the right side.
Slightly restyled polybar, mainly shrunk in size and re-located the
papers due information.
Renamed it from `simple-top` to just `top` since no alternative top bar
exists in this configuration.
Every modification starts with `m` (for mark, akin to vim), and pushes
the messages into the respective state: `a`rchive, `i`nbox, `m`ark
(flag), `d`ump.
Only deletion (`dd`) behaves slightly differently, in that it simulates
a state not a label (even though labels are used in the background).
Fixed moving through different parts of an e-mail being reversed from
what one would expect.
Updated config file for alacritty 0.6.
Removed a lot of the commenting cruft still stuck in the original
configuration file.
A sample commented version of the config file can nowadays be found at
`/usr/share/doc/alacritty/alacritty.yml`.
Moved umpv script to updated version available here:
eeb711f5f3/TOOLS/umpv
Switches deprecated `--input-file` argument for `--input-ipc-server`,
making use of socket instead of FIFO file ---
though it should work the same in practice.
Added function to fuzzily search through any documents using rga.
Function code adapted from https://github.com/phiresky/ripgrep-all
Can be interactively searched, should be reasonably fast once indexing
is finished.
Added script to quickly translate a page or selected text through google
translate. Can be invoked through the aliases `:translate-page` or `:translate-selection` respectively, or the shortcuts <leader>bg, <leader>bG.
Added some gitignore files in the directory to stop keeping track of
non-personal configuration files.
The server still does not correctly ignore messages which should be
contained in the ignored keywords list. (Image upload percentages,
repository update percentages, for which it spits out hundreds of
desktop notifications. Well, 100, to be exact.)
Perhaps this simplification of the keywords makes it work better.
Added check to fetch remote updates before actually pulling in remote
changes.
This may help somewhat with the modification of files when they are
simultaneously open in vim, though I am not entirely sure.
Needs further investigation.
Session names would be cut off by the preview window.
Now, the preview window is generally *close* to the session names but
not overlapping them, which looked weird.
Moved vim-plug plugin list to load into separate file so it is a coherent
plugin list to modify or disable.
Moved key mappings (`maps.vim`) into a separate keys directory so they
can be loaded in individual files if desired.
Previously enabled the search through shell history with ^r on the
commandline. This is still the case, though now the results of the
search can be cycled through with ^p (earlier) and ^n (later).
The key combinations are only active in incremental search and will only
search through the previous results.
When in normal more, or command mode, ^p/^n will cycle through the
history of the shell, taking into account what has already been typed
and going through the history on the basis of this.
Add all `pavolume` sent notifications to a single tabstack, which means
they will be displayed on top of each other and remove the older
notification display when a new one arrives.
End result is that volume changes are now displayed as continuous
changes of a single notification (i.e. changing volume level bar)
instead of multiple notifications.
Enabled zsh option to automatically prepend directories with `cd` if
they are the only command on the line, essentially enabling you to just
write `/var/lib/docker` to go to the respective directory.
vifm switched to a new json formatted vifminfo file,
see https://sourceforge.net/p/vifm/mailman/message/37115461/
This commit simply adds it to the ignored files list, since we do not
care to have it in the repository just like the old vifminfo file.
`:ScratchPad` command has been fixed and its functionality slightly
extended:
`:ScratchPad` will replace the current buffer with an empty scratchpad,
with the filetype defined in `g:scratchpad_ft` (or the buffer-scope
equivalent).
`:ScratchPad!` will create a new split and open the empty scratchpad
there.
Additionally, a single argument can be passed to the command with the
name of the filetype that the scratchpad should contain, e.g.
`:Scratchpad! golang`
Most of the plugin process has been shifted to lua and only a single
command mapping remains as vimscript for now.
Previously the key was space (when in vi command mode), but that can too
easily be accidentally hit.
Using ctrl-e (when in vi command mode) makes mnemonic sense ('edit'),
and is hard to hit accidentally. It also mirrors the c-x c-e mapping
that bash (and zsh?) use when in emacs mode rather than vim.
Allows pressing <alt-.> when in insertion mode in zsh to add the first
(then second, third, ...) argument from the last line to the end of the
current line.
Especially useful for things like:
```
mkdir -p my/folder/deeply nested
cd <alt-.>
```
to instantly move to the folder!
signature help shortcut (<c-k>) was interfering with basic buffer
movement. Moved it to gK as a more 'global' hover option (which uses K,
whenever lsp is enabled).