Commit Graph

19 Commits

Author SHA1 Message Date
4a7e003ea1 Fix formatting via eslint on save in neovim
When I saved files in my eslint-formatted projects I was wondering about
slight differences between the results of running `eslint --fix` vs. the
autoamtic formatting when I save a file in neovim.

As it turned out I ran the wrong command indeed. This changes fixes that
by simply calling the correct command on save. Note that this looks
"bigger" but it's actually a copy of the built-in `LspEslintFixAll` of
neovim.

Reference: 1a6d692067/doc/configs.md (eslint)
Reference: 89fd0361b3/lsp/eslint.lua (L92-L104)
2026-03-27 00:52:12 +01:00
f9bcee8783 Show current byte under cursor in status-line beside line anc colum 2026-02-08 16:02:12 +01:00
ba01bd7e72 Change vim-shortcut to search for references from "gr" to "gs"
The former shortcut is simply not unique enough under certain
circumstances, therefore I change it to the new "gs" which fits good as
well.
2026-02-03 00:33:57 +01:00
2e3412c410 Add descriptions for lsp-shortcuts
Since I use which-key I can actually benefit a lot from meaningful
descriptions of my custom shortcuts. Whenever I feel like I forgot a
multi-key shortcut I can simply type the first letter (in my case
usually "Space" or "g") and peek into the preview of whichkey. It lists
all possible additional keystrokes and their descriptions, so this
change makes it a lot easier for me to find the command I'm looking for.
2026-02-03 00:28:49 +01:00
9d13d42cbd Add shortcut ":Gc" to vim for simple fast commits
When working in vim I have developed some pattern which fell fast and
confident enough for me to being typed all the time.
E.g. I catch myself often doing typing the following: `:Gw<CR>:G<CR>cc`
These keystrokes safe the current file directly to the staging area of
git (:Gw), then opening the fugitive-panel (:G) and finally letting me
write a commit-message form there (cc).
The keypart here is that I _have_ to open the fugitive-panel to perform
a commit, since I don't use any abbreviation for "commit" on git itself
the only other way is typing `:Gw<CR>:G commit` which is cumbersome.

This change allows me to type just another short version (namely:
`:Gw<CR>:Gc`) which saves 2 keystrokes and a whole panel-rendering.
Though this change is experimental right now since I don't know if I
really get used to it.
2026-01-14 01:21:00 +01:00
fe582181f4 Simply sync my vimwiki via shortcut 2025-10-22 20:11:45 +02:00
2f23034101 Improve descriptions of key-mappings in neovim and align git-shortcuts
I struggle to remember certain shortcuts sometimes. In these cases I
rely on the "whichkey" plugin which shows a short description of for
each possible keystroke in vim. Though I was lazy and didn't maintain
these everywhere, so this change fixes that. Hopefully I can remeber all
the keys better now.

Furthermore this change contains some slight remappings regarding the
git-keymappings. I used fugitive for most of that in the past, but I saw
more potential using telescope in certain cases, especially navigating
the history.
2025-09-14 20:18:35 +02:00
7a3efc7ac3 Improve fuzzy search in nvim-telescope by using fzf 2025-09-05 14:07:20 +02:00
8adf1673b9 Add plantuml support to nvim, even rendering by command :Soil 2025-09-05 14:06:28 +02:00
9e7f6ee0bb Fix formatting 2025-08-26 22:13:01 +02:00
86bd90038d Start new wiki-diary entries with a skeleton and do not apply vimwiki-filetype to markdown-files in vim 2025-08-26 19:52:14 +02:00
6491093ae3 Automatically apply skeleton snippets to certain filetypes if configured 2025-08-26 03:39:35 +02:00
577610166f Update my vim-git integration to navigate easier through it and fix missing config for gitea 2025-08-25 18:30:52 +02:00
ccb6bc9b1a Make <Leader>we a global shortcut to create diary entries in vim 2025-08-25 18:29:23 +02:00
634727de12 fix vim-autocmd, I had reused the same augroup and removed all configs that way :D 2025-08-25 18:28:09 +02:00
02390275ca Allow for search of word under cursor with telescope via <Space>* or <Space># and show git details in telescope 2025-08-24 20:34:54 +02:00
55323212b7 Format typescript files on write automatically with eslint in nvim
This makes it easier for me, since I don't have to care about the
formatting all the time.
2025-08-24 20:34:54 +02:00
732b713c54 Add <Space>m to automatically expand functions and alike in vim 2025-08-16 18:45:52 +02:00
24f7891460 Migrate vim to neovim (min v0.11)
Install newest vim-releases via appimage from github-page!
2025-08-10 17:12:01 +02:00