add godot stuff to vim config, fix polybar config
This commit is contained in:
parent
603f66963c
commit
706fe9b17f
6 changed files with 23 additions and 5 deletions
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
|
6
vim/after/ftplugin/gdscript.vim
Normal file
6
vim/after/ftplugin/gdscript.vim
Normal 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>
|
||||
|
|
@ -18,6 +18,11 @@
|
|||
"directory": "/tmp/ccls"
|
||||
}
|
||||
}
|
||||
},
|
||||
"godot": {
|
||||
"host": "127.0.0.1",
|
||||
"filetypes": ["gdscript"],
|
||||
"port": 6008
|
||||
}
|
||||
},
|
||||
"tsserver.log": "off"
|
||||
|
|
|
@ -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
|
||||
|
|
2
xinitrc
2
xinitrc
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue