4623688fa8
zsh:funcs:crypt-umount: Fix typo
...
Remove the basename of `$mount_point` as this is the actual symlink name
in `~/mounts/`.
2022-01-30 00:33:39 +01:00
e9c4d7f608
vim:funcs:crypt-*mount: Split local declarations
...
Split up local declarations into definition and declaration to get the
exit code of the command substitution.
With `err_return` the function now aborts early if `$mount_point`
couldn't be set properly.
2022-01-30 00:09:08 +01:00
546b37681f
zsh:funcs:crypt-*mount: Create mountpoint symlink
2022-01-30 00:08:09 +01:00
c2c0d4fc04
zsh:funcs:crypt-*mount: Test for block special
2022-01-30 00:04:22 +01:00
94d4a32a43
zsh:funcs:crypt-*mount: Use err_return option
2022-01-30 00:04:22 +01:00
f37afc9400
zsh:funcs:crypt-umount: Define $name variable
2022-01-30 00:04:22 +01:00
cb7263e77d
*: Update plugins and other submodules
2022-01-29 22:42:33 +01:00
eaa4b938c3
bin: Add timetracking
2022-01-28 16:35:57 +01:00
0e1712b4c0
zsh:autoload: Move git functions into git/
2022-01-28 16:35:56 +01:00
fb92842d0a
zsh:autoload: Include all subdirs in autoload/
...
Make it possible to organize autoloadable functions.
2022-01-27 14:43:57 +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
b72b112426
X11:xinit: Check for existence of xcape
...
Even if it is commented right now I want it to work correctly when I
uncomment it.
2022-01-24 13:22:22 +01:00
9aab0af109
X11:xmodmap: Keep Caps_Lock on Shift+Caps
...
Remove other Caps_Lock binding.
2022-01-24 13:20:30 +01:00
e14758170e
meta:git-remote: Add origin as fallback remote
...
In the rare case that no remote url containing `druckdev/dotfiles`
exists, this should still (try to) work.
This could be the case if I rename my username or the repo or in the
even rarer case that somebody forks this... Quite ambitious.
2022-01-22 00:13:55 +01:00
4c3dfc4c52
meta:git-remote: Don't hardcode origin as remote
...
As I know how the url should look like I can allow the default remote
being named differently.
2022-01-22 00:02:36 +01:00
5155cbbed1
vim:keys: Bind <leader><Esc> to exit terminal
...
Bind `<leader><Esc>` to exit terminal-mode.
2022-01-21 19:13:24 +01:00
c2e21d23c0
vim:plugins: Only add gutentags with ctags
...
Only add gutentags with `ctags` as valid executable. Otherwise vim will
complain.
2022-01-21 16:42:25 +01:00
88bd0bcf25
meta:install: Create xdg-user-dirs
2022-01-21 16:39:04 +01:00
1e3aa5108e
xdg-user-dirs: Move media folders into ~/media/
2022-01-21 16:37:05 +01:00
8ffd4df1fa
vim:keys: Add insert mappings for better undo
...
The bigger `inoremap <expr> ...` binding is taken from the help page
`:help i_ctrl-g_u`.
2022-01-20 16:05:47 +01:00
2dcece04f3
zsh:alias: Add further git aliases
2022-01-20 16:02:24 +01:00
dcea7c9531
vim:keys: Add git bindings for add and commit
...
Also add `g` as prefix to the already existing `:Gcd` binding.
2022-01-20 15:59:45 +01:00
851674efeb
zsh:autoload:glog: Fix syntax w/ bash login shell
...
When bash is set as standard shell, fzf passes the commands to it and
bash throws a syntax error because of the missing semicolon.
2022-01-14 15:02:50 +01:00
ef7196f2ca
git: Add fixes alias and pretty format
...
This allows printing for 'Fixes:' tags as mentioned in the kernel
documentation:
https://www.kernel.org/doc/html/latest/process/submitting-patches.html
2022-01-12 12:41:22 +01:00
157c2ae43f
git: Abrreviate commit SHA-1 IDs with 12 chars
2022-01-12 12:36:07 +01:00
cdd727382c
vim:ftplugin:python: Use indent as foldmethod
2022-01-03 01:23:56 +01:00
3c40002a4a
git: Sort config lines and fix indentation
2022-01-02 23:28:34 +01:00
e4d9e5d6cd
repo:LICENSE: Bump year to 2022
2022-01-02 23:22:23 +01:00
fe8a656dfe
zsh:keys:cmd-on-enter: Refactor for real cmd cycle
...
Refactor the function to keep an array of commands with requirements
that have to be met. Those commands are then cycled over a wrap around
index instead of the inflexible switch statement.
2021-12-29 18:58:45 +01:00
b6d2299444
zsh:keys:cmd-on-enter: Remove zle message print
...
It did nothing.
2021-12-29 17:33:33 +01:00
9f99ceafd4
zsh:keys:cmd-on-enter: Use ll instead of ls
2021-12-29 17:28:41 +01:00
0015f2a223
vim:plugins: Enable vim-syntax-extra
2021-12-27 01:31:01 +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
eb74eb274c
git:alias:track: Add horizontal line under header
2021-11-18 17:13:50 +01:00
9f65a22df7
git:alias:track: Merge both sed invocations
2021-11-18 04:21:39 +01:00
225a17c437
git:alias:track: Get rid of function definition
...
The function definition in the spull alias is only needed for the
processing of arguments. In `track`s case it is completely unnecessary.
2021-11-18 04:06:54 +01:00
74a329a7ea
git:alias: Add branches as alias for track
2021-11-18 03:39:40 +01:00
081e78562f
git:alias:track: Fix strange split header line bug
...
Fix weird issue that when `column` is used to display the header line,
it is split over two lines sometimes.
```
local
remote
origin/HEAD
dev origin/dev
main origin/main
origin/utils
```
2021-11-18 00:57:45 +01:00
227495e7c7
git:alias:track: Separate remotes with newlines
2021-11-18 00:53:56 +01:00
7b5dbd7851
git:alias:track: Name the table columns
...
Also use `column` to reorder the columns instead of `sed`.
2021-11-17 01:36:21 +01:00
11dab14da3
git:alias:track: Shorten command
...
Shorten command by always printing a `,` as separator and
differentiating between remote and head refs by a leading slash.
2021-11-17 01:23:33 +01:00
f11be2c1a9
git:alias:track: Fix multiple branch filtering
...
This fixes the deletion/filtering of branches if there were multiple
local branches tracking the same remote branch.
2021-11-15 18:51:55 +01:00
3297ba81b4
git:alias:track: Also list non-tracked remotes
...
The alias now lists all local *and* all remote branches and displays how
they are linked.
The `sort -uk1,1` deletes all duplicate entries of remote branches as
they could be listed as %(upstream) as well as %(refname) through the
`refs/remotes/`.
TODO:
This deletes too many entries when multiple local branches track
the same remote branch. (Why ever you should do that...)
I guess this could be resolved by using `awk` for the uniqueness.
2021-11-12 15:56:01 +01:00
1fd2c730d9
git:alias:track: Do not print trailing arrow
...
Do not print trailing arrow when the local branch is not tracking a
remote branch.
2021-11-12 14:32:01 +01:00
2434f3fc4c
git: Add track alias
...
This command lists all branches and what remote branch they are
tracking.
2021-11-12 14:30:40 +01:00
a3e872556f
polybar: Update wlan interface name
2021-11-07 13:57:12 +01:00
ade4486b84
git: Disable addIgnoredFile advice
2021-10-06 21:41:28 +02:00
2ba63dc413
locale: Surpress greps output
2021-10-05 12:01:46 +02:00
a42155a64b
vim:keys: Improve bindings to move lines
...
The old bindings had problems when trying to move further than BOF, EOF.
2021-09-30 10:38:58 +02:00