add godot stuff to vim config, fix polybar config

This commit is contained in:
Mark Riedesel 2020-12-22 15:20:12 -05:00
parent 603f66963c
commit 706fe9b17f
6 changed files with 23 additions and 5 deletions

View file

@ -52,7 +52,7 @@
modules-right = wired-network filesystem memory date pulseaudio
tray-position = right
tray-background: ${bar.background}
tray-background = ${bar.background}
tray-maxsize = 24444
[bar/secondary]

View file

@ -25,3 +25,7 @@ if (( $+commands[ccache] )); then
fi
export VIRSH_DEFAULT_CONNECT_URI="qemu:///system"
#/// Android SDK
export ANDROID_NDK_ROOT=/opt/android-ndk
export ANDROID_HOME=/opt/android-sdk

View file

@ -0,0 +1,6 @@
setlocal tabstop=4
nnoremap <buffer> <F4> :GodotRunLast<CR>
nnoremap <buffer> <F5> :GodotRun<CR>
nnoremap <buffer> <F6> :GodotRunCurrent<CR>
nnoremap <buffer> <F7> :GodotRunFZF<CR>

View file

@ -18,6 +18,11 @@
"directory": "/tmp/ccls"
}
}
},
"godot": {
"host": "127.0.0.1",
"filetypes": ["gdscript"],
"port": 6008
}
},
"tsserver.log": "off"

View file

@ -107,7 +107,8 @@ Plug 'airblade/vim-gitgutter'
Plug 'easymotion/vim-easymotion', "{{{
map <leader><leader> <plug>(easymotion-prefix)
"}}}
Plug 'sheerun/vim-polyglot'
Plug 'habamax/vim-godot'
"Plug 'sheerun/vim-polyglot'
Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}, "{{{
" let g:coc_global_extensions = [
" \ 'coc-css',
@ -122,7 +123,7 @@ Plug 'neoclide/coc.nvim', {'do': 'yarn install --frozen-lockfile'}, "{{{
" \ 'coc-yaml',
" \ ]
set signcolumn=yes
set updatetime=300
set updatetime=750
set shortmess+=c
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
@ -141,6 +142,9 @@ nmap <silent> gy <Plug>(coc-type-definition)
nmap <silent> gi <Plug>(coc-implementation)
nmap <silent> gr <Plug>(coc-references)
nmap <silent> ]p :<C-u>CocPrev<CR>
nmap <silent> [p :<C-u>CocNext<CR>
nmap <leader>f <Plug>(coc-fix-current)
" Use <c-space> to trigger completion.
@ -245,6 +249,7 @@ endtry
" Display mispellings as italicised
hi clear SpellBad
hi SpellBad gui=underline cterm=italic
hi Pmenu ctermbg=16
" List items are always weird distracting colors
hi SpecialKey ctermfg=238

View file

@ -14,8 +14,6 @@ fi
eval $(systemctl --user show-environment | grep SSH_AUTH_SOCK)
export SSH_AUTH_SOCK
setxkbmap -option caps:swapescape &
# Per-host init
filepath=$(dirname $(readlink -f $0))
for f in "all" "$(hostname)"; do