GEN: Quality of Life improvements

This commit is contained in:
Tobias Manske 2022-11-02 19:12:37 +01:00
parent 23fa10a1e3
commit 599537bcaf
Signed by: tobias
GPG Key ID: E83C743C1FC2F79A
10 changed files with 73 additions and 55 deletions

View File

@ -15,3 +15,6 @@ URxvt.perl-ext-common: default,clipboard
! font ! font
URxvt.font: xft:DejaVu Sans Mono:size=10,xft:Source Code Pro for Powerline:size=10 URxvt.font: xft:DejaVu Sans Mono:size=10,xft:Source Code Pro for Powerline:size=10
URxvt.boldFont: xft:DejaVu Sans Mono:size=10,xft:Source Code Pro for Powerline:bold:size=10 URxvt.boldFont: xft:DejaVu Sans Mono:size=10,xft:Source Code Pro for Powerline:bold:size=10
! rofi
rofi.case-sensitive: false

1
.zshrc
View File

@ -1,4 +1,3 @@
# Start configuration added by Zim install {{{ # Start configuration added by Zim install {{{
# #
# User configuration sourced by interactive shells # User configuration sourced by interactive shells

View File

@ -13,6 +13,7 @@
workspace $wsF2 gaps inner 0 workspace $wsF2 gaps inner 0
for_window [class="zoom"] floating enable for_window [class="zoom"] floating enable
for_window [class="JidePopup"] floating enable
for_window [class="zoom" title="Zoom - Licensed Account"] floating disable for_window [class="zoom" title="Zoom - Licensed Account"] floating disable
for_window [class="zoom" title="Zoom Meeting"] floating disable for_window [class="zoom" title="Zoom Meeting"] floating disable
@ -21,7 +22,8 @@
bindsym $mod+m move workspace to output right bindsym $mod+m move workspace to output right
bindsym $mod+Shift+m move workspace to output up bindsym $mod+Shift+m move workspace to output up
bindsym $mod+Shift+n exec --no-startup-id /usr/bin/networkmanager_dmenu bindsym $mod+Shift+n exec --no-startup-id /usr/bin/networkmanager_dmenu --rofi -i
bindsym $mod+Shift+x exec --no-startup-id ~/.config/rofi/bin/menu_powermenu bindsym $mod+Shift+x exec --no-startup-id ~/.config/rofi/bin/menu_powermenu
bindsym $mod+Shift+b exec --no-startup-id rofi-bluetooth bindsym $mod+Shift+b exec --no-startup-id rofi-bluetooth
bindsym $mod+Shift+e exec --no-startup-id rofimoji

View File

@ -34,8 +34,8 @@
set $TERMINAL alacritty set $TERMINAL alacritty
# gaps # gaps
set $gap_outer 15 set $gap_outer 0
set $gap_inner 10 set $gap_inner 0
set $ws1 "1" set $ws1 "1"
set $ws2 "2" set $ws2 "2"

View File

@ -121,8 +121,6 @@ floating_modifier $mod
# restart i3 inplace (preserves your layout/session, can be used to upgrade i3) # restart i3 inplace (preserves your layout/session, can be used to upgrade i3)
bindsym $mod+Shift+r restart bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session)
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
# Urgent window # Urgent window
bindsym $mod+x [urgent=latest] focus bindsym $mod+x [urgent=latest] focus

View File

@ -22,6 +22,8 @@ filetype plugin indent on
set encoding=utf-8 set encoding=utf-8
set signcolumn=number set signcolumn=number
set mouse=n
set foldmethod=syntax set foldmethod=syntax
if exists('+termguicolors') if exists('+termguicolors')
@ -103,3 +105,8 @@ hi Normal guibg=NONE ctermbg=NONE
autocmd BufRead *.orig set readonly autocmd BufRead *.orig set readonly
autocmd BufRead *.pacnew set readonly autocmd BufRead *.pacnew set readonly
set nofoldenable set nofoldenable
if exists("$LIGHTMODE")
set bg=light
colorscheme onehalflight
endif

View File

@ -19,5 +19,12 @@
"git.addGBlameToVirtualText": false, "git.addGBlameToVirtualText": false,
"gitignore.enable": true, "gitignore.enable": true,
"diagnostic.errorSign": "✘", "diagnostic.errorSign": "✘",
"diagnostic.warningSign": "⚠" "diagnostic.warningSign": "⚠",
"diagnostic.infoSign": "ⓘ",
"diagnostic.hintSign": "",
"diagnostic.showUnused": true,
"ltex.languageToolHttpServerUri": "http://localhost:8081/",
"coc.source.vimtex.filetypes": [
"tex"
]
} }

View File

@ -16,3 +16,4 @@ au BufNewFile,BufRead *.bu set filetype=yaml
au BufNewFile,BufRead .latexmkrc set filetype=perl au BufNewFile,BufRead .latexmkrc set filetype=perl
au BufNewFile,BufRead .tex set filetype=latex

View File

