Commit Graph

51 Commits

Author SHA1 Message Date
f15ad722f4 vim:coc: Update and switch to release branch
This makes the installation via `yarn` obsolete (it was also outdated).
2025-03-10 16:21:39 +01:00
c47281e7b8 vim:plugs: Add quick-scope
> Lightning fast left-right movement in Vim.
>
> An always-on highlight for a unique character in every word on a line
> to help you use `f`, `F` and family.

Link: https://github.com/unblevable/quick-scope
2025-01-21 18:27:47 +01:00
b03bd05abf gitmodules: Fix http url 2024-11-20 11:07:19 +01:00
64758245f6 vim:plugs: Add tabular
To align text.
2024-11-03 16:54:58 +01:00
bdd25e579b vim:plugs: Add NrrwRgn (narrow region)
> This plugin is inspired by the Narrowing feature of Emacs and means to
> focus on a selected region while making the rest inaccessible. You
> simply select the region, call :NR and the selected part will open in
> a new split window while the rest of the buffer will be protected.
> Once you are finished, simply write the narrowed window (:w) and all
> the changes will be moved back to the original buffer.

I want this to be able to diff two portions of a file without the need
of creating temporary files. (And the ability to automatically bring
back changes sounds nice too.)

Link: https://github.com/chrisbra/NrrwRgn
2024-10-30 13:12:35 +01:00
28fa0c7fbc vim:plugs: Add vim-textobj-indent 2023-06-21 10:34:01 +02:00
05bc93dc81 vim,tmux:navigator: Add fzf to processes regex
- Update vim-tmux-navigator to upstream/master
- Change remote to fork
- Do not change panes on C-[jk] when in fzf, as it is used for scrolling
  there
2023-01-04 13:04:42 +01:00
bbb4f0339c tmux:plugs: Switch to my fork of preview-highlight 2022-07-12 21:00:09 +02:00
7a5bb2e431 gitmodules: Sort 2022-07-12 21:00:06 +02:00
0f38510810 vim:plugs: Add vimwiki 2022-07-12 21:00:06 +02:00
392bc1c49b tmux:plugs: Remove tmux-yank
It messes with mappings I set (e.g. `MouseDragEnd1Pane`) and brings no
real addition in functionality.
2022-07-12 21:00:04 +02:00
40416ebd9c *: Move third-party plugins into .local/share/
Move all submodules that were under .config/ into .local/share/ (alias
XDG_DATA_HOME). I got convinced that they feel out of place in .config/.

Instead of updating the paths from which they are sourced (e.g.
`TMUX_PLUGIN_MANAGER_PATH` or `packpath`), keep a symlink in the old
location that points to the new one. This has the benefit that
everything related to one program remains mostly accessible from the
same place instead of spreading everything out.

I am still unsure if I really like the new location as I affiliate user
**data** more with something that has to be backed up as it is
non-recreatable. And moving them out of .config/ had the reasoning that
they are not my config files but rather data from the internet that
could be retrieved when deleting. But using XDG_CACHE_HOME seems
unreasonable as well.
We'll see.

Move the fzf-repo from ./local/bin/ to .local/share/.

Update all relative symlinks' (e.g. fzf) targets.
2022-07-12 21:00:01 +02:00
c46a352c35 tmux: Add tmux-yank
[tmux-yank][1]:

> Tmux plugin for copying to system clipboard. Works on OSX, Linux and
> Cygwin.

[1]: https://github.com/tmux-plugins/tmux-yank
2022-06-23 23:58:51 +02:00
4cf0eedd56 vim,tmux:plugs: Add vim-tmux-navigator
[vim-tmux-navigator][1]:

> Seamless navigation between tmux panes and vim splits

Add the hybrid vim/tmux plugin `vim-tmux-navigator` to switch between
tmux panes and vim splits with `C-[hjkl]`.

