Commit Graph

173 Commits

Author SHA1 Message Date
druckdev
99e57230e5 Update submodules
Update p10k to v1.12.0.
Update tmux-{continuum,resurrect}, fzf, zsh-syntax-highlighting and
dotbot to the latest master commit.
2020-08-25 05:08:29 +02:00
druckdev
11be8376ae Add description to filterHistory script
Add author, date and description to the filterHistory script.
Fix other author and date notes formatting.
2020-08-25 04:23:57 +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
2c457b3276 Put theme below enabling 256 colors 2020-08-22 17:10:36 +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
4f1e97664c Update vim plugins
Update vim vim-plug and the plugins.
2020-08-22 16:42:51 +02:00
druckdev
7d68990051 Put ls into BUFFER instead of printing it
Before, syntax-highlighting did not trigger and the fake ls was ugly.
2020-08-22 16:25:25 +02:00
druckdev
ea5ec6b865 Check termcap before putting in application mode 2020-08-22 16:24:49 +02:00
druckdev
bcd23681ce List open files when unmount fails 2020-08-22 16:21:37 +02:00
druckdev
1ca16d248d Add conf completion for programs in HOME 2020-08-20 00:53:26 +02:00
druckdev
c1315bd693 Fix name clashing
Fix name clashing of batter alias with bat the cat replacement
2020-08-20 00:20:21 +02:00
druckdev
7ae6b2189d Make p10ks instant prompt quiet 2020-08-19 21:55:51 +02:00
druckdev
9f86f2dc08 Fix typo 2020-08-19 21:55:16 +02:00
druckdev
c456216e6b Add binding for fzf-history-widget 2020-08-19 21:53:37 +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
44d8de0efe Removed unnecesary brackets 2020-08-05 23:56:42 +02:00
druckdev
31da6669e9 Globally ignore all compiled zsh-files 2020-08-04 06:19:18 +02:00
druckdev
d44f488b30 Added credit 2020-08-04 06:08:19 +02:00
druckdev
5e5ec4098a Do not always pull submodules
Stop always recursively pulling submodules too, since it annoys me and
if it is important for a project, it will probably stand in the README.
2020-08-04 06:02:30 +02:00
druckdev
83bfec7bbf Update submodules
Update dotbot to v1.17.1
Update zsh-async to v1.8.3
Update zsh-syntax-highlighting to latest commit (2d60a47cc)
2020-08-04 05:54:15 +02:00
druckdev
be3e217231 Check for certain commands before using
Check for existence of certain commands like nvim before using them in
aliases or env vars like EDITOR.
2020-08-04 04:49:30 +02:00
druckdev
066d8e9f0e Make adding to PATH safer 2020-08-04 04:39:00 +02:00
druckdev
5771a7d18f Create zsh_history location if nonexistent 2020-08-04 04:14:48 +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
074ea3382a Add .local/bin to PATH 2020-08-04 02:51:36 +02:00
druckdev
abb79d740c Update tmux plugins 2020-08-04 02:50:08 +02:00
druckdev
386d689928 Add tmux plugins as git submodules 2020-08-04 02:38:47 +02:00
druckdev
4a99abf72d Do not hardcode vim path 2020-08-03 23:53:14 +02:00
druckdev
35b94d7211 Update tpm 2020-08-02 16:33:17 +02:00
druckdev
0c5738896b Add vim plugins
Add vim-plug.
Add vim-gitgutter and coc.nvim.
Shorten some lines to 80 chars.
2020-08-02 16:24:08 +02:00
druckdev
780dcce32c Vim keybindings
Set leader key.
Add bindings for jumping on the same indentation level.
Add bindings for more comfortable split view navigation.
2020-07-31 18:02:13 +02:00
druckdev
e8eaec0798 Add function for safe removal of external HDDs
Add zsh function that can be used for safely removing external HDDs
since only unmounting them will not make them stop spinning.
2020-07-31 16:41:57 +02:00
druckdev
158a1c757d Execute ls when enter is pressed with empty buffer 2020-07-31 16:38:38 +02:00
druckdev
a9955af675 Add git log alias
Add alias that displays git log in a colored graph
2020-07-31 16:36:17 +02:00
druckdev
3e87ce3fb6 Set zsh option
Substitute aliases internally before completion.
2020-07-31 16:35:02 +02:00
druckdev
bf1dc0c7c1 Cleanup
Use better/more readable version of the command that starts the
scratchpad-terminal.
i3 seems to pass the exec arguments to /bin/sh so adding another call
was redundant.
2020-07-14 16:26:09 +02:00
druckdev
20b9e3c2a8 Show workspace name instead of index
By that workspaces with no indices are displayed as their name instead
of "-1".
2020-07-14 14:33:17 +02:00
druckdev
c44dea2beb Add support for directories with spaces
Add support for directories with spaces when launching the
scratchpad-terminal.
NOTE: The exact same command but with 6 backlashes instead of 8 seems to
work just fine. That makes no sense in my head. Either I'm missing
something or there is a bug in the escaping of backslashes in i3.
2020-07-14 14:28:50 +02:00
druckdev
c4d4721c0c Scratchpad-terminal changes
Open the scratchpad-terminal in the same working directory as the
current window. This makes sense since I use it for small and quick
tasks that often need to take place in the same place.

Start the terminal in a separate workspace before switching back so that
the window does not break the workspaces layout or its content.
The script has to wait shortly so that the window is "done" (made
floating, sticky, etc.). This is a very dirty hack and should be
replaced in the future.
2020-07-03 02:51:05 +02:00
druckdev
6e9dc46fab Add loading of direnv 2020-07-03 02:07:16 +02:00
druckdev
100882f912 Combine keyboard commands
Combine keyboard related commands to have control over the order of
execution. Sometimes the layout was not set properly since xmodmap takes
a while an then xcape gets messed up.
2020-07-03 02:04:55 +02:00
druckdev
843d51b415 Fix bug that occurs when dirs contain spaces
When one of the parent directories contain spaces, the zle -M gets to
many arguments and complains. Quoting them solves this bug.
2020-07-03 01:59:16 +02:00
druckdev
da474b7899 Whitespace changes
Delete unnecessary indentation and convert all spaces to tabs.
2020-06-30 04:10:47 +02:00
druckdev
a180a09f6f Make sure that the terminfo values are valid 2020-06-30 03:54:42 +02:00
druckdev
2ab21674b0 Switch cursor style depending on keymap 2020-06-30 03:44:11 +02:00
druckdev
658698f66d Remove not properly working selection bindings 2020-06-30 03:15:10 +02:00
druckdev
dad05f4d68 Autoload and bind run-help 2020-06-30 03:08:36 +02:00
druckdev
e8b8c27369 No duplicate completion for diff programs 2020-06-30 03:07:00 +02:00
druckdev
d50eb4a506 Reworked zsh options
Add and rephrased option comments.
unset CDABLE_VARS since it only works with cd and thus leads to problems
when trying to use the notation with other programs (since it became a
habit)
Set new options.
2020-06-30 03:04:22 +02:00