@ -98,6 +98,7 @@ set nowritebackup
set cmdheight=2 set cmdheight=2
set updatetime=300 set updatetime=300
set shortmess+=c set shortmess+=c
let g:coc_filetype_map = {'tex': 'latex'}
" Use tab for trigger completion with characters ahead and navigate. " Use tab for trigger completion with characters ahead and navigate.
" Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin. " Use command ':verbose imap <tab>' to make sure tab is not mapped by other plugin.
inoremap <silent><expr> <TAB> inoremap <silent><expr> <TAB>
@ -223,50 +224,50 @@ autocmd BufEnter * if bufname('#') =~ 'NERD_tree_\d\+' && bufname('%') !~ 'NERD_
\ let buf=bufnr() | buffer# | execute "normal! \<C-W>w" | execute 'buffer'.buf | endif \ let buf=bufnr() | buffer# | execute "normal! \<C-W>w" | execute 'buffer'.buf | endif
" Blame " Blame
lua << EOF " lua << EOF
require("blame_line").setup { " require("blame_line").setup {
-- whether the blame line should be shown in visual modes " -- whether the blame line should be shown in visual modes
show_in_visual = true, " show_in_visual = true,
"
-- whether the blame line should be shown in insert mode " -- whether the blame line should be shown in insert mode
show_in_insert = true, " show_in_insert = true,
"
-- the string to prefix the blame line with " -- the string to prefix the blame line with
prefix = " ", " prefix = " ",
"
-- String specifying the the blame line format. " -- String specifying the the blame line format.
-- Any combination of the following specifiers, along with any additional text. " -- Any combination of the following specifiers, along with any additional text.
-- - `"<author>"` - the author of the change. " -- - `"<author>"` - the author of the change.
-- - `"<author-mail>"` - the email of the author. " -- - `"<author-mail>"` - the email of the author.
-- - `"<author-time>"` - the time the author made the change. " -- - `"<author-time>"` - the time the author made the change.
-- - `"<committer>"` - the person who committed the change to the repository. " -- - `"<committer>"` - the person who committed the change to the repository.
-- - `"<committer-mail>"` - the email of the committer. " -- - `"<committer-mail>"` - the email of the committer.
-- - `"<committer-time>"` - the time the change was committed to the repository. " -- - `"<committer-time>"` - the time the change was committed to the repository.
-- - `"<summary>"` - the commit summary/message. " -- - `"<summary>"` - the commit summary/message.
-- - `"<commit-short>"` - short portion of the commit hash. " -- - `"<commit-short>"` - short portion of the commit hash.
-- - `"<commit-long>"` - the full commit hash. " -- - `"<commit-long>"` - the full commit hash.
template = "<author> • <author-time> • <summary>", " template = "<author> • <author-time> • <summary>",
"
-- The date format settings, for `"<author-time>"` and `"<committer-time>"` " -- The date format settings, for `"<author-time>"` and `"<committer-time>"`
date = { " date = {
-- whether the date should be relative instead of precise " -- whether the date should be relative instead of precise
-- (I.E. "3 days ago" instead of "09-06-2022". " -- (I.E. "3 days ago" instead of "09-06-2022".
relative = true, " relative = true,
"
-- `strftime` compatible format string. " -- `strftime` compatible format string.
-- Only used if `date.relative == false` " -- Only used if `date.relative == false`
format = "%d-%m-%y", " format = "%d-%m-%y",
}, " },
"
-- The highlight group to highlight the blame line with. " -- The highlight group to highlight the blame line with.
-- The highlight of this group defaults to `Comment`. " -- The highlight of this group defaults to `Comment`.
hl_group = "BlameLineNvim", " hl_group = "BlameLineNvim",
"
-- The delay in milliseconds between a cursor movement and " -- The delay in milliseconds between a cursor movement and
-- when the blame line should appear/update " -- when the blame line should appear/update
delay = 0, " delay = 0,
} " }
EOF " EOF
" Vim-markdown " Vim-markdown

View File

@ -66,7 +66,7 @@ Plug 'tpope/vim-endwise'
Plug 'hdima/python-syntax' Plug 'hdima/python-syntax'
Plug 'fs111/pydoc.vim' Plug 'fs111/pydoc.vim'
Plug 'Vimjas/vim-python-pep8-indent' Plug 'Vimjas/vim-python-pep8-indent'
Plug 'tmhedberg/SimpylFold' " Plug 'tmhedberg/SimpylFold'
Plug 'vim-scripts/javacomplete' Plug 'vim-scripts/javacomplete'
Plug 'udalov/kotlin-vim' Plug 'udalov/kotlin-vim'
@ -86,12 +86,12 @@ Plug 'pedrohdz/vim-yaml-folds'
" KIT-Color-Scheme " KIT-Color-Scheme
Plug 'rad4day/kit.vim' " Original by taDachs <3 if you read this I may owe you a kœri Plug 'rad4day/kit.vim' " Original by taDachs <3 if you read this I may owe you a kœri
Plug 'altercation/vim-colors-solarized' Plug 'altercation/vim-colors-solarized'
Plug 'sonph/onehalf', { 'rtp': 'vim' }
" Git integration " Git integration
Plug 'braxtons12/blame_line.nvim' " Plug 'braxtons12/blame_line.nvim'
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
Plug 'tpope/vim-fugitive' Plug 'tpope/vim-fugitive'
@ -104,7 +104,7 @@ Plug 'rad4day/vim-ripgrep'
Plug 'github/copilot.vim' Plug 'github/copilot.vim'
" Fancy buffer handling " Fancy buffer handling
Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.2.1' } Plug 'akinsho/bufferline.nvim', { 'tag': 'v2.3.0' }
Plug 'johann2357/nvim-smartbufs' Plug 'johann2357/nvim-smartbufs'