Add vim-tmux-navigator as a submodule in tmux/plugins and create a
symlink from vim/pack/plugins/start.

Get rid of similar switching keymappings in the vim and tmux configs.

[1]: https://github.com/christoomey/vim-tmux-navigator
2022-06-23 23:58:46 +02:00
846d0fc6c6 gitmodules: Set foldmethod=expr per modeline
Fold away every submodule entry.

Add section headers.
2022-06-23 23:58:42 +02:00
464d4de64b vim:plugs: Add vim-sort-folds
> Sorting folds is not easily possible in vanilla vim. You could join
> all lines in a fold, sort and split them up again; however, it is time
> consuming and tedious.
>
> This little plugin solves that issue: It sorts a visually selected
> region while keeping closed folds intact. Since folds can be created
> in a variety of ways, it is therefore straight-forward to sort
> arbitrary groups of text based on their first line.
2022-06-23 23:58:41 +02:00
626ba1c345 vim:plugs: Add vim-textobj-comment
> This Vim plugin provides text objects for comments.
>
> `ac` selects a comment including the comment delimiters and `ic`
> selects just the comment content. (There's also a third text object,
> `aC`, which selects a comment including trailing or leading
> whitespace.) These mappings are available in Visual and
> Operator-pending mode.
>
> This plugin uses the `comments` and `commentstring` settings to
> determine what a comment looks like for a given filetype. It works
> with both `/* paired */` and `// simple` comment delimiters.
>
> This plugin depends on the textobj-user plugin.
2022-06-23 23:58:40 +02:00
4d8921c1c1 vim:plugs: Add vim-textobj-user 2022-06-23 23:58:39 +02:00
8ad05e53fc vim:plugs: Add vim-obsession
> obsession.vim: continuously updated session files
2022-06-23 23:56:46 +02:00
8c1f4b20f5 git: Add git-filter-repo as submodule 2022-02-03 18:34:33 +01:00
8526727cc5 vim:plugins: Add cocci-syntax 2022-01-27 10:47:24 +01:00
951707e2a5 vim:plugins: Add markdown-preview 2022-01-27 10:41:07 +01:00
b283587690 vim:plugins: Add vim-syntax-extra
Add vim-syntax-extra for enhanced C syntax highlighting as well as for
bison and flex.
2021-12-27 01:28:00 +01:00
77b2d63341 zsh:autosuggestions: Use own fork for now
See https://github.com/zsh-users/zsh-autosuggestions/pull/621

Set experimental values to the new configuration options.
2021-07-22 15:48:36 +02:00
5f255769f6 vim:pack: Add Colorizer 2021-07-16 14:52:30 +02:00
af30da1b3b vim:plugins: Add vim-fugitive 2021-05-22 19:05:08 +02:00
4d4a5d4ef2 vim: Add vim-lastplace 2021-01-04 16:28:56 +01:00
914e8a1992 repo: Update submodules & cleanup gitmodules
Update all submodules to the newest commit.
Change submodule names in `.gitmodules` from local path to repo names.
Sort and group `.gitmodules` by program that uses it.
Remove the clone of 'fzf-tab' as my pull request got merged.
2020-12-22 16:22:33 +01:00
c74cfa3901 vim,git: Integrate ctags 2020-12-21 13:55:49 +01:00
b7d9bd6d9d vim: Add arm syntax highlighting 2020-12-05 01:18:47 +01:00
druckdev
d85607e143 vim,zathura: Setup LaTeX file development
LaTeX files can now be automatically compiled in vim and jumping into
the relevant lines from PDF to code or the other way around is possible
too.
Add the LaTeX coc-language server as well.

Thanks to @AurelWeinhold
2020-11-23 01:49:19 +01:00
druckdev
bf46c5f687 zsh: Divide zshrc into zshrc.d
Move every file from plugins into zshrc.d as well as all bigger blobs in
the zshrc into their own files there.
Some stuff is still in there that I am not all too sure where it
belongs. TODO: Move.

