15a95846e5
bash: Increase history file size
...
My zsh history was overwritten by bash, like it used to be before I
setup the bashrc. How did this happen again?
2023-12-01 03:43:06 +01:00
7909d24251
zprofile: Put zettelkasten notes into docs/notes/
2023-12-01 03:41:50 +01:00
5359298bed
zsh:mvln(): Implement relative flag -r
2023-11-30 18:44:15 +01:00
0213ad8f7d
zsh:nameddirs: Add ws & ss for WiSe & SoSe
2023-11-24 13:34:09 +01:00
99701cf1a5
zsh:nameddirs: Change semester naming scheme
2023-11-24 13:27:54 +01:00
97f00e1dd0
zsh:keys: Bind Ctrl-Shift-G to insert-shcwd
2023-11-20 19:38:13 +01:00
93467176f6
zsh:keys: Set sensible fzf args for go-shcwd
...
Copy arguments from shell/key-bindings.zsh of the fzf repo.
2023-11-20 19:27:17 +01:00
4fceae683f
git: Turn on diff.colorMoved
2023-11-18 13:36:34 +01:00
aa49c9324d
fzf: Don't track automatically but add keymap
2023-11-10 14:35:33 +01:00
424be02df4
vim:aucmd: Highlight selection in all windows
...
Highlight the visual selection in all windows containing the current
buffer.
2023-08-22 19:29:00 +02:00
50eecf7e01
git:perm-stash: Use stash's ancestor as commit_ref
...
The stash does not necessarily apply to HEAD.
2023-07-18 14:33:55 +02:00
d38ee159ed
git: Add perm-stash to save a stash to a file
2023-07-18 14:30:09 +02:00
35536bfa7b
vim:keys: VMap <leader>\_ to escape underscores
2023-07-16 13:13:44 +02:00
7ce2901078
vim:ftplug:tex: Escape underscores in macro-type
2023-07-16 13:12:18 +02:00
4e79b369c3
vim:keys: Rewrite mapping functions to use dicts
...
Instead of having a long list of `map` commands, define a dictionary for
the mappings and take shortcuts were possible.
2023-07-16 13:11:14 +02:00
84af8f96b3
meta:install: Fix typo in defaults directive
2023-07-10 18:54:52 +02:00
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
d969fb3d5e
bin:trans: Fix argument parsing
2023-06-26 13:32:02 +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