Browse Source

Before installing HDD

crash2
Geoffrey Frogeye 2 years ago
parent
commit
4a8628231c
  1. 50
      Zeal/Zeal.conf
  2. 2
      config/mpd/mpd.conf
  3. 6
      config/scripts/adb_backup_extract
  4. 2
      config/scripts/overpdf
  5. 1
      config/shell/shenv
  6. 97
      config/vim/pluginconfig.vim
  7. 26
      config/vim/pluginlist.vim
  8. 1
      config/vim/vimconfig.vim

50
Zeal/Zeal.conf

@ -0,0 +1,50 @@
[General]
check_for_update=true
hide_on_close=false
minimize_to_systray=false
show_systray_icon=true
start_minimized=false
[content]
custom_css_file=
dark_mode=false
default_fixed_font_size=13
default_font_family=serif
default_font_size=16
disable_ad=false
external_link_policy=@Variant(\0\0\0\x7f\0\0\0)Zeal::Core::Settings::ExternalLinkPolicy\0\0\0\0\0)
fixed_font_family=DejaVu Sans Mono
highlight_on_navigate=true
minimum_font_size=0
sans_serif_font_family=DejaVu Sans
serif_font_family=DejaVu Serif
smooth_scrolling=false
[docsets]
path=/home/geoffrey/.cache/dash_docsets
[global_shortcuts]
show=
[internal]
install_id=a2353684-8909-4ac3-8ad5-b8d8a7e9292a
version=0.6.1
[proxy]
authenticate=false
host=
password=
port=0
type=1
username=
[search]
fuzzy_search_enabled=false
[state]
splitter_geometry=@ByteArray(\0\0\0\xff\0\0\0\x1\0\0\0\x2\0\0\x1\0\0\0\x4\xb0\0\xff\xff\xff\xff\x1\0\0\0\x1\0)
toc_splitter_state=@ByteArray()
window_geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\a\x80\0\0\0\x12\0\0\f\x7f\0\0\x3\xeb\0\0\a\x80\0\0\0\x12\0\0\f\x7f\0\0\x3\xeb\0\0\0\0\0\0\0\0\x5\0\0\0\a\x80\0\0\0\x12\0\0\f\x7f\0\0\x3\xeb)
[tabs]
open_new_tab_after_active=false

2
config/mpd/mpd.conf

@ -10,7 +10,7 @@
# be disabled and audio files will only be accepted over ipc socket (using
# file:// protocol) or streaming files over an accepted protocol.
#
music_directory "~/Musique"
music_directory "~/.MusiqueCompressed"
#
# This setting sets the MPD internal playlist directory. The purpose of this
# directory is storage for playlists created by MPD. The server will use

6
config/scripts/adb_backup_extract

@ -0,0 +1,6 @@
#!/usr/bin/env bash
# Make sur eto install zlib-flate from the qpdf package
# Works on unencrypted only
tail -c +25 "$1" | zlib-flate -uncompress | tar xvf -

2
config/scripts/overpdf

@ -39,7 +39,7 @@ then
echo "Done."
elif [ -f "$orig_path" ]
then
if [ "$(file --mime-type --brief $orig_path)" != "application/pdf" ]
if [ "$(file --mime-type --brief "$orig_path")" != "application/pdf" ]
then
echo "${orig_path}: not a PDF file"
exit 1

1
config/shell/shenv

@ -49,6 +49,7 @@ export BOOT9_PATH="$HOME/.local/share/citra-emu/sysdata/boot9.bin"
direnv CARGOHOME "$HOME/.cache/cargo" # There are config in there that we can version if one want
direnv CCACHE_BASEDIR "$HOME/.cache/ccache"
export CCACHE_CONFIGPATH="$HOME/.config/ccache.conf"
direnv DASHT_DOCSETS_DIR "$HOME/.cache/dash_docsets"
direnv GNUPGHOME "$HOME/.config/gnupg"
direnv GOPATH "$HOME/.cache/go"
direnv GRADLE_USER_HOME "$HOME/.cache/gradle"

97
config/vim/pluginconfig.vim

