74e7cdef30
zsh:alias: Check for MACOS in clipboard aliases
...
Also check for the existence of perl before baking it into the alias.
2021-04-04 10:53:41 +02:00
7d085eedd0
zsh,X11: Move ssh-agent from xinitrc to zprofile
...
As I also want the ssh-agent to run without X.
2021-04-04 10:52:51 +02:00
2478e7200e
git: Globally ignore node_modules
2021-04-04 10:50:48 +02:00
141e422910
polybar 📆 Clear LC_TIME
...
I have set LC_TIME to tk_TM.utf8 for its date formatting, but this is
cumbersome when calling `cal`.
2021-04-02 18:36:03 +02:00
2a9b9530e9
git:alias: Fix spull to actually execute
2021-03-11 01:37:32 +01:00
d52afbfa3c
zsh:completion: Add completion for glog
2021-03-11 01:26:59 +01:00
ed55fc14dc
zsh:zprofile: Add /Library/Apple/usr/bin to PATH
...
When under macos add /Library/Apple/usr/bin to the PATH.
2021-03-10 13:50:05 +01:00
c09033ed21
zsh:zprofile: Add /usr/local/bin to PATH
2021-03-10 13:43:11 +01:00
3394cafca3
vim:plugins:ctags: Ignore node_modules/ and .git/
2021-03-10 13:41:48 +01:00
abd26352d4
zsh:ls-show-hidden: Use coreutils ls under darwin
2021-03-10 13:37:32 +01:00
17ef6a23e5
zsh:functions:nvim-man: Use portable flag for man
...
The macos version of man does not have the long versions of the flags.
2021-03-10 13:35:33 +01:00
48dc9ca561
zsh:keys:cmd-on-enter: Add reset on other command
...
If a command is normally executed CMD_ON_ENTER is reseted to `ls`.
Otherwise problems can occur when for example switching the directory to
a non-repo when CMD_ON_ENTER contains `gs`.
2021-03-09 15:47:09 +01:00
93225e2d66
zsh:keys:cmd-on-enter: Cycle between ls & gs too
2021-03-08 01:10:09 +01:00
f0ebab3ca2
repo: Update submodules
2021-03-08 01:05:32 +01:00
7008284a5f
zsh:zshenv: Fix typo
2021-02-26 12:26:57 +01:00
1dab90540d
locale: Check for existence before setting locale
2021-02-26 12:26:34 +01:00
5359e44e0d
vim:plugins:coc.nvim: Update to release branch
2021-02-26 12:09:27 +01:00
02a2b78890
VSCode: Display trailing whitespace
2021-02-19 23:40:07 +01:00
e0a674d4f5
VSCode: Add keybindings.json
2021-02-19 23:40:07 +01:00
428d53e153
VSCode: Set hlsearch
2021-02-19 23:40:07 +01:00
79338da68e
VSCode: Bind Ctrl hjkl to switch buffers
2021-02-19 23:40:07 +01:00
4773c51534
VSCode: Do not expand files in sidebar
2021-02-19 23:40:07 +01:00
4ebf907c7d
X11:xmodmap: Add mode_switch to caps_lock binding
2021-02-18 02:18:45 +01:00
2564c7540f
git 📟 Add tags and stashes to search pattern
...
For example when viewing tags (to start from the start of the file) or
listing stashes with `git stash list -u`.
2021-02-18 02:13:40 +01:00
e71150fa5e
repo: Add locale configuration
2021-02-17 03:03:25 +01:00
754adc9cf7
zsh:fzf-tab: Limit dir previews to a depth of 3
...
Otherwise this is way to performance heavy in large directories.
2021-02-17 02:56:08 +01:00
2700063ac1
zathura: Disable incremental-search for now
...
Disable the option as the search stops taking any input as soon as there
are no search results left. When typing a word fast but making a typo
this is very annoying. Zathura will stop then the search in the middle
of the word and take all remaining characters that are still typed as
commands.
(Maybe create a PR in upstream?)
2021-02-17 02:43:42 +01:00
fa9e8da091
zsh:glog: Show also commit stats in preview
2021-02-17 02:39:59 +01:00
f746909e3a
vim: Enable &autoread + autocmd for regular check
2021-02-17 02:38:15 +01:00
9c593f5e55
xmodmap: Change layout and disable xcape
...
Change layout so that instead of rebinding caps_lock, escape and ctrl_r
in a circle, the caps_lock key now just emulates escape. Caps_lock can now be
accessed by pressing both Shifts together.
Because of that xcape is disabled for now too. Not sure if I will keep
it this way.
Caps_lock is now triggered on every shift for a very small time too,
that is why the caps_lock binding is removed from the i3 config.
2021-02-16 17:24:27 +01:00
965e725bc2
zsh:alias: Use nvim in vimdiff alias
2021-01-27 02:10:24 +01:00
42b32e1244
i3:monitor-setup: Place primary monitor left
2021-01-27 02:09:33 +01:00
bd1e968f6f
zsh:funcs:cd: Recognize ls suffix in paths
2021-01-25 10:20:55 +01:00
9f616bace6
zsh:glog: Disable echo's backslash interpretation
...
With it allowed it breaks the preview and copy of commits that contains
such sequences.
2021-01-15 13:40:29 +01:00
1cbf572d42
zsh:p10k: Recognize protonvpn as vpn
2021-01-15 12:41:09 +01:00
0caa30d6ef
vim: Enable mouse in all modes
2021-01-15 12:40:36 +01:00
5c95111b0f
zsh:func:nvim-man: Fail if no manpage found
2021-01-15 12:39:47 +01:00
9b45c232aa
bash: Add simple bashrc that setups history
2021-01-07 09:58:36 +01:00
555e983d1f
zsh: Fix truncation of history by bash
...
As bash uses some environment variables with the same name as zsh it
uses the same history file and potentially truncates it, when there is
no bashrc.
2021-01-07 09:49:37 +01:00
f4950002b8
i3: Add binding for monitor-setup
2021-01-05 23:19:04 +01:00
2c30d57573
zsh:keys: Fix fzf abort check
...
The file should be opened if fzf returned something not the other way
around. This probably happened in the last refactoring session before
committing.
2021-01-05 22:07:07 +01:00
d0cd6ffef0
zsh: Move man wrapper into function for completion
2021-01-04 16:34:16 +01:00
4d4a5d4ef2
vim: Add vim-lastplace
2021-01-04 16:28:56 +01:00
ec2b7d58ed
zsh:keys: Simulate <leader>f from vim config
2021-01-03 22:33:23 +01:00
5c91bc23a2
zsh:keys: Increase KEYTIMEOUT a bit
2021-01-02 00:40:01 +01:00
e4677c2626
zsh:completion: Fix completion of ls, git-checkout
2020-12-28 03:17:38 +01:00
ebea6a8a80
zsh: Add WIP fzf-tab configuration adding previews
2020-12-28 03:11:20 +01:00
2848cf339a
bat: Initial commit
...
Set a theme and a style. Since currently I only use it for previews in
fzf and ranger I do not need all the fancy bits, but enjoy the syntax
highlighting.
2020-12-28 03:09:02 +01:00
2b64781000
zsh:alias: Use nvim's Man function instead of pipe
...
Just setting neovim as the `MANPAGER` practically results in a pipe.
The problem with this is that `man` puts hard line breaks into the text
depending on the current window width. When the width changes afterwards
the input naturally doesn't change.
When using neovim's `Man` function this is resolved.
2020-12-28 03:01:35 +01:00
a440e8b61e
zsh: Use dictionary for command existence check
...
Use the `commands` dictionary from zsh instead of always calling
`command`.
Regex used:
s/command -v \([^ ]*\) &>\/dev\/null/(( $+commands[\1] ))/g
2020-12-28 02:58:46 +01:00