Updates
This commit is contained in:
parent
63a4c3122b
commit
b245ba2117
|
@ -118,11 +118,6 @@ nnoremap <leader>l :Buffers<CR>
|
|||
" switch to previous buffer
|
||||
nnoremap <leader>h :b#<CR>
|
||||
|
||||
" go to definitions
|
||||
nnoremap <leader>gd :ALEGoToDefinition<CR>
|
||||
nnoremap <leader>gh :ALEGoToDefinitionInSplit<CR>
|
||||
nnoremap <leader>gv :ALEGoToDefinitionInVSplit<CR>
|
||||
|
||||
" use leader j and k to switch buffers as well
|
||||
nnoremap <leader>k :bnext<CR>
|
||||
nnoremap <leader>j :bprevious<CR>
|
||||
|
@ -211,7 +206,25 @@ xnoremap < <gv
|
|||
xnoremap > >gv
|
||||
|
||||
" distraction-free mode
|
||||
nnoremap <silent> <Leader>df :DistractionFreeMode<CR>
|
||||
nnoremap <silent> <leader>df :DistractionFreeMode<CR>
|
||||
|
||||
" recalc syntax highlighting
|
||||
nnoremap <leader>gs :syntax sync fromstart<CR>
|
||||
|
||||
" lsp bindings
|
||||
|
||||
" coc
|
||||
|
||||
" open coc config
|
||||
nnoremap <leader><space>c :CocConfig<CR>
|
||||
|
||||
" go to definitions
|
||||
nnoremap <leader>d <Plug>(coc-jump-definition)
|
||||
|
||||
" ale
|
||||
|
||||
" go to definitions
|
||||
" nnoremap <leader>gd :ALEGoToDefinition<CR>
|
||||
" nnoremap <leader>gh :ALEGoToDefinitionInSplit<CR>
|
||||
" nnoremap <leader>gv :ALEGoToDefinitionInVSplit<CR>
|
||||
|
||||
|
|
|
@ -108,7 +108,8 @@ Plug 'sheerun/vim-polyglot' " vim plugin loa
|
|||
Plug 'leafo/moonscript-vim', {'for': ['moon', 'moonscript']} " moonscript language
|
||||
Plug 'OmniSharp/omnisharp-vim', {'for': ['cs']} " C# language
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'} " language server completion
|
||||
Plug 'JakeBecker/elixir-ls', {'for': ['elixir'], 'do': { -> g:elixirls.compile() }}
|
||||
Plug 'neoclide/coc-json' " coc config ft
|
||||
Plug 'JakeBecker/elixir-ls', {'for': ['elixir', 'eelixir'], 'do': { -> g:elixirls.compile() }}
|
||||
Plug 'tpope/vim-dadbod' " databasing in vim
|
||||
" Plug 'lytedev/elm-vim' " elm lang
|
||||
Plug 'ssh://git@git.lyte.dev:2222/lytedev/vim-lytlang.git'
|
||||
|
|
|
@ -2,7 +2,6 @@ scriptencoding utf8
|
|||
|
||||
" ALE completeopt recommendation
|
||||
set completeopt=menu,menuone,preview,noselect,noinsert
|
||||
" set completeopt=noinsert,menuone,noselect,longest,preview
|
||||
|
||||
" line number defaults
|
||||
set nonumber
|
||||
|
@ -156,3 +155,13 @@ highlight CursorLineNr ctermbg=18 ctermfg=gray
|
|||
hi IndentGuidesEven ctermbg=18
|
||||
|
||||
hi Normal ctermbg=NONE
|
||||
|
||||
" lsp config
|
||||
|
||||
" ale
|
||||
|
||||
" set completeopt=noinsert,menuone,noselect,longest,preview
|
||||
|
||||
" coc
|
||||
|
||||
|
||||
|
|
|
@ -140,10 +140,14 @@ super + alt + minus
|
|||
super + r
|
||||
bspc node -R 90
|
||||
|
||||
# balance the current node
|
||||
# balance the current node's leaves
|
||||
super + shift + b
|
||||
bspc node -B
|
||||
|
||||
# balance the current node's sibling leaves
|
||||
super + ctrl + b
|
||||
bspc node -f parent && bspc node -B
|
||||
|
||||
# wm-independant shortcuts
|
||||
|
||||
# spawn a transparent node
|
||||
|
@ -252,7 +256,7 @@ super + d
|
|||
xdotool key super+4 && sleep 0.1 && xdotool key shift+4 && xdotool key shift+4 && xdotool key shift+4 && sleep 0.2 && xdotool key super+1 && xdotool key super+3
|
||||
|
||||
super + ctrl + c
|
||||
bspc rule -a '*' -o state=floating && urxvtc --geometry 80x16 -e sh -c "khal calendar && bash"
|
||||
bspc rule -a '*' -o state=floating && urxvtc --geometry 64x9 -e sh -c "cal -n 3 && bash"
|
||||
|
||||
super + shift + v
|
||||
kill -USR1 $(cat "/var/run/user/$UID/polybar-mic-script.pid")
|
||||
|
|
|
@ -21,7 +21,7 @@ pacaur --needed -S \
|
|||
audacity `# Audio Editing Application` \
|
||||
cmake `# Cross-Platform Make` \
|
||||
accountsservice `# Mainly for User Avatars with LightDM` \
|
||||
deluge `# GUI Torrent Client` \
|
||||
deluge cairo python-cairo `# GUI Torrent Client` \
|
||||
lightdm lightdm-gtk-greeter `# Nice User Login` \
|
||||
polybar-git `# Bar` \
|
||||
php `# PHP Language` \
|
||||
|
@ -40,4 +40,5 @@ pacaur --needed -S \
|
|||
gnome-shell `# Guh-nome Guh-shell` \
|
||||
redshift `# Save Your Eyes` \
|
||||
vlc `# Video Viewer` \
|
||||
ncdu `# Disk Usage Analyzer` \
|
||||
--noconfirm --noedit
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
source "$DOTFILES_PATH/de/bar/bar.bash" --just-vars
|
||||
|
||||
LAUNCHER_FONT=$(xrdb -query | sed -ne 's/.*font:\s*xft:\([^:]*\).*$/\1/p' | head -n 1)
|
||||
LAUNCHER_FONT=$(xrdb -query | sed -ne 's/.*font:\s*xft:\([^: ]*\).*$/\1/p' | head -n 1)
|
||||
LAUNCHER_FONT_SIZE=$(xrdb -query | sed -ne 's/.*font:\s*xft:.*=\([0-9]*\).*$/\1/p' | head -n 1)
|
||||
HIGHLIGHT_COLOR=$(xrdb -query | sed -ne 's/.*color4*:\s*\(.*\)$/\1/p' | head -n 1)
|
||||
HIGHLIGHT_FOREGROUND_COLOR=$(xrdb -query | sed -ne 's/.*background:\s*\(.*\)$/\1/p' | head -n 1)
|
||||
|
|
Reference in a new issue