aboutsummaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/coc/extensions/package.json7
-rwxr-xr-x.config/i3/autostart##template7
-rw-r--r--.config/mozc/user_dictionary.dbbin293 -> 315 bytes
-rw-r--r--.config/mpv/mpv.conf4
-rw-r--r--.config/nvim/coc-settings.json3
-rw-r--r--.config/nvim/init.vim21
6 files changed, 33 insertions, 9 deletions
diff --git a/.config/coc/extensions/package.json b/.config/coc/extensions/package.json
index 34f6010..ad9dfbf 100644
--- a/.config/coc/extensions/package.json
+++ b/.config/coc/extensions/package.json
@@ -4,7 +4,7 @@
"coc-emmet": ">=1.1.6",
"coc-go": ">=1.3.0",
"coc-html": ">=1.6.1",
- "coc-java": ">=1.5.5",
+ "coc-java": ">=1.15.2",
"coc-json": ">=1.6.1",
"coc-neosnippet": ">=1.2.2",
"coc-python": ">=1.2.12",
@@ -12,9 +12,10 @@
"coc-tsserver": ">=1.5.8",
"coc-vimtex": ">=1.1.5",
"coc-lua": ">=2.0.5",
- "coc-deno": ">=3.12.0"
+ "coc-deno": ">=3.12.0",
+ "coc-sh": ">=1.2.2"
},
"disabled": [],
"locked": [],
- "lastUpdate": 1687433956734
+ "lastUpdate": 1707505805890
} \ No newline at end of file
diff --git a/.config/i3/autostart##template b/.config/i3/autostart##template
index c7ef3b6..02135f6 100755
--- a/.config/i3/autostart##template
+++ b/.config/i3/autostart##template
@@ -4,7 +4,7 @@
cat "$XDG_CONFIG_HOME/X11/$(cat "$XDG_DATA_HOME/mode/active")" | xrdb -override &
polybar &
rwall &
-picom -b
+compfy -b
xbanish &
dunst &
autocutsel &
@@ -15,7 +15,8 @@ xdimmer -t 45 -p 3 &
light-locker --no-late-locking &
{% else %}
redshift -l 52:6 &
-nicotine &
+nicotine --hidden &
+desktop2mqtt --config "$XDG_CONFIG_HOME/desktop2mqtt/config.yml" &
{% endif %}
flashfocus &
@@ -26,5 +27,5 @@ flashfocus &
} &
# auto start lazy script after everything else
-[ -f "$HOME/do.sh" ] && . "$HOME/do.sh"
+[ -x "$HOME/do.sh" ] && "$HOME/do.sh"
diff --git a/.config/mozc/user_dictionary.db b/.config/mozc/user_dictionary.db
index 0f5a0f0..644c695 100644
--- a/.config/mozc/user_dictionary.db
+++ b/.config/mozc/user_dictionary.db
Binary files differ
diff --git a/.config/mpv/mpv.conf b/.config/mpv/mpv.conf
index 50d629c..a2bbaba 100644
--- a/.config/mpv/mpv.conf
+++ b/.config/mpv/mpv.conf
@@ -3,3 +3,7 @@ fs=yes
# Display English subtitles if available.
slang=en
+
+# Override ASS subtitles with same format as SRT
+sub-ass-override=force
+
diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json
index b11ef71..e1cb2f0 100644
--- a/.config/nvim/coc-settings.json
+++ b/.config/nvim/coc-settings.json
@@ -34,5 +34,6 @@
"command": "vhdl_ls",
"filetypes": ["vhdl"]
}
- }
+ },
+ "java.import.gradle.java.home": "/usr/lib/jvm/java-17-openjdk"
}
diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim
index 153652f..77cc2c0 100644
--- a/.config/nvim/init.vim
+++ b/.config/nvim/init.vim
@@ -14,7 +14,7 @@ set smartcase
set timeoutlen=500
set updatetime=100
set mouse=a
-set cino=N-s,E-s,l1,g-1
+set cino=N-s,E-s,l1,g-1,j1
set linebreak " set wrap but don't wrap inside words
set viminfo+='1000,n~/.local/nvim/viminfo
set guifont=JetBrainsMono\ Nerd\ Font:h9:#e-subpixelantialias:#h-slight
@@ -25,6 +25,7 @@ let g:airline_powerline_fonts = 1
let g:minimap_highlight='Visual'
let g:python3_host_prog='/usr/bin/python3'
let g:vimtex_quickfix_open_on_warning = 0
+let g:vimtex_imaps_enabled = 0
hi! link CocFloating SneakScope
if exists("g:neovide")
@@ -92,7 +93,8 @@ Plug 'tikhomirov/vim-glsl'
Plug 'vim-scripts/syntaxm4.vim'
Plug 'elkowar/yuck.vim'
Plug 'eraserhd/parinfer-rust', {'do': 'cargo build --release'}
-Plug 'sile-typesetter/vim-sile'
+Plug 'kaarmu/typst.vim'
+Plug 'aklt/plantuml-syntax'
" 'vim=ide'
Plug 'neoclide/coc.nvim', {'branch': 'release'}
@@ -241,6 +243,17 @@ else
colorscheme ghdark
endif
+" change default vim-sneak colors to be more readable
+hi! SneakLabel gui=reverse
+hi! SneakLabelMask gui=reverse
+
+" fix terminal color
+hi! link TermCursor Cursor
+hi! link TermCursorNC Cursor
+
+" fix which key color
+hi! link WhichKeyFloating NormalFloat
+
source $HOME/.config/nvim/lightline.vim
let g:lightline = {
\ 'colorscheme': 'auto',
@@ -321,6 +334,10 @@ let g:vimtex_compiler_latexmk = {
" TeX quotes
autocmd FileType tex let b:surround_{char2nr("q")} = "`\r'"
autocmd FileType tex let b:surround_{char2nr('Q')} = "``\r''"
+autocmd FileType tex let b:AutoPairs = AutoPairsDefine({'(':')', '[':']', '{':'}', "``":"''", "`":"'", '$':'$', '"':'"'})
+
+" AutoPairs for plantuml
+autocmd FileType plantuml let b:AutoPairs = {'(':')', '[':']', '{':'}', '`':'`'}
" coc.vim <tab> completion and <cr> stuff
function! CheckBackspace() abort