From 9bd0d51ec2f837e521d734b4edafd3af58e1677b Mon Sep 17 00:00:00 2001 From: Henrik Bakken Date: Sun, 16 May 2021 18:42:18 +0200 Subject: [PATCH] updates --- hjalmar-mothership/i3/config | 4 +-- nvim/init.vim | 49 ++++++++++++++++-------------------- 2 files changed, 24 insertions(+), 29 deletions(-) diff --git a/hjalmar-mothership/i3/config b/hjalmar-mothership/i3/config index d3715dc..0fe1e19 100644 --- a/hjalmar-mothership/i3/config +++ b/hjalmar-mothership/i3/config @@ -42,8 +42,8 @@ exec_always --no-startup-id fix_xcursor exec --no-startup-id setxkbmap -layout no -model pc105 -variant nodeadkeys exec --no-startup-id redshift-gtk -l 59.91:10.75 # exec --no-startup-id dropbox start & -exec --no-startup-id nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60 -exec --no-startup-id xrandr --output DP-0 --mode 5120x1440 --primary +# exec --no-startup-id nvidia-settings -a GPUFanControlState=1 -a GPUTargetFanSpeed=60 +exec --no-startup-id xrandr --output DP-0 --mode 5120x1440 --primary --gamma 0.9:0.9:0.9 # div bindings bindsym $mod+Shift+q kill diff --git a/nvim/init.vim b/nvim/init.vim index d5e4f64..37a82a2 100644 --- a/nvim/init.vim +++ b/nvim/init.vim @@ -33,13 +33,12 @@ Plug 'godlygeek/tabular' Plug 'tpope/vim-repeat' Plug 'tpope/vim-commentary' " commenting tool Plug 'tpope/vim-surround' " parentheses helper -Plug 'mbbill/undotree' " Persistent undo -Plug 'farmergreg/vim-lastplace' " When reopen a buffer, puts the cursor where it was last time -Plug 'haya14busa/vim-asterisk' " better asterisk motions Plug 'tpope/vim-unimpaired' Plug 'tpope/vim-sensible' Plug 'tpope/vim-eunuch' -Plug 'dkarter/bullets.vim' +Plug 'mbbill/undotree' " Persistent undo +Plug 'farmergreg/vim-lastplace' " When reopen a buffer, puts the cursor where it was last time +Plug 'haya14busa/vim-asterisk' " better asterisk motions " python Plug 'tmhedberg/SimpylFold' Plug 'Vimjas/vim-python-pep8-indent' @@ -51,7 +50,6 @@ Plug 'christoomey/vim-tmux-navigator' " integrate movement in tmux and vim " aesthetics Plug 'chrisbra/Colorizer' " show color codes Plug 'junegunn/rainbow_parentheses.vim' " colorize parentheses -Plug 'gillyb/stable-windows' " themes Plug 'chriskempson/base16-vim' Plug 'vim-airline/vim-airline' @@ -292,8 +290,6 @@ nmap :cn " remove buffer nmap :bprev:bd# nmap :bprev:bd!# -" close window -nmap :q " ***************************** " GIT @@ -328,25 +324,24 @@ let g:fzf_preview_command='bat --color=always --plain {-1}' " Installed bat let g:fzf_preview_grep_cmd='rg --smart-case --line-number --no-heading --color=never' let g:fzf_buffers_jump = 1 " shortcuts -nmap :Colors -nmap :CocFzfList -nmap (coc-rename) -nmap (coc-refactor) -xmap (coc-format-selected) -nmap (coc-format-selected) -nmap :CocDiagnostics -nmap :copen -nmap :vimgrep TODO **/*:copen -nmap :Commits -nmap :BCommits -nmap :Buffers -nmap :RG -nmap :GFiles? -nmap :History -nmap :Files -nmap :GFiles -nmap :Filetypes -nmap :Marks +nmap :Colors +nmap :CocDiagnostics +nmap (coc-refactor) +nmap (coc-rename) +nmap :copen +nmap :vimgrep TODO **/*:copen +nmap :checkt +nmap :Commits +nmap :BCommits +nmap :CocFzfList +nmap :Buffers +nmap :RG +nmap :GFiles? +nmap :History +nmap :Files +nmap :GFiles +nmap :Filetypes +nmap :Marks " ***************************** " COC CONFIGS @@ -439,4 +434,4 @@ let g:fzf_action = { \ 'ctrl-s': 'split', \ 'ctrl-v': 'vsplit' } -let $FZF_DEFAULT_OPTS = '--bind ctrl-a:select-all' +let $FZF_DEFAULT_OPTS = '--bind alt-q:select-all+accept'