diff options
| author | David Kaufmann <astra@ionic.at> | 2023-02-09 17:45:35 +0100 |
|---|---|---|
| committer | David Kaufmann <astra@ionic.at> | 2023-02-09 17:45:35 +0100 |
| commit | fa8e2d5081a31b593186d6a4260f9bc0749c3ce6 (patch) | |
| tree | 0baf8529686cdfa9992eaf00a6eb4db92a631771 | |
| parent | 25819730c28146250c7dca8f7f967280d0c0cea2 (diff) | |
| download | config-fa8e2d5081a31b593186d6a4260f9bc0749c3ce6.tar.gz | |
update config
| -rw-r--r-- | home/.gitconfig | 1 | ||||
| -rw-r--r-- | home/.tmux.conf | 16 | ||||
| -rw-r--r-- | home/.vim/vimrc | 14 |
3 files changed, 19 insertions, 12 deletions
diff --git a/home/.gitconfig b/home/.gitconfig index 5a3a133..89ab7d6 100644 --- a/home/.gitconfig +++ b/home/.gitconfig @@ -1,5 +1,6 @@ [alias] dc = describe --contains + cf = !git status --porcelain | cut -d' ' -f3 | cut -d'/' -f1-4 | sort | uniq | xargs -n1 | xargs -I '{}' echo git commit -m '{}' -- {} | sh lg = log --all --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev-commit wdiff = diff --word-diff diff --git a/home/.tmux.conf b/home/.tmux.conf index 8195fcc..25840b9 100644 --- a/home/.tmux.conf +++ b/home/.tmux.conf @@ -1,7 +1,7 @@ -set-option -g prefix C-a -set-option -g prefix2 C-b -bind-key a send-prefix -bind-key b send-prefix -2 +set-option -g prefix C-b +set-option -g prefix2 C-a +bind-key b send-prefix +bind-key a send-prefix -2 bind-key C-a last-window bind-key C-b last-pane bind-key A command-prompt -I'#W' "rename-window '%%'" @@ -9,11 +9,16 @@ bind-key r source-file ~/.tmux.conf bind-key Escape copy-mode bind-key Space list-panes bind-key Enter break-pane +# Prompted join-pane +bind-key j command-prompt -p "join this pane to window:" "join-pane -h -t '%%.0'" # Set that stupid Esc-Wait off, so VI works again set-option -sg escape-time 0 set-option -g repeat-time 400 +# More time for pane indicators +set-option -g display-panes-time 2000 + set-option -g history-limit 65536 set-option -g default-terminal screen-256color @@ -61,6 +66,9 @@ bind-key -T copy-mode -n S-NPage send-keys -X halfpage-down bind-key -T copy-mode-vi -n S-PPage send-keys -X halfpage-up bind-key -T copy-mode-vi -n S-NPage send-keys -X halfpage-down +# search function +bind-key -T copy-mode -n / send-keys -X search-forward + set-window-option -g aggressive-resize on set-option -g renumber-windows on diff --git a/home/.vim/vimrc b/home/.vim/vimrc index d2ff03b..40085d1 100644 --- a/home/.vim/vimrc +++ b/home/.vim/vimrc @@ -335,17 +335,15 @@ let g:pydiction_location = '/home/astra/.vim/ftplugin/pydiction/complete-dict' let g:vimtex_quickfix_autojump = 0 let g:vimtex_quickfix_open_on_warning = 1 -"let g:vimtex_quickfix_latexlog = {'default': 0} -let g:vimtex_quickfix_latexlog = { - \ 'overfull': 0, - \ 'underfull': 0, - \ 'packages': { - \ 'default': 0, - \ }, - \} +let g:vimtex_quickfix_ignore_filters = [ + \ 'overfull', + \ 'underfull', + \] let g:rustfmt_autosave = 1 +let g:pymode_options_max_line_length = 256 + " transparency: open colorscheme, replace "ctermbg=Color" with "ctermbg=NONE" retab |