@ -68,8 +68,8 @@ nmap gs :FzfSnippets<CR>
""" SUPERTAB """
" let g:SuperTabDefaultCompletionType = "<c-n>" " Go down when completing
" let g:SuperTabContextDefaultCompletionType = "<c-n>"
let g:SuperTabDefaultCompletionType = "<c-n>" " Go down when completing
let g:SuperTabContextDefaultCompletionType = "<c-n>"
""" LanguageTool """
@ -82,29 +82,84 @@ let g:pandoc#syntax#conceal#use = 0
""" LanguageClient-neovim """
let g:LanguageClient_serverCommands = {
\ 'python': ['pyls'],
\ 'sh': ['bash-language-server', 'start'],
\ }
let g:LanguageClient_loggingFile = expand('~/.cache/vim/LanguageClient.log')
function LC_maps()
if has_key(g:LanguageClient_serverCommands, &filetype)
nnoremap <buffer> <silent> K :call LanguageClient#textDocument_hover()<cr>
nnoremap <buffer> <silent> gd :call LanguageClient#textDocument_definition()<CR>
nnoremap <buffer> <silent> gd :call LanguageClient#textDocument_references()<CR>
nnoremap <buffer> <silent> <F2> :call LanguageClient#textDocument_rename()<CR>
nnoremap <buffer> <silent> <F3> :call LanguageClient#textDocument_formatting()<CR>
set completefunc=LanguageClient#complete
set omnifunc=LanguageClient#complete
endif
endfunction
autocmd FileType * call LC_maps()
" let g:LanguageClient_serverCommands = {
" \ 'python': ['pyls'],
" \ 'sh': ['bash-language-server', 'start'],
" \ }
" let g:LanguageClient_loggingFile = expand('~/.cache/vim/LanguageClient.log')
"
"
" function LC_maps()
" if has_key(g:LanguageClient_serverCommands, &filetype)
" nnoremap <buffer> <silent> K :call LanguageClient#textDocument_hover()<cr>
" nnoremap <buffer> <silent> gd :call LanguageClient#textDocument_definition()<CR>
" nnoremap <buffer> <silent> gD :call LanguageClient#textDocument_references()<CR>
" nnoremap <buffer> <silent> <F2> :call LanguageClient#textDocument_rename()<CR>
" nnoremap <buffer> <silent> <F3> :call LanguageClient#textDocument_formatting()<CR>
" set completefunc=LanguageClient#complete
" set omnifunc=LanguageClient#complete
" endif
" endfunction
" autocmd FileType * call LC_maps()
""" vim-lsp """
" (providers are automatically detected thanks to vim-lsp-settings.
" You can even install some locally using :LspInstallServer)
nnoremap gd :LspDefinition<CR>
nnoremap gD :LspDeclaration<CR>
nnoremap <F3> :LspDocumentFormat<CR>
vnoremap <F3> :LspDocumentRangeFormat<CR>
nnoremap gE :LspNextDiagnostic<CR>
nnoremap ge :LspNextError<CR>
nnoremap <F2> :LspRename<CR>
let g:lsp_signs_enabled = 1
let g:lsp_diagnostics_echo_cursor = 1
let g:lsp_signs_error = {'text': '✗'}
let g:lsp_signs_warning = {'text': '‼'}
let g:lsp_signs_information = {'text': 'ℹ'}
let g:lsp_signs_hint = {'text': '?'}
let g:lsp_highlight_references_enabled = 1
""" deoplete """
let g:deoplete#enable_at_startup = 1
inoremap <silent><expr> <TAB>
\ pumvisible() ? "\<C-n>" :
\ <SID>check_back_space() ? "\<TAB>" :
\ deoplete#manual_complete()
function! s:check_back_space() abort "{{{
let col = col('.') - 1
return !col || getline('.')[col - 1] =~ '\s'
endfunction"}}}
" suggested by ssemshi to make it not too slow
" let g:deoplete#auto_complete_delay = 100
call deoplete#custom#option({
\ 'auto_complete_delay': 100,
\ 'smart_case': v:true,
\ })
""" asyncomplete """
" let g:asyncomplete_auto_popup = 1
" inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"
" inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"
" inoremap <expr> <cr> pumvisible() ? "\<C-y>" : "\<cr>"
" imap <c-space> <Plug>(asyncomplete_force_refresh)
""" asyncomplete-file
" au User asyncomplete_setup call asyncomplete#register_source(asyncomplete#sources#file#get_source_options({
" \ 'name': 'file',
" \ 'whitelist': ['*'],
" \ 'priority': 10,
" \ 'completor': function('asyncomplete#sources#file#completor')
" \ }))
""" vista.vim """

26
config/vim/pluginlist.vim

@ -44,10 +44,8 @@ Plug 'deris/vim-shot-f'
" Auto-highlight one character per word for quick f/F movement
Plug 'unblevable/quick-scope'
"
" Plug 'maralla/completor.vim'
"
" Auto-completion
if has('nvim')
Plug 'Shougo/deoplete.nvim', { 'do': ':UpdateRemotePlugins' }
else
@ -55,7 +53,9 @@ else
Plug 'roxma/nvim-yarp'
Plug 'roxma/vim-hug-neovim-rpc'
endif
" Plug 'zchee/deoplete-jedi'
" Plug 'prabirshrestha/asyncomplete.vim'
" Plug 'prabirshrestha/asyncomplete-file.vim'
" Plug 'python-mode/python-mode', { 'branch': 'develop' }
Plug 'junegunn/fzf', {'do': './install --bin'}
@ -67,11 +67,16 @@ Plug 'vim-pandoc/vim-pandoc'
Plug 'vim-pandoc/vim-pandoc-syntax'
Plug 'idanarye/vim-vebugger'
" Language Server Procotol client
Plug 'autozimu/LanguageClient-neovim', {
\ 'branch': 'next',
\ 'do': 'bash install.sh',
\ }
" " Language Server Procotol client
" Plug 'autozimu/LanguageClient-neovim', {
" \ 'branch': 'next',
" \ 'do': 'bash install.sh',
" \ }
Plug 'prabirshrestha/async.vim'
Plug 'prabirshrestha/vim-lsp'
Plug 'mattn/vim-lsp-settings'
" Automatically closes brackets, quotes and parentheses
@ -86,5 +91,8 @@ Plug 'autozimu/LanguageClient-neovim', {
" Tag bar
Plug 'liuchengxu/vista.vim'
" Semantic highlighting for Python
Plug 'numirias/semshi', {'do': ':UpdateRemotePlugins'}
call plug#end()

1
config/vim/vimconfig.vim

@ -61,6 +61,7 @@ filetype plugin on
filetype indent on
set wildmode=longest,list
set wildmenu
set showcmd
" Put plugins and dictionaries in this dir (also on Windows)

Loading…
Cancel
Save