Commit Graph

1143 Commits

Author SHA1 Message Date
Marty Oehme 88ab8c10a6
sh: Simple pseudo-fix for missing xdg symlink
HACK - it does not reconnect the symlink correctly if its target indeed
returns to the system.
2023-03-03 12:55:08 +01:00
Marty Oehme c92afad510
qutebrowser: Removed offline server redirect 2023-03-03 12:54:29 +01:00
Marty Oehme 1c7d0a9835
nvim: Default to stable versions for plugins
Using the lazy option 'version' we default to updating only to the
latest stable (semver) version of plugins. This should make it a little
more stable in the long run to keep up with plugin updates.

Not all plugins support this versioning scheme and for those that do not
it just keeps tracking the main branch.

Currently from the plugins that support it, only `nvim-lspconfig` needs
to be manually kept on the main branch since it is missing the correct
lua language server otherwise. This should be a problem of the past with
the release of the next version of the plugin.
2023-03-03 12:51:21 +01:00
Marty Oehme 051c0914ad
nvim: Add wrapping plugin 2023-03-03 12:38:09 +01:00
Marty Oehme 2c4d5c483d
nvim: Update plugin lockfile 2023-03-01 17:41:30 +01:00
Marty Oehme 7128edc57c
nvim: Add quarto filetype setup 2023-03-01 17:39:03 +01:00
Marty Oehme c75b7636e0
nvim: Determine python venv on lsp start 2023-03-01 15:57:28 +01:00
Marty Oehme a44cf1d509
nvim: Add notify, select and input UI theme plugins 2023-03-01 15:56:30 +01:00
Marty Oehme 72e7832dce
nvim: Remove navigator.lua 2023-03-01 14:40:36 +01:00
Marty Oehme e94eade3b3
nvim: Add descriptions for various prefix groups 2023-03-01 14:37:59 +01:00
Marty Oehme 56003fcccb
nvim: Map <leader>v for vim-related options 2023-03-01 14:36:54 +01:00
Marty Oehme e3f123c080
nvim: Add punctuation-based undo breakpoints 2023-03-01 14:35:04 +01:00
Marty Oehme ea7fcd92f5
nvim: Switch to manual lsp mappings 2023-03-01 14:28:42 +01:00
Marty Oehme e1abc2972b
nvim: Add gitcommit ft settings 2023-03-01 14:27:03 +01:00
Marty Oehme 8d40fd843e
nvim: Rename helpers module to util module 2023-03-01 14:26:26 +01:00
Marty Oehme 3d4199d743
bootstrap: Add systemd suspend-then-hibernate configuration 2023-02-28 11:23:40 +01:00
Marty Oehme 1b69f57146
nvim: Remove line number from terminal buffers 2023-02-28 11:21:39 +01:00
Marty Oehme 70ccf5fa55
nvim: Display gitsigns as highlights on linenums 2023-02-27 09:22:33 +01:00
Marty Oehme 693f8ba3f4
nvim: Move autocommands into separate module 2023-02-27 09:22:02 +01:00
Marty Oehme 74bbaf4daf
nvim: Remove cmdline if not used, split buffers belowright 2023-02-27 09:20:18 +01:00
Marty Oehme e6d7578198
nvim: Switch from cmp-pandoc to cmp-pandoc-references
cmp-pandoc.nvim did not work sufficiently for my use case so far
(sometimes it did, most of the times it did not at all, every now and
again it sputtered some references to the list).

cmp-pandoc-references seems like a plugin kept relatively 'simple'
requiring no setup, a single `bibliography: ` line in the pandoc
meta-data header and it works flawlessly from there. I might delve
deeper at some point, especially with the papis.nvim integration, but
for now this is perfectly adequate.
2023-02-27 08:48:09 +01:00
Marty Oehme 0127a5db07
nvim: Switch from neorg to zk-nvim
Neorg is fine but not for me right now (especially with its own syntax
spec). zk seems to fit my workflow much better, this is the beginning of
trying it out.
2023-02-25 17:16:51 +01:00
Marty Oehme fd8b0b290c
taskwarrior: Display scheduled tasks on grey bg
Switched scheduled to display on grey background to improve readability
on dark color schemes slightly.
2023-02-25 17:13:59 +01:00
Marty Oehme cd9d373dca
taskwarrior: Add today alias
Added `tod` alias which looks for tasks due today or overdue.
2023-02-25 17:13:19 +01:00
Marty Oehme f2cb2f5be9
imapfilter: Switch to use pass command
The other office tools use the pass command so we switch this one to use
it to unify invocation.
2023-02-25 17:12:27 +01:00
Marty Oehme 5d2542db51
sync-mail: Warn user as part of prehook
If no hook should be run before syncing (or a user-defined hook) then
the warning should fall under that and not be run as part of it.

Additionally takes care of multiple decryption requirements in a row.
2023-02-25 17:11:00 +01:00
Marty Oehme 89ed4615a7
ncmpcpp: Remap song ffwd and rewind
Mapped fast forward to f and song rewind to F to mimick seaerch-ahead
and search-behind ability of vim.
2023-02-25 17:07:19 +01:00
Marty Oehme 1ad0c382a9
river: Remove duplicate suspend call 2023-02-25 17:06:55 +01:00
Marty Oehme 28825adc5d
kanshi: Fix for black screen
Sometimes kanshi will keep docked mode (only external screens) enabled
while keeping them turned off and, sometimes even internal screen black.
This attempts to fix it.
2023-02-25 17:05:42 +01:00
Marty Oehme 1e84deff03
papis: Fix reference for imports, Add personal lib 2023-02-25 16:58:31 +01:00
Marty Oehme 73ae033139
vifm: Switch to tidy-viewer for csv preview 2023-02-25 16:55:42 +01:00
Marty Oehme ad90cdce30
qutebrowser: Fix index error on redirects
Fixed silly mistake sometimes trying to reach an out of range redirect
url.
2023-02-25 16:54:24 +01:00
Marty Oehme 9a874b1a1b
nvim: Remap leader groups
This commit is a change to some of the foundational mappings I use
through my leader key: opening telescope searches and toggling several
additional display riders.

First of all, all telescope functionality has been subsumed under the
<leader>f prefix:
    f (<leader>ff, that is) for finding files
    F for grepping
    h for finding hidden files
    o for finding old files
    b for finding buffers

    l for searching git log
    s for searching git status
    c for finding git commits (for current file)

Aside from these (which are pretty massive changes for me), we have a
new leader prefix group for the (now freed) <leader>s:
    o toggle symbols outline
    m toggle minimap
    s open the (mini.nvim) startup screen
2023-02-24 21:38:31 +01:00
Marty Oehme e87814ebcb
nvim: Remove leftover plugin settings
We are not making use of vsnip anymore (replaced by luasnip in zero-lsp
package) but still had a couple of vsnip mappings that lead to erratic
<tab> key behavior.
2023-02-24 15:11:50 +01:00
Marty Oehme 9a8a14f85f
nvim: mini indentline fix updated config option
Mini changed the configuration for its indentline module to use a table
instead of a function for its animation generation configuration.
This commit updates the config accordingly.
2023-02-24 10:02:00 +01:00
Marty Oehme e5b3f029b2
sh: Add tidy-viewer alias tv
Added alias tv which displays a csv(/tsv..) file piped into the pager so
it can have any dimensions and be scrolled through.
2023-02-11 17:29:59 +01:00
Marty Oehme 4eb6ac772b
bootstrap: Update package lists 2023-02-11 17:29:55 +01:00
Marty Oehme 5f4037b5ef
river: Fix idle management
Another go at improving the screen dimming and suspending setup:
Lockscreen invocation after 5 minutes, dimming at 10, sleep after 15 -
but only when not on AC.

