Commit Graph

1681 Commits

Author SHA1 Message Date
druckdev
b444a942c2 Make dotbot helper-scripts executable 2020-09-15 03:39:46 +02:00
druckdev
9f4a44f37d Modify gitignore
Add comments to 'sections'.
Ignore *.bak files and rejected patch files.
Ignore rangers history and bookmarks file.
2020-09-15 01:49:32 +02:00
druckdev
778f492aed Add custom ranger keybindings
f should filter and not find. All filters should be cleaned when
changing directories.
C-t should open a new tab like it does in almost every GUI application.
2020-09-15 01:32:39 +02:00
druckdev
be7f5229bc Let ranger not set the tmux title
Apparently there is a bug in my st setup that leads to the window title
being changed independently of tmux running.
Since my i3 setup checks for the window name for the scratchpad terminal
this has to stop.
2020-09-15 01:23:13 +02:00
druckdev
fdb9dbe92e Set custom ranger options 2020-09-15 01:22:34 +02:00
druckdev
1e07714529 Add ranger config
Add ranger (v.1.9.3) default options generated by
`ranger --copy-config=rc`
and then deleting all keybindings, the header and a useless comment.
2020-09-15 01:14:18 +02:00
druckdev
ab67bd553e Add vim keybindings
Add binding for the substitute command.
Add bindings for interacting with the system clipboard with y/p.
Change the keybindings header to use the full word.
2020-09-15 00:37:02 +02:00
druckdev
efd5df4f24 Change meaning of cw in vim to act like dw
This is an inconsistency that bothers me. And getting into the habit of
using ce seems to not hurt since it is still 'backwards' compatible to
other configs.
2020-09-15 00:31:52 +02:00
druckdev
746dc36c07 Put vim keybindings below settings 2020-09-13 19:26:50 +02:00
druckdev
54214d09d7 Split vim to the right/bottom 2020-09-13 19:23:56 +02:00
druckdev
923c0c0648 Cleanup vims XDG config
Add exact commit to reference link.
Merge deleting and then readding different paths to options onto a
single line.
2020-09-13 17:56:13 +02:00
druckdev
1442cf9fca Disable gdefault in vim
Since this option is deprecated because it may break stuff in plugins
that do not expect this option to be set.
Also inccommand still highlights globally as soon as the flag is added.
2020-09-13 17:39:46 +02:00
druckdev
d6b3ebbe7d Re-enable arrow keys in vim
I'm comfortable with hjkl now and thus this is not useful anymore since
it also disables them in command mode where I actually need them from
time to time.
2020-09-13 17:35:19 +02:00
druckdev
1b783875ba Let nvim show the effect of a command while typing
For example when typing a substitute command: live highlight the pattern
and show the result to which it would be substituted.
2020-09-13 17:32:55 +02:00
druckdev
253501a230 Add git-submodule-rm
Add function git-submodule-rm that deinits and removes a submodule from
a git repo.
2020-09-13 17:14:50 +02:00
druckdev
85a68a2c92 Blur and transparency tweaks
Increase blur and the transparency for the scatchpad-terminal.
2020-09-13 16:33:56 +02:00
druckdev
93e6a3ee93 Fix issues with vanilla vim
When TERM is not xterm-256color (for example in st or tmux) t_8f and
t_8b have to be set manually for colors to work.
Add XDG_CONFIG_HOME/vim to packpath so that plugins work.
2020-09-13 16:26:20 +02:00
druckdev
9151969cab Remove -m flag from git commit alias
Meanwhile I am often writing longer commit messages instead of oneliner.
2020-09-13 04:48:23 +02:00
druckdev
d3433bc83e Small changes in vpn polybar module
Check for tunnel connections now as well.
Add exit code that signals if a VPN is used or not.
2020-09-13 04:45:15 +02:00
druckdev
076a383505 Remove vim plugin submodule added by accident 2020-09-13 04:43:18 +02:00
druckdev
e792461a20 Do not export zsh internal variables 2020-09-13 04:36:52 +02:00
druckdev
6786d8815a Add blur and make dotfiles more flexible
Add blur using the fork from https://github.com/tryone144/compton.
picom seems to be very CPU heavy on my system, so until I figure out how
to fix that I will use this outdated version.
Make the dotfiles a bit more flexible by creating symlinks for stuff
like the wallpaper or the compositor. When switching/exchanging these
components only the symlinks have to be updated.
2020-09-13 04:29:07 +02:00
druckdev
1e360611ad Add VSCode config 2020-09-11 04:09:30 +02:00
druckdev
dba6ad3c1b Ignore vscode files 2020-09-10 06:30:34 +02:00
druckdev
72f6d50546 Cleanup glog
Use associative array for keybinds (just looks a little bit better).
Create array for the fzf arguments.
2020-09-10 05:53:32 +02:00
druckdev
54f73da792 Add global flag to sed
This fixes the bug that the scratchpad-terminal is not able to change
into a directory with multiple spaces since I forgot to substitute the
spaces globally.
2020-09-10 05:00:27 +02:00
druckdev
a985873b25 Exit glog if not in git repo 2020-09-04 09:44:45 +02:00
druckdev
0bd083f760 fzf chooser instead of hardcoded commands
Instead of deleting hardcoded commands in filterHistory, sort commands
by usage and let the user select in fzf. If fzf is not installed, show
the most used ones and let the user select manually.
Keep the first occurence in the history for stuff like autosuggestions.
2020-09-03 11:39:32 +02:00
druckdev
292b45aefb Rename and add comment
Rename onelineformat to formatshort to keep one continuous format
(dateshort).
2020-08-31 02:29:29 +02:00
druckdev
9a2e52e51b glog format improvement
Show less information in the fzf list view (for smaller
displays/terminals).
Customize the format of the preview window that now contains almost all
information and colors.
Use single quotes where no variables are used.
2020-08-31 02:24:21 +02:00
druckdev
a74723fea6 Add glog keybindings 2020-08-29 23:23:12 +02:00
druckdev
c951c69165 Enable spell check in vim 2020-08-28 02:44:03 +02:00
druckdev
1334803f40 Fix typo 2020-08-28 02:41:44 +02:00
druckdev
91080dd6d6 Improve glog alias by creating a function for it
Improve glog alias by creating a function for it that uses fzf to
directly preview the full commit using git-show. The function also
allows to select one of the commits and putting its abbreviated commit
hash into the clipboard.
2020-08-28 02:33:38 +02:00
druckdev
c7c51a33fb Add git alias for root of repo 2020-08-25 14:52:57 +02:00
druckdev
9566bd96c3 Improve meta/submodules --init
Keep output of git "live" (Meaning that one can see live what submodule
is currently pulled) by not saving it first and then grepping but by
catching a failing grep when the output of git was empty.
2020-08-25 14:24:06 +02:00
druckdev
b384854a4f Move long commands from dotbot config into scripts
Move long commands from the dotbot config into own scripts to keep the
install.conf.yaml more readable.
Fix bug that the submodule init step fails when already done once since
then the grep statement fails because there is no output.
2020-08-25 14:24:04 +02:00
druckdev
3c65e1a552 Move dotbot related stuff into meta/ 2020-08-25 13:15:06 +02:00
druckdev
97bc45ea0e Build stderred on install and add output 2020-08-25 13:04:15 +02:00
druckdev
12c91a6b28 Link Xmodmap when installing
Add Xmodmap to linked files.
Add path prefix for all links in dotbot config to have one continuous
format.
2020-08-25 12:46:46 +02:00
druckdev
76b1a74564 Link fzf man page 2020-08-25 05:19:20 +02:00
druckdev
86021895f1 Start zsh after dotfiles installation 2020-08-25 05:18:50 +02:00
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
c3415cf310 filterHistory improvements
Add existence check for given file. (How did I forget that?)
Create automatic backup in temporary directory and use it to show
overview of deleted commands.
Make sed expression more readable by using double quotes for the whole
regex and escaping the $ instead of a mix between single and double.
2020-08-25 04:07: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