Because all external plugins are now sourced over a symlink I had to
create a fork of fzf-tab for now that supports that.
See: https://github.com/Aloxaf/fzf-tab/pull/153
2020-11-10 02:58:22 +01:00
druckdev
00c6274d2d vim: Add fzf plugin
Symlink the fzf repo into the plugin directory and `packadd` it.
Add fzf.vim (that depends on the base fzf as plugin).
2020-11-07 03:19:33 +01:00
druckdev
75a8af2d14 repo: Move fzf to non zsh-dependant location
Since fzf is not really only a zsh plugin this moves it to .local/bin.
I am not quite sure it will stay there.
The submodule was also updated in this process.

Update all links and references.
Add .local/share directory that contains the man pages. By that dotbot
just globs all of them and symlinks them. This makes it more modular and
a bit more transparent on how an installed system looks like, just by
looking through the repo structure.
2020-11-07 03:07:59 +01:00
druckdev
105dc7b49e repo: Rename gitmodules by updating path 2020-11-05 16:23:03 +01:00
druckdev
fdaa2dedb7 vim: Add surround and delimitMate plugins
These plugins add functionality to automatically close and surround text
with parantheses, brackets, quotes, etc.
Overwrite the vim-surround default bindings since they conflict with my
substitute bindings.
2020-11-05 13:08:04 +01:00
druckdev
72159411b9 zsh: Delete unused parts and bits
Delete:
 - transfer.zsh
 - zsh-async
 - telegram helper functions + completion
 - TERM hack for kitty terminal
2020-10-06 22:22:42 +02:00
druckdev
f6d1bbb19d git: Add diff-so-fancy as submodule
Instead of relying on diff-so-fancy being installed already deliver it
with these dotfiles.
2020-09-24 02:55:49 +02:00
druckdev
076a383505 Remove vim plugin submodule added by accident 2020-09-13 04:43:18 +02:00
druckdev
a74723fea6 Add glog keybindings 2020-08-29 23:23:12 +02:00
druckdev
3c65e1a552 Move dotbot related stuff into meta/ 2020-08-25 13:15:06 +02:00
druckdev
420bcf6be5 Switch to native vim plugin management
Since the vim plugins are stored in submodules and vim-plug is not a big
fan of that when installing (Needs PlugClean and PlugInstall again
although the repos of the plugins were already pulled) it makes more
sense to me to use vim8s native plugin management.
2020-08-24 03:08:13 +02:00
druckdev
ed6d6bc75e Load onedark theme through vim-plug
Use vim-plug to load onedark instead of the two files in
vim/{autoload,colors}. This enables to update the theme and have it as a
submodule in the rep.
2020-08-22 16:52:55 +02:00
druckdev
d5dda4d353 Replace zsh-history-substring-search with fzf
Replace the zsh-history-substring-search plugin with fzf by adding a
function that starts the fzf-history-widget when pressing <Up> with a
nonempty BUFFER. The widget then uses the buffer automatically as query
for fzf.
2020-08-19 21:51:47 +02:00
druckdev
8bcc737030 Add plugin fzf-tab 2020-08-06 03:42:26 +02:00
druckdev
ae174dddb3 Sorted .gitmodules 2020-08-04 06:01:03 +02:00
druckdev
3e5db5fa8e Use https for submodule remotes
Since ssh may not be set up (yet), use https for the submodule remotes.
2020-08-04 04:03:00 +02:00
druckdev
f5259b5505 Add fuzzy finder
Add fzf as submodule.
Source it keybindings and completion files.
Adjust dotbot install config to pull fzf binary.
Add symlink to its binary.
2020-08-04 02:54:05 +02:00
druckdev
386d689928 Add tmux plugins as git submodules 2020-08-04 02:38:47 +02:00
druckdev
5e8aa75e32 Add vim plugins as git submodules 2020-08-04 00:14:26 +02:00