It tries to also fix the screen being stuck off by reordering the
timeout and resume options of swayidle.
2023-02-11 17:29:52 +01:00
Marty Oehme beb2c7531a
sh: Move main library bibfile to library root
With the switch from jabref/zotero/pubs to papis for library management,
We can now also have nested libraries. This allows me to have 'themed'
libraries in different sub-folders (e.g. one for my academic study, one
for my old university readings, one for computer science, and so on) and
still keep referring to their containing folder as a 'main'
comprehensive library.

As such I moved the library bibtex file into the main library folder and
let it be created from all sub-libraries.
2023-02-11 17:29:49 +01:00
Marty Oehme eba39d2334
nvim: Add minimap toggle mapping 2023-02-10 15:38:22 +01:00
Marty Oehme 2026f6d064
nvim: Switch to lsp-zero
lsp-zero offers a simple to set-up lsp configuration which is based
around the plugins I use anyway (lsp, cmp, luasnip) but integrates them
very well. I add a few small quality of life things on top (cmp
completion for / search and for vim command mode) as well as a boatload
of custom completion sources but otherwise make use of the nice presets.

This has de-bloated my _cmp.lua settings somewhat and allows me to have
a simple treesitter and a simple(r) lsp setup!

Additionally, switched to mason.nvim to manage my lsp sources (and
linters), which is both the new hotness and actually really useful.
Allows portable installation of most lsp servers into neovim data
directory so they do not clutter any other directories or global
namespaces.
2023-02-10 15:33:33 +01:00
Marty Oehme ee4640b186
nvim: Fix dial.nvim
Added more rules to dial increment default group so it works on some
more cases. Fixed key bindings.
2023-02-10 14:06:45 +01:00
Marty Oehme 0484556f04
nvim: Fix spell dictionary not able to be found
Added the previously important 'site' directory to the runtime path of
neovim so it stops complaining about not finding spell dictionaries on
starting up with a spell-enabled file.
2023-02-10 12:08:16 +01:00
Marty Oehme 7965036eed
nvim: Add mapping description for which-key 2023-02-10 11:47:09 +01:00
Marty Oehme e8d2183264
nvim: Remove notational-fzf-vim plugin
Removed the notation velocity plugin for vim. I have not been making use
of it for ages and should I need a vim-internal way of digging through
my wiki I can probably find easier (and more clear) ways of doing so.
Nice plugin, but of no more use to me.
2023-02-10 11:15:38 +01:00
Marty Oehme fff6e60862
nvim: Remove cartographer plugin
Switch to use the nice new nvim-internal keymapping functions.
Cartographer was a really useful plugin when they did not yet exist but
now everything I wanted to do can be done without a mapping plugin, so
it is time to remove it.
2023-02-10 11:13:53 +01:00
Marty Oehme 08360ae7ff
nvim: Switch from quarto-vim to quarto-nvim
Switched to the neovim variant of quarto plugins since it may contain
improved integration with lsp and cmp - and offers completion and
diagnostics for code snippets *within* the overall markdown sources of
quarto, which is very exciting.
2023-02-10 09:19:27 +01:00
Marty Oehme cd0d519a28
nvim: Move to lazy.nvim package manager
Migrated from packer.nvim to lazy.nvim - it gives really fast loading
times, easy lazy loading for any package and a snazzy package manager
overview page (invoked through `:Lazy`) which, importantly, all do not
rely on a compiled plugin list.

In essence it feels like an easier to manage and robust packer
replacement (even though packer is a really good manager as well) that
is well worth to switch to. Migration was pretty painless as well.

One thing I might do in the future is split up the plugin structure
itself from a single plugin list (which invokes plugin settings files)
to several files containing the plugins and their settings since it
might give more structure.
2023-02-10 09:15:56 +01:00
Marty Oehme f08fa474d6
zsh: Remove double call of env scripts
On startup zsh would call all zsh env scripts (situated in `zsh/env`
or `zsh/env.d/*.zsh`) *and* all sh scripts (in `sh/env` or
`sh/env.d/*.sh`).
However, by that point, those scripts had already been sourced once - so
they just double up startup time.
2023-02-09 09:39:21 +01:00
Marty Oehme 0a137d1446
zathura: Show double page for first page 2023-02-08 19:36:12 +01:00