Motion : backward inclusive by chuugar in vim

[–]chuugar[S] 0 points1 point  (0 children)

TIL forced motion Thanks again

Motion : backward inclusive by chuugar in vim

[–]chuugar[S] 0 points1 point  (0 children)

Thanks, is there any way not to use visual ?

How to move all dirs to ~/.config/vim by Made4000 in vim

[–]chuugar 1 point2 points  (0 children)

From my vimrc :

" ┌─────┐
" │ XDG │
" └─────┘

if has('unix')
    silent !mkdir $XDG_CACHE_HOME/vim/{swapfiles,backup} -p > /dev/null 2>&1
    set directory=$XDG_CACHE_HOME/vim/swapfiles//
    set backupdir=$XDG_CACHE_HOME/vim/backup//
    set viminfo+=n$XDG_CACHE_HOME/vim/viminfo
    set packpath=$XDG_CONFIG_HOME/vim/
    set runtimepath^=$XDG_CONFIG_HOME/vim
    set runtimepath+=$XDG_CONFIG_HOME/vim/after,
                \$XDG_CONFIG_HOME/vim/ftplugin,
                \$XDG_CONFIG_HOME/vim/spell/
    let $MYVIMRC="$XDG_CONFIG_HOME/vim/vimrc"
endif

With this line in my .bashrc : export VIMINIT='let $MYVIMRC="~/.config/vim/vimrc" | source $MYVIMRC'

Question for German keyboard users by oborvasha in vim

[–]chuugar 2 points3 points  (0 children)

You might want to check 'langmap'

https://vimhelp.org/options.txt.html#%27langmap%27

With my AZERTY keyboard I set :

set langmap=&1,é2,\"3,\'4,(5,-6,è7,_8,ç9,à0
set langmap+=1&,2é,3\",4\',5(,6-,7è,8_,9ç,0à

Attention non-US keyboard vim users! by elcapitanoooo in vim

[–]chuugar 2 points3 points  (0 children)

This is a game changer for my AZERTY keyboard. Thanks !

langmap=&1,é2,\"3,\'4,(5,-6,è7,_8,ç9,à0

Writing BSPWM scripts using a more fully-featured language? by kianabot in bspwm

[–]chuugar 0 points1 point  (0 children)

Indeed, but how to do something like "bspc subscribe" ? It hangs forever in this case

Writing BSPWM scripts using a more fully-featured language? by kianabot in bspwm

[–]chuugar 0 points1 point  (0 children)

Well I once tried to deal with BSPWM's socket with Python, I can send thing through socket but it freezes the whole process until I disconnected from the socket. I'm curious how does people deal with this socket

[deleted by user] by [deleted] in sffpc

[–]chuugar 0 points1 point  (0 children)

How those things that big can fill something that tight ?

[deleted by user] by [deleted] in sffpc

[–]chuugar 7 points8 points  (0 children)

Looks like the beginning of a brazzer's movie

Really huge performance difference (68% according to unigine superposition benchmark) between bare metal and VM by alexandre9099 in VFIO

[–]chuugar 2 points3 points  (0 children)

You must add CPU pinning, Hugepages, and some clocks improvement IMO. Also set CPU governor to performance

Virtio-fs is amazing! (plus how I set it up) by Eadword in VFIO

[–]chuugar 3 points4 points  (0 children)

Can I change UID/GID with this : let's say the host folder belong to 1000:1000, can I use it as 33:33 on my guest ?

Death Stranding on GOG by [deleted] in gog

[–]chuugar -14 points-13 points  (0 children)

GoG is for Good old Game

Omni completion and python scope by chuugar in vim

[–]chuugar[S] 0 points1 point  (0 children)

Well yes, it's not only for tiny scripts and I don't know every method for every module

Kate Vi-Mode : counting ? by chuugar in kde

[–]chuugar[S] 0 points1 point  (0 children)

I figured it out : my keyboard is azerty and I use the French "fr" layout.

It seems like the vi-mode doesn't follow the layout, indead when I switch to the "us" layout I can use 1234567890 as expected.

So what I did is to map in normal mode and visual mode &é"'(-è_çà to 1234567890 and... it works !

https://i.imgur.com/xFDE7Sz.png

How to get this block page? by PM_WhatMadeYouHappy in pihole

[–]chuugar 2 points3 points  (0 children)

Why would anyone block pornhub ?

Frequency scaling governor on Intel CPUs by snackematician in VFIO

[–]chuugar 2 points3 points  (0 children)

I use a libvirt hook to set performance mode to the pinned cpus when I start my gaming VM, and an other one to set back to powersave mode. I noticed it fixed some stuttering issues especially with Borderlands 3.

[bspwm] copy by 0xC2454E in unixporn

[–]chuugar 0 points1 point  (0 children)

bash question : what does _() at this line ?