3ecea7923a
git: Disable renameLimit
...
I want all the renames pls
2023-07-10 16:33:34 +02:00
58297ce697
tmux: Place new window after the current one
2023-07-10 16:04:44 +02:00
f193e0071d
zsh:mvln(): Revert "Create relative symlinks"
...
This reverts commit 226f09b046 .
I don't want to have relative links all the time.
TODO: If target is a relative path, make the link relative too
TODO: Support --relative flag
2023-07-10 14:03:50 +02:00
2d277c5f54
zsh:funcs: Add rmdir wrapper to delete CWD
2023-07-10 00:12:07 +02:00
494829fdc4
zsh:alias: Add --tags to almost --all glog
...
I don't want to see refs/stash, that is why --all does not work for me
2023-07-10 00:10:50 +02:00
c83c793a1a
git: Disable fetch.pruneTags
...
This leads to problems in repositories with multiple remotes that do not
share the same tags. A fetch --all will then fetch and delete a tag at
the same time. Tags are also way less often deleted in my experience so
that an automatic pruning is not necessary.
2023-07-09 00:03:44 +02:00
31a267a0e7
vim:wiki: Don't highlight any Unicode rxTableSep
...
Doesn't matter what character it is.
2023-07-08 02:08:30 +02:00
d27fe12d01
vim:wiki: Don't highlight vert. box drawing char
2023-07-08 02:05:28 +02:00
e324273567
zsh:diffcmds(): Add pipes TODO and format
2023-07-07 11:53:16 +02:00
a7c529a93c
zsh:diffcmds(): Unquote single pipes
...
This makes it possible to diff command chains. For example:
diffcmds git format-patch -1 --stdout HEAD~ '|' \
grep '^%%' '|' \
cut -c2- \
-- - +
to see if a commit only reordered lines without modifying them.
I am not happy with this solution and would prefer a different form of
escaping (e.g. with %).
2023-07-06 15:26:43 +02:00
741585a465
zathura: Vim-like fold mappings for index mode
2023-06-27 18:25:41 +02:00
13e05e09ac
zathura: Customize more colros
2023-06-27 18:24:55 +02:00
80e09685e7
vim:keys: Add macro_type for uppercase snakecase
2023-06-27 18:23:02 +02:00
f6c627bd53
tmux: Use hex values for colors
...
Taken from my st fork (Originally the tango theme I believe).
2023-06-27 18:20:38 +02:00
dd3de8d709
vim:plugs: Update vimwiki for Unicode support
...
My fix was merged to support unicode table separators. This has the
benefit that `|` now can be used in the cell content.
2023-06-25 23:49:10 +02:00
99d5e1ff21
vim:ftplug:tex: Do not open quickfix on warnings
2023-06-25 23:22:20 +02:00
a0825dac6a
vim:ftplugin:tex: Remove options set by default
...
Quite a few things were obsolete because they were deprecated or already
set by default.
2023-06-24 18:20:03 +02:00
ed829f52e4
vim:plugs: Update vimtex v.2.8 -> v2.13
...
build_dir was deprecated for out_dir and aux_dir.
2023-06-24 18:18:12 +02:00
b29f38b635
zathura: Remove synctex-editor-command
...
It is passed by vimtex (See :h vimtex_view_zathura).
2023-06-24 18:09:31 +02:00
739e03b5a7
git:glog: Remove by-now default fzf bindings
...
These were added "globally" to FZF_DEFAULT_OPTS in 4f5d23bd1 ("zprofile:
Add some bindings to FZF_DEFAULT_OPTS").
2023-06-24 11:05:32 +02:00
e5b2ba94ee
zathura: Improve statusbar and vertical scrolling
2023-06-24 00:12:07 +02:00
73529d673d
vim:ftplugin:python: Change textwidth to 88
2023-06-23 23:14:56 +02:00
40dad5f672
zsh:diffcmds():TODO: Support own arguments
...
Support own arguments for example to switch the placeholder or the
diffcmd.
2023-06-23 23:13:17 +02:00
e3085efc46
zsh:diffcmds(): Handle some edge cases
2023-06-23 23:11:43 +02:00
3fea8b821a
zsh:diffcmds(): Change ps subs depending on diff*
...
Process substitution via file descriptor/fifo should be preferred.
2023-06-23 23:09:42 +02:00
393f7ec6e1
zsh:diffcmds(): Add a layer of quotation
...
Add a layer of quotation as eval removes one. For example using
parameters in single quotes would still be expanded.
2023-06-23 22:36:58 +02:00
a4d1877341
zsh:diffcmds(): Build cmdline as an array
...
It seems nicer to build a new array instead of building a string and
then splitting it again.
2023-06-23 22:30:37 +02:00
6b0b8f738e
zsh:diffcmds(): Rephrase comment to be more clear
2023-06-23 22:11:16 +02:00
ced1f1b7db
zsh:diffcmds(): Get index of last -- occurrence
2023-06-23 22:03:28 +02:00
9350213939
zsh:diffcmds(): Use vimdiff depending on $EDITOR
2023-06-23 21:58:45 +02:00
7d1dff6fa9
zsh:diffcmds(): Abort without CMD
2023-06-23 21:43:52 +02:00
252be099fa
zsh:diffcmds(): Improve usage printout
2023-06-23 21:43:44 +02:00
e9d66576db
ripgrep: Add --no-heading
...
Always print path as prefix (By default this is done only when stdout is
not a tty), as this makes it easier to browse a long list of matches.
2023-06-23 17:43:58 +02:00
063b0559c9
fzf: Use fd as default command if installed
2023-06-23 17:08:57 +02:00
0c4dfbf363
git:ignore: Add /.git
...
Ignore the .git directory globally instead of ignoring it manually in
tools like fd and ripgrep.
I feel very dumb for putting all this time into the redefinition of :Rg,
especially since I am currently **much** procrastinating writing my
bachelor thesis.
2023-06-23 17:03:29 +02:00
4f5d23bd15
zprofile: Add some bindings to FZF_DEFAULT_OPTS
2023-06-23 16:40:23 +02:00
b80f86d085
vim:plugins: Do not hardcode quotes in Rg redef.
...
They redefinition would fail if fzf.vim would ever change the quotes
used.
2023-06-23 16:23:12 +02:00
cb67a46c0b
vim:plugins: Make Rg redefinition more robust
2023-06-23 15:59:24 +02:00
2ef89f4e81
vim:plugins: Redefine :Rg programmatically
...
Instead of setting a hard coded value, get the current definition of
:Rg, add `-g "!.git"`, and redefine the command.
2023-06-23 15:58:35 +02:00
2411a42e32
ripgrep: Add --hidden by default
2023-06-23 14:19:09 +02:00
2114987106
zprofile: Fix non-export of FZF_DEFAULT_NO_RG
...
I never really noticed but `$FZF_ALT_C_COMMAND` was never set as
`$fzf_default_no_rg` would be empty. Because the variable was not
exported, the X session would not have it in it's environment.
2023-06-23 13:36:23 +02:00
0d45f2f61a
zsh:suffix(): Use bfs if installed
2023-06-21 13:34:45 +02:00
ce987f1f94
zsh:alias: Add count for sorted uniq -c
2023-06-21 13:32:54 +02:00
d5436fe0f9
zsh:alias: Add gcow for git-checkout-worktree
2023-06-21 13:31:10 +02:00
a2c27496eb
tmux: Reorder windows by dragging on status line
2023-06-15 15:32:03 +02:00
6b3f72c27c
tmux: Select last window if target is current
2023-06-15 13:47:31 +02:00
88e991f944
tmux: Add bindings to swap window with prev/next
2023-06-15 12:09:44 +02:00
6a36867d4d
tmux: Select windows with Alt-[0-9]
2023-06-15 12:04:23 +02:00
b4eba71b16
tmux: C-v should start the selection if inactive
2023-06-14 12:24:08 +02:00
d4d29b0c64
tmux: Use e prefix when comparing numbers
2023-06-14 11:17:23 +02:00