Updated FZF stuff, some other minor tweaks

This commit is contained in:
Marko Korhonen 2020-09-18 23:28:06 +03:00
parent a62da4a224
commit 9def02fa36
5 changed files with 13 additions and 8 deletions

View file

@ -9,6 +9,7 @@
"diagnostic.warningSign": "•",
"diagnostic.infoSign": "•",
"suggest.snippetIndicator": "~",
"rust-analyzer.serverPath": "/usr/bin/rust-analyzer",
"languageserver": {
"bash": {
"command": "bash-language-server",

View file

@ -2,6 +2,9 @@
let g:python3_host_prog='/usr/bin/python3'
let pyxversion=3
" LaTex fallback flavor
let g:tex_flavor = 'latex'
" Use suda by default
let g:suda_smart_edit = 1

View file

@ -36,14 +36,6 @@ endfunction
nmap <C-f> :Files<CR>
nmap <C-g> :Rg<CR>
" Files command customization
command! -bang -nargs=* Rg
\ call fzf#vim#files(
\ 'rg --files --hidden 2>/dev/null'.shellescape(<q-args>), 1,
\ <bang>0 ? fzf#vim#with_preview('up:60%')
\ : fzf#vim#with_preview('right:50%:hidden', '?'),
\ <bang>0)
" Ripgrep command customization
command! -bang -nargs=* Rg
\ call fzf#vim#grep(

View file

@ -218,3 +218,7 @@ bindsym Alt+h exec ydotool key left
bindsym Alt+j exec ydotool key down
bindsym Alt+k exec ydotool key up
bindsym Alt+l exec ydotool key right
# Mumble push to talk
bindsym --no-repeat F12 exec gdbus call -e -d net.sourceforge.mumble.mumble -o / -m net.sourceforge.mumble.Mumble.startTalk
bindsym --release F12 exec gdbus call -e -d net.sourceforge.mumble.mumble -o / -m net.sourceforge.mumble.Mumble.stopTalk

View file

@ -10,3 +10,8 @@
.zplugin/
.config/nvim/plugged/
.local/share/Trash/
.bin/
.AndroidStudio*/
.android/
.audacity-data/
.zcompdump*